freezes

Best practices, code snippets for common functionality, examples, and guidelines.
IvanT
Posts: 24
Joined: Wed Feb 06, 2019 8:00 pm

freezes

Post by IvanT » Thu Oct 17, 2019 8:49 pm

Hi. i am testing desktop app.
when my test is running and app is freezing test does not fail, it is waiting while app unfreezes.

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

Re: freezes

Post by odklizec » Fri Oct 18, 2019 7:13 am

Hi,

I'm afraid, that there is not any special command or action in Ranorex, to check the application's readiness. Basically, your test should fail, after an element you want to access, is not found. In other words, it should fail after reaching effective search timeout of given element. Do I understand it right, that Ranorex waits in an endless loop and without failing the test on an unfulfilled action, associated with an element?
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

IvanT
Posts: 24
Joined: Wed Feb 06, 2019 8:00 pm

Re: freezes

Post by IvanT » Fri Oct 18, 2019 9:10 pm

hi. yes ranorex wait and doesn't fail

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

Re: freezes

Post by odklizec » Mon Oct 21, 2019 8:54 am

Hi,

Have you tried to change the 'function execution timeout', as described here:
https://www.ranorex.com/forum/viewtopic ... 780#p56780
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