Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I have a menu with x number of buttons that all go to different pages the problem is I have to start at the button at the top n go down I'm order for it work without crashing. If I click on the second or third button without going to the prior buttons I get a crash. I'm not sure if this is the emulator or is there some java code I can put that will allow me to click any button at random? Thanks.
that is a part of the code i have more buttons that have different id and lead to diff pages successfully if i start at the top button and work to the bottom but i would like to be able to click on any button at random... | ||||
One way to perform UI fuzzy testing (randomly interacting with all UI element, such as buttons) is monkey runner, you can use adb:
This will randomly press anything 500 times to test against crashes. | |||
default
.
stackoverflow.comm
No comments:
Post a Comment