sameerjade
7 years agoFrequent Contributor
Image comparison, color tolerance
Hello All,
I am doing some image comparisons of some windows where some text is selected and highlighted in blue. I am using the TestComplete image comparison checkpoint. The actual image does not seem to be consistent as the highlighted blue color sometimes comes as slightly darker and sometimes slightly lighter and therefore my test fails. I increased the color tolerance from initial zero to 17, 25 but it still sometimes fails. I don't want to just increase the tolerance value to a high value to make it pass. Is there a better way to do this such that it is not affected by the change in color brightness. In this case of image comparison, I only care about the accuracy of the text in the window (buttons, text boxes etc).
Thank you!
Sameer