Suppose you create a test case for the Android platform using a class with a signature like:
public class AccountTest extends ActivityInstrumentationTestCase2<MainActivity> { ... }
Say we have a testing method similar to this using the Robotium framework:
public void testCreateAccount() {
solo.clickOnButton("Add Account");
solo.clickOnButton("Next");
...
}
When the test case is completed, the instrumental activity is quickly destroyed. Is there a way to save it after completion, at least in order to determine what you want to do next, and encode the next few lines?
source
share