monkeyRunner
1.MonkeyRunner API -alert 警告窗
void alert(string mesage,string title,string,oktitle)
运行:monkeyrunner demo.py
monkeyrunner在SDK的tools下,可以将它配置到环境变量里面就可以使用cmd命令调用了
2.MonkeyRunner API -waitForConnection
等待设备连接,有多个device id,需要指明具体哪个设备
waitForConnection(float timeout,string,deviceid)
3.MonkeyDevice API -drag 拖动
drag(tuple start,tuple end,float duration,integer steps)








网友评论