Solution with over 300 recordings - Change Image similarity

Ask general questions here.
BlindJones
Posts: 46
Joined: Fri May 17, 2019 7:10 am

Solution with over 300 recordings - Change Image similarity

Post by BlindJones » Thu Mar 19, 2020 7:24 pm

Hello,

I have a large Ranorex Solution with over 300 recordings in it. Most of them contain Image Comparisons.

Due to a lot of errors I would like to change the Similarity value for all recordings to something like 0.98 instead of 1.

Do I have to open every recording and change the value manually? Or is there a way to change them all at once easily? Perhaps in a batch run or something?

Thank you for your help!

Regards
BlindJones

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6358
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Solution with over 300 recordings - Change Image similarity

Post by odklizec » Thu Mar 19, 2020 9:09 pm

Hi,

In my opinion, your best hope is to edit rxrec files in a good text editor and simply search&replace value you want to change with File-based search/replace functionality. Just make sure you have a backup of last working version of your tests in source control of your choice ;) And after the files are edited, build the entire solution.
Pavel Kudrys
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

BlindJones
Posts: 46
Joined: Fri May 17, 2019 7:10 am

Re: Solution with over 300 recordings - Change Image similarity

Post by BlindJones » Wed Mar 25, 2020 3:48 pm

Thank you, odklizec

The editor did the trick.