The information in this topic may be out of date. The current SDK reference guide has moved here.
IgnoreDisplacements method
Sets whether Test Manager should intially display mismatches for image features that have only been displaced, as opposed to real mismatches.
The Eyes server can distinguish between mismatches that are caused by content that has moved on the page as opposed to content that is new, missing, or has changed. In the Test Manager, the user can choose to hide differences that arise due to displaced content. Use this method to set whether the Test Manager should display differences that Eyes identified as displaced features when first displaying a step, or if Test Manager should hide these differences You can change this behavior from within the Test Manager. Note that this setting only governs what is displayed. Eyes still considers a feature that has moved to be a mismatch that needs to be resolved by the user. For more details see Hide displacement diffs tool.
Syntax
eyes.Check(Target.Window().IgnoreDisplacements(ignoreDisplacements))
eyes.Check(Target.Window().IgnoreDisplacements())
Parameters
- ignoreDisplacements
- Type:bool [Optional : default = true ]
- If a value of true is passed, then mismatches due to displaced content will not be displayed in the Test Manager. Otherwise, they will be displayed.
Return value
- Type: ICheckSettings