Robotium Monkey adb shell monkey p your package
Robotium
Monkey Очень прост в использовании $ adb shell monkey -p your. package. name -v 500
Monkey vs Twitter : Sending Pointer ACTION_DOWN x=701. 0 y=319. 0 // CRASH: com. twitter. android (pid 3065) // Short Msg: java. lang. Null. Pointer. Exception // Long Msg: java. lang. Null. Pointer. Exception // Build Label: htc_wwe/htc_ace/ace: 2. 3. 3/GRI 40/87995: user/release-keys // Build Changelist: 87995 // Build Time: 1308313911000 // java. lang. Null. Pointer. Exception // at com. twitter. android. widget. Refreshable. List. View. on. Touch. Event(Unknown Source) // at android. view. View. dispatch. Touch. Event(View. java: 3932) // at android. view. View. Group. dispatch. Touch. Event(View. Group. java: 943) // at android. view. View. Group. dispatch. Touch. Event(View. Group. java: 994). . . // at java. lang. reflect. Method. invoke. Native(Native Method) // at java. lang. reflect. Method. invoke(Method. java: 507) // at com. android. internal. os. Zygote. Init$Method. And. Args. Caller. run(Zygote. Init. java: 839) // at com. android. internal. os. Zygote. Init. main(Zygote. Init. java: 597) // at dalvik. system. Native. Start. main(Native Method) // ** Monkey aborted due to error. Events injected: 1943 : Dropped: keys=0 pointers=12 trackballs=0 flips=0 ## Network stats: elapsed time=140542 ms (0 ms mobile, 140542 ms wifi, 0 ms not connected) ** System appears to have crashed at event 1943 of 2000 using seed 2
- Slides: 15