setMatchLevel method

Class: EyesPlatform: ImagesLanguage: Java SDK:

Use this method to set the default match level to be used for subsequent checkpoints in the test.

Syntax


IConfigurationSetter value = eyes.setMatchLevel(matchLevel);

Parameters

matchLevel
Type:<a class ='link' href='/Content/api/eyes-sdk/enums-gen/enum-global-matchlevel-images-java.htm'>MatchLevel</a>
Available match level values are:
  • NONE
  • STRICT
  • LAYOUT
  • CONTENT
  • EXACT
For a description of these match levels and the different ways to apply them to tests, checkpoints, and regions, see Eyes match levels.

Return value

Type: IConfigurationSetter

Remarks

For a full description of the affect of each match levels and the different ways to apply them to tests, checkpoints and regions, How to use Eyes match levels.