About increasing the speed of executing the automation steps

Bug reports.
deepur011
Posts: 3
Joined: Tue Aug 21, 2012 7:15 am

About increasing the speed of executing the automation steps

Post by deepur011 » Tue Aug 21, 2012 7:19 am

Hi Evryone,

Am a new user of Ranorex. I juz started automation using this, i feel like the process is a little bit slow. Can any one help me to increase the speed of automation in Ranorex test automation?

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

Re: About increasing the speed of executing the automation steps

Post by odklizec » Tue Aug 21, 2012 7:40 am

Hi deepur011,

Try to enable the Turbo Mode button. This will enable Ranorex to play the scenario as fast as possible. By default, Ranorex replays the scenario at recorded speed (see the Duration column). Of course, you can change the Duration of each recorded step (selected steps/all steps at once) via Properties dialog. Additionally, you can play the scenario by the Speed Factor (Turbo Mode must be OFF). Replaying the scenario by Speed Factor is useful in case the Turbo Mode causes problems or if you want to play the scenario fast, but still have each step recognizable.

More details about Turbo Mode and Speed Factor can be found here:
http://www.ranorex.com/support/user-gui ... tions.html
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

mzperix
Posts: 137
Joined: Fri Apr 06, 2012 12:19 pm

Re: About increasing the speed of executing the automation steps

Post by mzperix » Thu Jun 06, 2013 2:20 pm

Hi,

Initially take odklizec advise and use turbo mode.

Second, you can speed up the process by running directly the generated .exe file. It can be accessed by right clicking on your main project and select 'Open Output Folder'.

The third way is to create better rxpath for the repository elements. It helps only, when finding your elements takes too much time.

4th, you canfurther speed up the keysequence actions in a recording file, by giving the following line into your recording's user code part:

Code: Select all

private void Init()
        {
            // Your recording specific initialization code goes here.
    
            Keyboard.DefaultKeyPressTime = 0;

        }
The problem with this is, that you have to add this line to every recording file. But it helps. Gives you 20ms with every keypress :D

Regards,
Zoltan