Page 1 of 1

Image Validation VS Different PCs

Posted: Tue Jun 29, 2010 11:05 am
by Liam
Hi,

I made some charts in MS Excel, and I would like to check if they were plotted correctly.

I tried Ranorex Spy, but it could not detect the "chart" as an element.

My second thought was to use the Image Validation Mode. This worked, at least on the same PC. But when I migrated the test to another PC, some of the validations failed.

I compared the screenshots from the 2 different PCs, and found that sometimes the difference was just displaying or not displaying "one single pixel" here and there.

The display settings on the 2 PCs are the same (resolution, color scheme, etc). I don't know what to blame for such a difference. the AUT? the video card? the driver? the displayer? or all of them? :? I really appreciate if some expert can give me some hint here...

I know I can set a tolerance to ignore this difference. But if don't, the only way seems to be migrating the test to another "completely identical" PC?

Thanks,
Liam

Re: Image Validation VS Different PCs

Posted: Wed Jun 30, 2010 12:16 pm
by Support Team
Hi,

If it's exact the same picture, there should be no problem to validate on different computers. Could it be that your control generate different pictures (only a few pixels)? One possible solution would be to check only a part of your image and not the whole image, if you don't need the whole. Or you use the tolerance from Ranorex.

Regards,
Peter
Ranorex Support Team