Page 1 of 1

CompareImage / Ranorex window instead of application window

Posted: Mon Sep 10, 2012 3:37 pm
by Florent
I have to realize a CompareImage on an element that clearly appears in the Ranorex repository as you can see on the screenshot below.
screenshot_1.jpg
On the report, i encounter again and again the problem described below :
screenshot_2.jpg
Thank you in advance for your help.

Kind regards,
Florent

Re: CompareImage / Ranorex window instead of application window

Posted: Tue Sep 11, 2012 10:48 am
by Support Team
Hi Florent,

Since the expected image as well as your searched image are shown in report, Ranorex is able to find your application window. What happens is that your validation fails. This is what the first line of your report (the one with the screenshot of Ranorex window) tells you.
Have you tried to reduce the similarity threshold (Global Settings - Imaging) from 1 to e.g. 0.8?
For further information about image based automation have a look at Image Based Automation

Hope this may help you,
Larissa
Ranorex Support Team

Re: CompareImage / Ranorex window instead of application window

Posted: Tue Sep 11, 2012 1:36 pm
by Florent
it' work with a similarity degree of 0.8 . But it's strange because a few days ago, it was ok with 0.97 for the same validation.

If i find the reason, i will tell it to you.

Thank you Larissa