Modifying recordings in a solution

Ask general questions here.
[email protected]
Posts: 14
Joined: Wed Oct 17, 2018 6:12 pm

Modifying recordings in a solution

Post by [email protected] » Thu Dec 20, 2018 4:05 pm

Hello All,

I have 75 recordings in my test solution, grouped in different test cases. A change in our company network requires me to increase every 3s delay in all test cases to 8s. Is there a solution-wide find&replace that will help me with this?



User avatar
Posts: 324
Joined: Fri Jan 09, 2015 3:24 pm

Re: Modifying recordings in a solution

Post by RobinHood42 » Fri Dec 21, 2018 9:42 am


I would try to use Notepad++ to replace the delay:

Notepad++.png (22.22 KiB) Viewed 427 times

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

Re: Modifying recordings in a solution

Post by odklizec » Fri Dec 21, 2018 10:17 am


In addition to what Robin suggested, and with which I wholeheartedly agree, I would like to add a comment regarding Delays. In my opinion, and from my extensive experience with Ranorex, hardcoded delays should be used only if absolutely necessary. Use WaitFor Exists/NotExists instead! Delays are nowhere as reliable as WaitFor action.

If your still prefer to use delays, you should make the duration value a variable, connected to a Global Parameter, in which you can define a global delay value. Hope this helps?
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