Page 1 of 1

Image Comparision failure

Posted: Fri Jun 22, 2012 11:43 am
by sac.sharma
Hi,
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
div[@id='h_RadSplitter3']/div/table/tbody/tr/td[@id='h_RadPane2']/div/table/tbody/tr[1]/td[1]/div[@id='h_ChartGroup_MainPanel']/table[@id='h_ChartGroup_GT0'].

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.

Thanks,
Sachin

Re: Image Comparision failure

Posted: Mon Jun 25, 2012 12:53 pm
by Support Team
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.

Regards
Bernhard
Ranorex Support Team