isDifferent property

Class: StepInfoPlatform: XCUILanguage: Objective-C SDK:

Use this method to check if the checkpoint did not match a baseline image.

Syntax

Call syntax


BOOL value = stepinfo.isDifferent

Declaration

 (assign, readonly, nonatomic) BOOL isDifferent

Type:BOOL

Returns true if the checkpoint image did not match the corresponding baseline image, or if this step was new (there was no baseline image), or if there was a baseline step with no corresponding checkpoint image. Returns false if the checkpoint image matched the baseline image.