speed down the playback or actions

Ranorex Spy, Recorder, and Studio.
CGMuser
Posts: 2
Joined: Tue Mar 27, 2018 3:37 pm

speed down the playback or actions

Post by CGMuser » Wed Mar 28, 2018 8:08 am

Hello ...

at first, sorry for my english ;-)

Some people want to speed-up the script and actions, BUT i want to have it slower ....
Our GUI is very complex, and i have somethimes a little trouble with mouse and keyboard actions.
So, i want to make the script slower.... generally. Mouse-actions, button-clicks and keyboard-inputs.

Could i realize it with:

Code: Select all

 Mouse.DefaultMoveTime = 800;  
 Keyboard.DefaultKeyPressTime = 500;  
 Delay.SpeedFactor = 0.4; 
in the program.cs or another user code section ???

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

Re: speed down the playback or actions

Post by odklizec » Wed Mar 28, 2018 11:33 am

Hi,

In my opinion, slowing test down is not a solution. A proper solution would be to add WaitForExists/NotExists actions wherever in your test you expect a change of GUI, e.g. after switching between pages/tabs, opening dialogs, loading lists and so on. Changing speed of test may help in some case, but it will definitely not solve all of such problems. Some of my tests runs over 5 hours and they are stable only because of extensive use of WaitFor action. When I started with them, I too thought about slowing tests down, but it was definitely a bad idea. After implementing WaitFor actions, the tests are rock solid! ;)
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

CGMuser
Posts: 2
Joined: Tue Mar 27, 2018 3:37 pm

Re: speed down the playback or actions

Post by CGMuser » Thu Mar 29, 2018 4:30 pm

many thanks ....
ok, we will think about it ...
But a "slow motion" option, could be very interesting ....