Access to AppHung Variable

Ask general questions here.
Posts: 1
Joined: Fri May 03, 2019 10:45 am

Access to AppHung Variable

Post by momo98 » Fri May 03, 2019 11:00 am

I want to check whether my application is hung or not. Therefore I want to implement a loop which watches over the "AppHung" variable and checks if it's true or false. How do I get access to that variable in usercode? Or do I even need usercode?
I'm pretty new to Ranorex so I appreciate every help :D


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

Re: Access to AppHung Variable

Post by odklizec » Fri May 03, 2019 1:57 pm


The question is, if you really need to process such attribute via code? ;) Basically, it should be enough to add @AppHung='false' attribute to the xpath pointing to app root element. Check for example this post:
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