user922770
user922770

Reputation: 109

UI Stress Testing on Android

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

Answers (3)

enijkamp
enijkamp

Reputation: 57

This is how you could try to do this with testobject.com:

enter image description here

The function randomInput(...) is invoking the Exerciser Monkey. It's not completely bullet-proof, but might do the trick in your case.

Upvotes: 0

nabster
nabster

Reputation: 1675

Take a look at robotium. It also supports black-box UI testing of Android applications.

Upvotes: 0

adamp
adamp

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

Related Questions