'Waitings' after each Teststep

Ranorex Studio, Spy, Recorder, and Driver.
MB_wiko
Posts: 93
Joined: Fri Sep 09, 2016 1:05 pm
Contact:

'Waitings' after each Teststep

Post by MB_wiko » Tue Apr 03, 2018 3:00 pm

Hello,
work with Capture&Replay.

testcase:
Capture several teststeps

The Replay end up with 'Waitings' after each teststep.

How can I avoid these 'Waitings'?

Thanks,

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

Re: 'Waitings' after each Teststep

Post by odklizec » Tue Apr 03, 2018 7:10 pm

Hi,

Could you please specify what kind of “waiting” do you mean? Is it something you see in progress or report? Have you tried to enable Turbo mode in recording properties? It removes recorded delays or default delays added with some actions.
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

MB_wiko
Posts: 93
Joined: Fri Sep 09, 2016 1:05 pm
Contact:

Re: 'Waitings' after each Teststep

Post by MB_wiko » Fri Apr 06, 2018 3:40 pm

Hello,
When I start the Replay I see "Waitings" between each teststeps in the progress.

In the code (for instance):
"Delay.Milisecondes(2370)"

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

Re: 'Waitings' after each Teststep

Post by odklizec » Mon Apr 09, 2018 9:37 am

Hi,

OK, two things. The delay values you are getting are caused by unchecked setting "Use timings also for recorded actions" (in Settings >> Recorder defaults). If unchecked, Ranorex records exact delays between individual actions. I would suggest to enable this option and use pre-defined timings for new actions. Any change you make in timing settings will not affect already recorded actions.

At second, if you don't want to see even these predefined delays, you can enable Turbo mode for each recording module. Turbo mode disables all recorded delays, except manually added Delay actions. Turbo mode is a nice helper, but you should use it with caution, because some apps may not be ready immediately after previous action, so small delay may be required ;)

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