Image Comparision failure

Ask general questions here.
Posts: 4
Joined: Fri Jun 22, 2012 11:25 am

Image Comparision failure

Post by sac.sharma » Fri Jun 22, 2012 11:43 am

While doing the image comparision for some chart image on Google Chrome browser, the Web page is getting scrolled down automatically.
The below path holds the screenshot

Validate.CompareImage() step makes the web page scroll down and results in image comparision fails.

Please guide me if some one has faced this issue before.


User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Image Comparision failure

Post by Support Team » Mon Jun 25, 2012 12:53 pm

Hello Sachin,

The problem that Ranorex cannot find the image could be that the similarity factor is set too high. Please try to set the similarity factor to a lower value.
There is a similar post named Testing Bar Charts and Pie Charts where you can find a code how to set the similarity.

Ranorex Support Team