Showing results for 
Search instead for 
Did you mean: 

recovery mechanism when app crashes

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

Community Hero

Re: recovery mechanism when app crashes



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:
Top Kudoed Authors