Skip to content Skip to sidebar Skip to footer

How To Restart Killed Android Application In Testing With Robotium

I am testing an apk using robotium. In this app, I have a button which kills the app process and relaunches it. I want to test this scenario using robotium. When I click on the but

Solution 1:

You cannot do this via robotium, Instrumentation tests live in the same process as your application (you can see this if you look at logcat) this means that when you kill your applications process the tests die along with it.


Post a Comment for "How To Restart Killed Android Application In Testing With Robotium"