MonkeyRunner基本操作
摘要:
1. #导入模块;1 from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice, MonkeyImage2. #连接当前设备,并返回一个MonkeyDevice对象;1 device = MonkeyRunner.waitForConnection()2 if not device:3 print "Please connect a device to start!"4 else:5 print "Start "3. #安装Android包,注意,此方法返回的返回值为boolean,由 阅读全文
posted @ 2013-08-15 19:51 JasonKwok 阅读(336) 评论(0) 推荐(0)
浙公网安备 33010602011771号