Access to AppHung Variable

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

Access to AppHung Variable

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

Hey,
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

Regards,
Moritz

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5071
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

Hi,

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:
viewtopic.php?f=20&t=2400&p=9492#p9492
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