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

getIsDifferent method

Class: StepInfoPlatform: Selenium 3Language: Java SDK:

The value returned by this method is true if the checkpoint does not match the baseline image.


boolean value = stepinfo.getIsDifferent();


This method does not take any parameters.

Return value

Type: boolean
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).