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
Modifying recordings in a solution
- RobinHood42
- Posts: 324
- Joined: Fri Jan 09, 2015 3:24 pm
Re: Modifying recordings in a solution
Hi,
I would try to use Notepad++ to replace the delay:
Cheers,
Robin
I would try to use Notepad++ to replace the delay:
Cheers,
Robin
Re: Modifying recordings in a solution
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?
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 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