I am trying to do some automated testing against a complex Android app and I’m wondering if MonkeyRunner is the right tool. I keep seeing that you need to load the activity you want to test, but what if you want to test multiple activities? Say you start with main, and then want to test a search function? Can MonkeyRunner test across multiple activities in a single test?
Share
MonkeyRunner starts from a specific
Activityand continues (by simulating presses) to other activities, if it is possible to move to them by your UI. It doesn’t stay on oneActivity.Take a look at the documentation to see how to move with it.