"Waiting for (0)ms" remains for more than 30 secs.

Ask general questions here.
Posts: 32
Joined: Fri May 20, 2016 9:43 am

"Waiting for (0)ms" remains for more than 30 secs.

Post by tejas.deshpande » Mon May 30, 2016 1:00 pm

While execution "Waiting for (0)ms" is displayed and it stays for a long time. It is the module duration for user codes. On changing the value to 100ms the execution is relatively faster but still takes a couple of seconds to continue.

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

Re: "Waiting for (0)ms" remains for more than 30 secs.

Post by odklizec » Mon May 30, 2016 1:15 pm


Without more details (and project sample), it's almost impossible to tell what's the cause of your issue and suggest reliable solution.

Firstly, what version of Ranorex do you use?
Could you please post a sample test suite, showing your issue?
Have you tried to run the solution without attached debugger (Ranorex6.0) or release version (Ranorex 5.x)?
Have you tried to debug your code, to analyze the source of slowdown? Where exactly in your code it slows-down?

BTW, please remember that the test automation is mainly about consistency, not about speed! You may enable Turbo mode for recording modules, decrease mouse action time, replace mouse clicks with PerformClick actions, so your tests may run noticeably faster. However, due to these changes, your tests may also start to fail due to unexpected/unhandled states or missing mouse events.
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