如何在多个设备中运行Uiautomator测试? [英] How to run Uiautomator tests in to multiple devices?

查看:349
本文介绍了如何在多个设备中运行Uiautomator测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在.bat文件中进行Uiautomator android Ui测试.但是我无法让它们并行运行.

I am trying to Uiautomator android Ui tests in a .bat file. but i could not able them run parallelly.

这是我的执行流程,并且已连接3台设备

Here is my execution flow and have connected 3 devices

-> adb devices XXXX XXXX XXXX

-> adb push ./bin/UiautomatorTests.jar /data/local/tmp/

-> adb shell uiautomator runtest UiautomatorTests.jar -c com.music.tests

在这里,我如何给所有设备并行运行一个通用命令

Here how can i give a common common command for all the devices to runs with parllely

推荐答案

您可以签出 Uiautomator-bot 似乎符合您的要求.它可以在所有连接的设备上同时运行UIautomator测试用例. 有关更多信息,请单击此链接.

You can checkout Uiautomator-bot as it seems to fit your requirement. It can run UIautomator test cases simultaneously on all connected devices. For further info check this link.

这篇关于如何在多个设备中运行Uiautomator测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆