Applitools Eyes provides you the option to set different match levels within the test setup. The different match levels refers to different comparison methods between the current screenshot and its baseline. For further info regarding Applitools different match levels click here>>>
The Match regions feature provides you the ability to define a specific region in an image in which you can set a different match level from the global one. This feature comes in handy when having to validate several different content types on the same image.
For example, let's take a look this Amazon page. This page is static but contains a changing ad.

To run a visual test on this page with a certain (which is not layout) match level, and overlook the ad changes, you have two options:
a. Use "Ignore region" If you'd like to Ignore this region completely
b. Set the ad region match level to LAYOUT, and the global match level of the page to STRICT. or .CONTENT In that case, the test would not ignore the region completely, but will compare the type of element in that region to its parallel in the baseline.
To do so, you should follow a few easy steps:
Important: you can set a different match level for a specific region only when the global match level is not LAYOUT.
The Match regions feature provides you the ability to define a specific region in an image in which you can set a different match level from the global one. This feature comes in handy when having to validate several different content types on the same image.
For example, let's take a look this Amazon page. This page is static but contains a changing ad.

To run a visual test on this page with a certain (which is not layout) match level, and overlook the ad changes, you have two options:
a. Use "Ignore region" If you'd like to Ignore this region completely
b. Set the ad region match level to LAYOUT, and the global match level of the page to STRICT. or .CONTENT In that case, the test would not ignore the region completely, but will compare the type of element in that region to its parallel in the baseline.
To do so, you should follow a few easy steps:
- Set the global match level to the desired one. In this case, it would be STRICT (for further info about setting the global match level click here>>>).
- Click on "Layout region", you can find it on the upper toolbar as can be seen in the following image:

- Define the relevant region to which you want to set a different match level.

- Optionally, set the match level of this region as you wish.

Important: you can set a different match level for a specific region only when the global match level is not LAYOUT.
Comments
0 comments
Article is closed for comments.