Ask a Question

Region Checkpoint - Allow Directional Shift while Requiring pixel matching

SOLVED
mbcollins2
New Contributor

Region Checkpoint - Allow Directional Shift while Requiring pixel matching

This might be a feature request, or maybe someone can point me to the feature I'm looking for.

While web testing with TestComplete, I run into situations where my region checkpoints come back with 1% - 6% pixel differences.

This problem occurs frequently with modal panel sliders and modal pop up boxes.
Now, when I look the Actual and Expected images, they are EXACTLY the same, except for a very slight horizontal and/or vertical shift.

I know there is a way to update the region checkpoint images. However, for modal panels and windows, I find myself having to update these region checkpoints over and over.

It seems to me that the pixel difference is reporting on the exact number of pixel differences--which could be extra or missing letters.

I'm looking for a feature that is able to detect SHIFT--vertical and/or horizontal.
Some way to say that the pixels must match up exactly, but a specified amount of directional shift is acceptable.

Is there such a feature?
This seems like something TestComplete could do with their AI capabilities.

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: Region Checkpoint - Allow Directional Shift while Requiring pixel matching

You may find these links helpful

https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/regions/factors-affecting-image-comparison.html

https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/regions/why-image-compariso...

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

1 REPLY 1
Marsha_R
Community Hero

Re: Region Checkpoint - Allow Directional Shift while Requiring pixel matching

You may find these links helpful

https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/regions/factors-affecting-image-comparison.html

https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/regions/why-image-compariso...

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: