Macal

一、压力测试

monkey

MonkeyScript

MonkeyRunner

 

adb shell monkey 1000

 adb logcat | gerp START获取包名和activity名

adb shell monkey -p 包名 1000

1、throttle参数

adb shell monkey --throttle<milliseconds>

2.seed参数

指定随机生成数的seed值

adb shell monkey --throttle  <milliseconds>  -s 100

3、触摸事件

设定触摸事件百分比

adb shell monkey --pct-touch <percent>

4、动作事件

adb shell monkey --pct-motion <percent>

5、轨迹球事件等略

具体见http://www.imooc.com/video/13017

6、忽略崩溃

--ignore-crashes

7、超时事件

--ignore-timeouts

 

分类:

技术点:

相关文章:

  • 2021-12-05
  • 2021-03-31
  • 2022-12-23
  • 2021-12-05
  • 2022-02-03
  • 2021-12-05
  • 2022-01-08
猜你喜欢
  • 2021-12-05
  • 2021-12-05
  • 2021-11-17
  • 2021-11-30
  • 2022-02-05
  • 2021-06-12
  • 2021-10-26
相关资源
相似解决方案