Android - UI自动化工具

2019-06-04  本文已影响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

上一篇 下一篇

猜你喜欢

热点阅读