The information in this topic may be out of date. The current SDK reference guide has moved here.

IsDifferent property

Class: StepInfoPlatform: AppiumLanguage: C# SDK:

The value of this property is true if the checkpoint does not match the baseline image.


bool value = stepinfo.IsDifferent;


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).