51Testing软件测试论坛

标题: 运行monkey脚本文件时提示count not specified,如何解决,新手求助! [打印本页]

作者: wang2171    时间: 2014-12-10 15:50
标题: 运行monkey脚本文件时提示count not specified,如何解决,新手求助!
脚本文件如下:
#Start Script
type = user
count = 10
speed = 1.0
start data >>
LaunchActivity(com.yulong.android.launcher3,com.yulong.android.launcher3Activity)
UserWait(5000)
#open renren
captureDispatchPointer(5109520,5109520,0,270,950,0,0,0,0,0,0,0);
captureDispatchPointer(5109521,5109521,1,270,950,0,0,0,0,0,0,0);
UserWait(3000)
#close browser
captureDispatchPointer(5109520,5109520,0,205,31,0,0,0,0,0,0,0);
captureDispatchPointer(5109521,5109521,1,205,31,0,0,0,0,0,0,0);
UserWait(2000)




作者: wenzy830    时间: 2015-3-17 10:41
不是很清楚啊!高手来回答啊啊
作者: cuikejie123    时间: 2016-5-17 14:09
正在学习用脚本来执行monkey。。。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2