android:monkey
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
android:monkey [2011/10/19 09:51] – created percy | android:monkey [2011/10/19 09:56] – percy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Android Monkey测试 ====== | ====== Android Monkey测试 ====== | ||
参考: | 参考: | ||
+ | |||
+ | http:// | ||
一般我能用到的 | 一般我能用到的 | ||
adb shell monkey -v -p yourpackagename 50000 -s 2011 | adb shell monkey -v -p yourpackagename 50000 -s 2011 | ||
+ | |||
* -v 命令行的每一个 -v 将增加反馈信息的级别。 Level 0( 缺省值 ) 除启动提示、测试完成和最终结果之外,提供较少信息。 Level 1 提供较为详细的测试信息,如逐个发送到 ActivITy 的事件。 Level 2 提供更加详细的设置信息,如测试中被选中的或未被选中的 Activity 。 | * -v 命令行的每一个 -v 将增加反馈信息的级别。 Level 0( 缺省值 ) 除启动提示、测试完成和最终结果之外,提供较少信息。 Level 1 提供较为详细的测试信息,如逐个发送到 ActivITy 的事件。 Level 2 提供更加详细的设置信息,如测试中被选中的或未被选中的 Activity 。 | ||
* 50000 表示随机操作次数 | * 50000 表示随机操作次数 |
/var/www/dokuwiki/wiki/data/pages/android/monkey.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1