Home | History | Annotate | Download | only in monkey
      1 # Touch the android
      2 touch down 160 200
      3 touch up 160 200
      4 sleep 1000
      5 
      6 # Hit Next
      7 touch down 300 450
      8 touch up 300 450
      9 sleep 1000
     10 
     11 # Hit Next
     12 touch down 300 450
     13 touch up 300 450
     14 sleep 1000
     15 
     16 # Hit Next
     17 touch down 300 450
     18 touch up 300 450
     19 sleep 1000
     20 
     21 # Go down and select the account username
     22 key down dpad_down
     23 key up dpad_down
     24 key down dpad_down
     25 key up dpad_down
     26 key down dpad_center
     27 key up dpad_center
     28 # account name: bill
     29 key down b
     30 key up b
     31 key down i
     32 key up i
     33 key down l
     34 key up l
     35 key down l
     36 key up l
     37 
     38 # Go down to the password field
     39 key down dpad_down
     40 key up dpad_down
     41 
     42 # password: bill
     43 key down b
     44 key up b
     45 key down i
     46 key up i
     47 key down l
     48 key up l
     49 key down l
     50 key up l
     51 
     52 # Select next
     53 touch down 300 450
     54 touch up 300 450
     55 
     56 # quit
     57 quit
     58