ContainsImage() not working since 3.1.1

Bug reports.
Martin84
Posts: 2
Joined: Thu Nov 10, 2011 1:37 pm

ContainsImage() not working since 3.1.1

Post by Martin84 » Thu Nov 10, 2011 1:42 pm

The validate containsImage() method isn't working since the upgrade to Version 3.1.1

In the Ranorex log report, the screenshot shows the search area and the image being checked however Ranorex produces a failure.

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: ContainsImage() not working since 3.1.1

Post by Support Team » Thu Nov 10, 2011 2:27 pm

Hi,
The validate containsImage() method isn't working since the upgrade to Version 3.1.1
Which Ranorex version do you have used previously?
Do you have tried to decrease the similarity value of the FindOptions like:
Ranorex.Imaging.FindOptions.Default = new Ranorex.Imaging.FindOptions(0.90);
Please also send us the log file which contains the failure.

Regards,
Markus
Ranorex Support Team
.
Image

Martin84
Posts: 2
Joined: Thu Nov 10, 2011 1:37 pm

Re: ContainsImage() not working since 3.1.1

Post by Martin84 » Thu Nov 10, 2011 3:09 pm

Hi,

Thanks for the reply.

Setting the default options for the image find method has resolved the issue.
Ranorex.Imaging.FindOptions.Default = new Ranorex.Imaging.FindOptions(0.80);

Regards,