ImageExpectationEntity

class ImageExpectationEntity

This type semantically clusters two images belonging to the same image expectation. This type is used for example when reporting the expected and resulting image of an read-image test step.

Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

ImageExpectationEntity

GetActualImage()

Returns the actual image (the resulting image)

Returns:

the actual image

Return type:

ReportImage

GetExpectedImage()

Returns the expected image

Returns:

the expected image

Return type:

ReportImage

GetType()

Returns the type name of the entity.

Returns:

“ImageExpectation”

Return type:

str