Platform: AppiumLanguage: Java SDK:
The methods in this class are used as part of the check Fluent API to configure and execute checkpoints.
To use these methods, first create a target object using a method from the Target class, then call one or more of the methods in this class on the returned object, chaining them one after the other using the '.' operator.
- Use to define an accessibility region and its type.
- If called without parameters, sets the match level for this target to . Otherwise, defines that a match level of CONTENT should be used for the regions passed as a parameters.
- Use this to exclude the footer from the captured checkpoint image.
- Sets the match level for this target to EXACT.
- Add one more floating region to this target.
- Defines if the screenshot for this target should be extended to contain the entire element or region being checked, even if it extends the borders of the viewport.
- Add one or more ignore regions to this target (i.e. areas whose content matches anything).
- Use this method to tell Eyes that for this target it should detect mismatch artifacts caused by a blinking cursor and not report them as mismatches.
- Sets whether Test Manager should intially display mismatches for image features that have only been displaced, as opposed to real mismatches.
- If called without parameters, sets the match level for this target to LAYOUT. Otherwise, defines that a match level of LAYOUT should be used for the regions passed as parameters.
- Use this method to set the default match level (the type of matching) to use for this target when matching the captured image to the baseline image.
- Normally, Eyes will select the most appropriate element to scroll to execute the fully method. This method is available to allow the user to specify the element to scroll explicitly.
- Use this method to inform Eyes that the status bar is visible so that Eyes can exclude it from the checkpoint. Required for ioS 13.x.
- If called without parameters, sets the match level for this target to STRICT. Otherwise, defines that a match level of STRICT should be used for the regions passed as a parameters.
- Defines the timeout to use when acquiring and comparing screenshots for this target.
- Assigns a name to the checkpoint.