The information in this topic may be out of date. The current SDK reference guide has moved here.
set_match_level method
Use this method to set the default match level to be used for subsequent checkpoints in the test.
Syntax
configval = config.set_match_level(match_level)
config.match_level = configval
configval = config.match_level
Note that this feature is available as both a method and a property.
Parameters
- match_level
- Type:MatchLevel
- Available match level values are: 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: Self
-
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXX
methods of the Configuration class.
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.