Reputation: 109
is there a way for me to do a sort of UI Stress test, similar to that of monkey runner.
I want my stress tester to click randomly on the screen until something is prompted.
however, i want to be able to detect if a dialog box comes up, then i want to put in some values, or if there is a prompt for me to upload something, i'll upload a random picture. Monkey runner does not have the functionality of knowing what dialog boxes come up right? This stress tester that i am trying to configure has to be a one size fits all stress tester.
Upvotes: 2
Views: 1264
Reputation: 57
This is how you could try to do this with testobject.com:
The function randomInput(...) is invoking the Exerciser Monkey. It's not completely bullet-proof, but might do the trick in your case.
Upvotes: 0
Reputation: 1675
Take a look at robotium. It also supports black-box UI testing of Android applications.
Upvotes: 0
Reputation: 28932
The monkey itself doesn't know what your UI is showing, but your app does. You might find the isUserAMonkey
API useful. While its existence has been a source of amusement for many, it exists for these cases where you want your app to behave differently for a monkey than for a real user.
Upvotes: 1