Page 1 of 1

Changing and Saving Properties Does not take effect

Posted: Thu Nov 21, 2013 2:36 pm
by atam
Hi,

We use image based recognition validation. When uploading to our CI server, we noticed that things started to fail.

After investigation, we realized that the similarity we had set to 90% was set to 100% as default.

We have one test case module:

1. Recording 1: Validates Screenshot1

2. Recording 2: Validates Screenshot2

3. Recording 3: Validates Screenshot3

We changed both global similarity and also for each recording, double checked that similarity was indeed set to 0.9.

BUT, when going into the .cs and .rxrec for Recording 2 and 3, we notice that the default is used (1). Recording 1 is OK though.

Our workaround for this is to manually edit the .rxrec in notepad++ for recording 2 and 3 in order to apply similarity 0.9.

EDIT: We use latest Ranorex.

Re: Changing and Saving Properties Does not take effect

Posted: Fri Nov 22, 2013 4:35 pm
by Support Team
Hello atam,

Please note that the setting for similarity in the 'Imaging' tab only affects new valdiations.
Did you change the similarity in each action in your recording module (in 'properties > Image Base Location > Similarity'? This should update the setting in your <Recording>.rxrec.

Did you try to change the similarity value in <Recording>.cs?
Please note that this setting will be overwritten at compile time.

Regards,
Markus (T)

Re: Changing and Saving Properties Does not take effect

Posted: Fri Jan 29, 2016 3:35 pm
by MarkF
Support Team wrote: Did you change the similarity in each action in your recording module (in 'properties > Image Base Location > Similarity'? This should update the setting in your <Recording>.rxrec.
I understand this is a bit old and thus could be out of date (I'm using 5.4.2), but can you elaborate on this? I'm trying to change the 'Similarity' setting, but can't see any 'Image Base Location' setting/menu item when viewing the properties for an action in the recording module.

Re: Changing and Saving Properties Does not take effect

Posted: Wed Feb 03, 2016 1:41 pm
by RobinHood42
Hi MarkF,

Yes, the post is really quite old, but the setting does still exist.
Similarity.png
Please note that the activity must be an "Contains"- or "Compare"-Image activity.

Cheers,
Robin

Re: Changing and Saving Properties Does not take effect

Posted: Fri Feb 05, 2016 12:49 pm
by MarkF
Ah, I missed the small arrow to the left of 'Image Based' property... :(

Cheers for the info!