I have a problem with my Robotium trials. On one of my actions A, I press a button. Clicking on this button launches another action B. So, in my robotium test, I have something like this:
Button myBtn = (Button) solo.getView(R.id.myBtn);
therefore, after this action, the emulator automatically starts activity B. Now the problem is that I have no way to return to the test operation (A) in the code.
Could you tell me how to avoid getting into jail in action B when you click on the button that launches it? In other words, is it possible to return to the work being tested?
FYI : I need to return to the activity being tested, because there are other testing methods awaiting dismissal.
thanks in advance,
source
share