首页 > 技术文章 > Android Monkey测试

jwyblogs 2020-09-23 15:15 原文

查看包名
adb shell dumpsys window w | findstr \/ | findstr name=

基本用法
adb shell monkey -p com.shanghai.test -v 10000

输出日志
adb shell monkey -p com.shanghai.test -v 100 >e:\日志2.txt

停止测试
ps | grep monkey

kill pid 进程

 

com.shanghai.test :示例包名,通过查看包名获得

推荐阅读