1、脚本如下
start "C:\Windows\System32\cmd.exe" echo %date% %time:~0,8%
adb uninstall com.xiaoyun.witcity
adb install D:\apk\app-release.apk
adb shell monkey -p com.xiaoyun.witcity --throttle 1000 --pct-touch 25 --pct-motion 20 --pct-pinchzoom 5 --pct-trackball 5 --pct-rotation 5 --pct-nav 10 --pct-majornav 10 --pct-syskeys 10 --pct-appswitch 10 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --ignore-native-crashes --monitor-native-crashes -v -v -v 10 >D:\apk\monkeyLog3.txt
start "C:\Windows\System32\cmd.exe" echo %date% %time:~0,8%
2、monkey执行后的结果如下
网友评论