robert
robert

Reputation: 127

Robotium Home Button and resuming to app

I'm new to Robotium testing and I want to test the following scenario:

1.) Start the app do something. 2.) Press the Home Button.(Close the app) 3.) Resume the app and test if everything is ok.

My question is how can I achieve steps 2 & 3 ?

Upvotes: 1

Views: 102

Answers (1)

maszter
maszter

Reputation: 3720

You can't do this with robotium, neither with pure Android Instrumentation framework. You should rather take a look on UIAutomator, if you have to test such scenarios.

Upvotes: 2

Related Questions