RobotiumTech/robotium

Is there a way to avoid quiting the app when a test in done?

Opened this issue · 1 comments

Even in teardown function, I deteled finishOpenedActivities, it will still quit the app. I just want the robotium scripts do some steps and let the app stay there.

Are you using ActivityInstrumentationTestCase2 or ActivityTestRule ? When using Rules the app is closed automatically because of the Rule itself. If that is the case search on how to avoid it. If you run the tests with connectedAndroidTest , currently there isn't a way to avoid uninstalling the app after all tests complete