Forum Discussion
AlexeyKolosov
13 years agoStaff
Hi Johnny,
There are slight differences between the two images - possibly caused by gradients or smoothing. Setting the PixelTolerance and the ColorTolerance parameters of the Region checkpoint to 4 will make TestComplete treat them as equal:
In the future, I recommend that you follow the suggestion provided in the Why Image Comparison Fails help topic if you face such problems again.
There are slight differences between the two images - possibly caused by gradients or smoothing. Setting the PixelTolerance and the ColorTolerance parameters of the Region checkpoint to 4 will make TestComplete treat them as equal:
var img2 = Utils.Picture;
img2.LoadFromFile("d:\\DELETE ME\\A\\AA.bmp");
Regions.A_bmp.Check(img2, false, false, 4, 4);
In the future, I recommend that you follow the suggestion provided in the Why Image Comparison Fails help topic if you face such problems again.
Related Content
- 4 years agolbbodis
- 9 years agojorgesimoes1983
- 6 years agokaivi
Recent Discussions
- 2 days agoMW_Didata