xiaofans / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Use finishOpenedActivities() in teardown. The app its crash. #380

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have try the finishOpenedActivities(),but its crash.
The code:
    public void tearDown() throws Exception {
        solo.finishOpenedActivities();
    }

The log:
[2013-01-15 10:41:46 - imo_test] Sending test information to Eclipse
[2013-01-15 10:41:50 - imo_test] Test run failed: Instrumentation run failed 
due to 'Process crashed.'
[2013-01-15 10:41:50 - imo_test] Test run finished

and pls reference the issue 378.

Original issue reported on code.google.com by shenlian...@126.com on 15 Jan 2013 at 2:51

GoogleCodeExporter commented 9 years ago
Please download the test project in the downloads page to see what you are 
doing wrong. Also check the log: adb logcat. 

Original comment by renasr...@gmail.com on 15 Jan 2013 at 6:17