Created
September 27, 2012 21:54
-
-
Save anonymous/3796686 to your computer and use it in GitHub Desktop.
monkey script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Touch the android | |
touch down 160 200 | |
touch up 160 200 | |
sleep 1000 | |
# Hit Next | |
touch down 300 450 | |
touch up 300 450 | |
sleep 1000 | |
# Hit Next | |
touch down 300 450 | |
touch up 300 450 | |
sleep 1000 | |
# Hit Next | |
touch down 300 450 | |
touch up 300 450 | |
sleep 1000 | |
# Go down and select the account username | |
key down dpad_down | |
key up dpad_down | |
key down dpad_down | |
key up dpad_down | |
key down dpad_center | |
key up dpad_center | |
# account name: bill | |
key down b | |
key up b | |
key down i | |
key up i | |
key down l | |
key up l | |
key down l | |
key up l | |
# Go down to the password field | |
key down dpad_down | |
key up dpad_down | |
# password: bill | |
key down b | |
key up b | |
key down i | |
key up i | |
key down l | |
key up l | |
key down l | |
key up l | |
# Select next | |
touch down 300 450 | |
touch up 300 450 | |
# quit | |
quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment