Forum Discussion

hacka87's avatar
hacka87
Contributor
7 years ago
Solved

Run all tests unattended in a suite after errors occur on Android

Hello,

 

We have to run a number of tests in a suite unattended with no manual help and the problem is when the application crashes, the test suite is stopped and should be handled.

 

Is there a way to not stop on this crash and continue with the test run suite?

 

I have tried to put these kind of errors in try catch blocks and handle them this way.

The test suite is configured to continue with the next test.

 

I used also Runner.Stop(true) that should stop the current test and start the next test in the suite. Is there a way to treat the Error Could not obtain object in some way or another without failing all the other tests in the suite?

 

Best Regards,

Alexandru