【问题标题】:How to make the several devices execute MonkeyRunner (Jython scripts) at the same time?如何让多个设备同时执行 MonkeyRunner(Jython 脚本)?
【发布时间】:2011-10-02 18:46:07
【问题描述】:

我写了一个 MonkeyRunner(Jython) 脚本,我想在多个设备上同时运行这个脚本,请帮我怎么做,非常感谢!

【问题讨论】:

    标签: jython monkeyrunner


    【解决方案1】:

    不要使用device = MonkeyRunner.waitForConnection() 连接到设备,而是使用device = MonkeyRunner.waitForConnection(deviceId=DEVICE_ID),其中 DEVICE_ID 是您尝试连接到的设备的设备 ID(如 adb 所示)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多