如何使用Monkey和MonkeyRunner工具进行Android测试? [英] How to use monkey and monkeyrunner tools for android testing?

查看:94
本文介绍了如何使用Monkey和MonkeyRunner工具进行Android测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您如何使用monkeymonkeyrunner工具进行android测试?

How do you use monkey and monkeyrunner tools for android testing?

所需的基本命令是什么?

What are the basic commands needed?

推荐答案

adb shell monkey -p com.bla.yourpackage -v 1000

首先是您要让Monkey运行并被限制使用的软件包.第二个是我详细模式,第三个是要运行的事件数.

First is your package that you want monkey to run in and be restricted to. Second is i verbose mode, third is number of events to run.

您可以通过执行adb shell monkey -help

这篇关于如何使用Monkey和MonkeyRunner工具进行Android测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆