Page 1 of 1

Modifying recordings in a solution

Posted: Thu Dec 20, 2018 4:05 pm
by pkoel@americanbus
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?

Sincerely,

Peter

Re: Modifying recordings in a solution

Posted: Fri Dec 21, 2018 9:42 am
by RobinHood42
Hi,

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

Notepad++.png
Cheers,
Robin

Re: Modifying recordings in a solution

Posted: Fri Dec 21, 2018 10:17 am
by odklizec
Hi,

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?