Skip to main content

StepInfo class

When a test terminates, the close method returns an object with methods/properties defined by the TestResults class. Within the TestResults, there is an array of objects which have the properties defined by the class StepInfo. Each element of this array describes information for one step in the test.The properties in this class are used to retrieve information for a given step in the test results.

You can access the array of objects with the step information using the steps_info property.

api_urls property

Syntax

value = stepinfo.api_urls

Type: ApiUrls

See ApiUrls for a detailed description of this object.

app_urls property

Syntax

value = stepinfo.app_urls

Type: AppUrls

See AppUrls for a detailed description of this object.

has_baseline_image property

Syntax

value = stepinfo.has_baseline_image

Type: bool

has_checkpoint_image property

Syntax

value = stepinfo.has_checkpoint_image

Type: bool

is_different property

Syntax

value = stepinfo.is_different

Type: bool

Returns True if a corresponding baseline image exists and the checkpoint image does not match that baseline image, Returns False if the checkpoint image matched the baseline image or if its a new checkpoint image (there is no baseline image yet).

name property

Syntax

value = stepinfo.name

Type: Text