hi
i want to compare images over different android devices.
lets say:
device 1 + device 2 = same screen resolution
device 3 = higher screen resolution
when i shot the screenshot with device 1,
and run the test on device 2 i get always failure.
when i run device 3 i get also a failure which could be ok, due to the different screen resolution.
my question is, if there it is a way to run the tests on different devices?
how to do proper screenshots and how to proper comparing images?
B'R'
comparing images
Re: comparing images
Hi,
Are you comparing entire screen or just particular elements? Have you tried to reduce the similarity threshold value (General Settings >> Imaging tab)?
Also, have you tried to take screenshots manually and compare them in an image editor? Are you there are no differences?
You can also enable Ranorex to show differences in report. See this blog post:
http://www.ranorex.com/blog/enhanced-fe ... alidation/
Are you comparing entire screen or just particular elements? Have you tried to reduce the similarity threshold value (General Settings >> Imaging tab)?
Also, have you tried to take screenshots manually and compare them in an image editor? Are you there are no differences?
You can also enable Ranorex to show differences in report. See this blog post:
http://www.ranorex.com/blog/enhanced-fe ... alidation/
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: comparing images
I try every possibility that is given.
compareimage, containimage, setting different similarities.
cropping screenshots.
compareimage, containimage, setting different similarities.
cropping screenshots.
Re: comparing images
Hi,
Could you please post "exact" error message you are getting? Also, have you tried the enhanced image validation techniques from the suggested link? This way you can find what exactly is different in your images.
BTW, what version of Ranorex do you use?
Could you please post "exact" error message you are getting? Also, have you tried the enhanced image validation techniques from the suggested link? This way you can find what exactly is different in your images.
BTW, what version of Ranorex do you use?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration