Android UI testing: Monkey stuck in just a couple of Activities
I've been trying to use Monkey to stress test the UI of my application.
What I'开发者_如何学Pythonve noticed is that the random key strokes are not able to traverse all the Activities of my application. It instead just keeps looping between a few of them.
Is there any strategy which you guys use to help Monkey traverse all the Activities?
AS per the documentation by default monkey should navigate between all activities and packages though this would happen in a random fashion. Hence the probability of some activities not being called cannot be ruled out
Hope you have not set any Constraints while running it. If not try listing the activities that are not being called in Constraints and then run the tool
http://developer.android.com/guide/developing/tools/monkey.html
精彩评论