cancel
Showing results for 
Search instead for 
Did you mean: 

recovery mechanism when app crashes

Highlighted
Occasional Contributor

recovery mechanism when app crashes

We have android and ios app where while running batch testing, app crashes in between making all rest of scripts as fail, so is there recovery mechanism that Testcomplete identifies the crash and relaunches the app again.

 

Any one has idea how to implement such crash scenario?? Please help me in this

1 REPLY 1
Highlighted
Community Hero

Re: recovery mechanism when app crashes

Hi,

 

You can use OnLogError event handler, which would perform a check after each error been posted to the log. You check the presence of your application as a running process on the tested device. If process is not presented, then you make required steps to launch it again.

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors