Android app no response or force close

Mobile Testing, Android App Testing.
User avatar
sincoew
Posts: 48
Joined: Mon Nov 19, 2012 7:42 am

Android app no response or force close

Post by sincoew » Wed Mar 27, 2013 11:15 am

Hi Ranorex,

Are Ranorex has function to know 'android app no response' or 'force close' event?
(Can detect 'app no response' or 'force close' )

Best Regards,
Robert Chen.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Android app no response or force close

Post by Support Team » Thu Mar 28, 2013 4:37 pm

Hello,

We provide a function to close your app with 'Close Application'.
If the app does not respond within a period, the application process is killed.

There is no build-in function to check if the app responds.
Nevertheless, you could implement a behavior in your User Code to check if an element can be found with Host.Local.FindSingle(). If the element is not found, you could close your app.

Regards,
Markus (T)