Android自动化测试手段之Monkey(11)

2020-12-16 14:36

Android自动化测试Monkey

com.android.carhome

com.android.cardock

com.android.calculator2

com.android.spare_parts

jp.co.omronsoft.openwnn

com.android.sdksetup

com.android.contacts

com.android.soundrecorder

com.android.providers.subscribedfeeds

com.android.phone

7.最后一个就是我们刚才加载的APIDemo的应用程序包

8.可以直接输入monkey -p com.example.android.apis -v 50,结果如下,也可以退出shell,在命令行输入,adb shell monkey -p com.example.android.apis -v 500 ,运行过程中,Emulator中的应用程序在不断地切换画面,可以看一下,呵呵

# monkey -p com.example.android.apis -v 50

monkey -p com.example.android.apis -v 50

:Monkey: seed=0 count=50

:AllowPackage: com.example.android.apis

:IncludeCategory: http://www.77cn.com.cnUNCHER

:IncludeCategory: android.intent.category.MONKEY

// Event percentages:

// 0: 15.0%

// 1: 10.0%

// 2: 15.0% // 3: 25.0%


Android自动化测试手段之Monkey(11).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:Linux操作系统内核

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: