美文网首页
Android - UI自动化工具

Android - UI自动化工具

作者: 沈宥 | 来源:发表于2019-06-04 14:00 被阅读0次

一、UI遍历:droidbot

https://github.com/honeynet/droidbot

二、monkey:Maxim

https://github.com/zhangzhao4444/Maxim

运行参数
adb shell CLASSPATH=/sdcard/monkey.jar:/sdcard/framework.jar exec app_process /system/bin tv.panda.test.monkey.Monkey -p com.sinacp.ggaicai --uiautomatormix --running-minutes 3 --throttle 600 -v -v
-p com.sinacp.ggaicai:待测appid
--uiautomatormix策略模式

--uiautomatormix 混合模式(70%控件解析随机点击,其余30%按原Monkey事件概率分布) 
--pct-uiautomatormix n 可自定义混合模式中控件解析事件概率
--uiautomatordfs DFS深度遍历算法(优化版)(注 Android5不支持dfs) 
--uiautomatortroy Troy模式

--running-minutes 3执行时长
--throttle 600:在事件之间插入固定的时间(毫秒)延迟
-v -v:调整日志输出级别,Level1(-v -v),提供了较为详细的测试信息

三、UI遍历:AppCrawler

https://github.com/seveniruby/AppCrawler

四、录制回放自动化:Soloπ

https://github.com/alipay/SoloPi

相关文章

网友评论

      本文标题:Android - UI自动化工具

      本文链接:https://www.haomeiwen.com/subject/tsvlxctx.html