开发者

How to make the several devices execute MonkeyRunner (Jython scripts) at the same time?

开发者 https://www.devze.com 2023-03-19 03:57 出处:网络
I have wrote a MonkeyRunner(Jython) scri开发者_JS百科pt and I want running this script in several devices at the same time, please help me how to do it, thanks a lot!Instead of using device = MonkeyRu

I have wrote a MonkeyRunner(Jython) scri开发者_JS百科pt and I want running this script in several devices at the same time, please help me how to do it, thanks a lot!


Instead of using device = MonkeyRunner.waitForConnection() to connect to devices use device = MonkeyRunner.waitForConnection(deviceId=DEVICE_ID) where DEVICE_ID is the device id (as seen by adb) of the device that you are trying to connect to.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号