随笔分类 -  Note-Monkey

学习笔记
摘要:Monkey Script 常用命令介绍 执行Monkey 脚本的命令: Adb shell monkey -f <scriptfile> <event-count> Scritpfile:我们编写的脚本文件 Tips: Dispatch 派遣,调用 1、DispatchTrackball命令 轨迹 阅读全文
posted @ 2018-04-05 11:56 天际流云 阅读(209) 评论(0) 推荐(0) 编辑
摘要:APP性能测试—启动时间 冷启动—程序完全关闭时的启动 启动:adb shell am start -W -n package/activity 停止:adb shell am force-stop package 热启动—程序退到后台,并未完全杀死时的启动 启动:adb shell am star 阅读全文
posted @ 2018-04-05 11:53 天际流云 阅读(2684) 评论(2) 推荐(0) 编辑
摘要:Monkey :在adb shell中,生成用户或系统伪随机事件 MonkeyRunner:通过API定义特定命令和事件控制设备 monkeyScript:是一组可以被Monkey识别的命令集合,monkeyScript可以完成重复固定的操作 获取adb连接的虚拟机或真机: adb devices 阅读全文
posted @ 2018-04-03 23:53 天际流云 阅读(1620) 评论(0) 推荐(0) 编辑
摘要:什么是monkeyRunner? monkeyRunner提供了一系列的API monkeyRunner可以完成模拟时间及截图操作 Monkey和MonkeyRunner的区别? Monkey :在adb shell中,生成用户或系统伪随机事件 MonkeyRunner:通过API定义特定命令和事件 阅读全文
posted @ 2018-04-03 23:06 天际流云 阅读(151) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示