Did you know that you can set masks on screenshot verification points?
With the masks functionality provided in Squish it is possible to apply positive and negative masks on screenshot verification points to ignore or focus on specific areas of an image comparison which allows us to make screenshot verifications more reliable and robust.
How to use masks on screenshot verification points in 3 steps
The screenshot verification point editor allows us to insert, modify and remove positive and negative masks.
1. In the IDE view „Test Suites“ under „Test Case Resources“ click on the tab „VPs“ and double-click at a previously made screenshot verification point.
2. In the opened tab click on the most right toolbar icon which looks like a display. (Mouseover: Edit Verification Point)
3. In the next dialog window click on the second icon from the top on the right (Mouseover: Add Positive Mask) then click and drag the mouse over the area of the screenshot that you want to have verified. Click on „Save“ and you are all set.