在Robot Framework中运行并行Android设备

时间:2017-06-01 05:08:09

标签: python appium robotframework

我正在使用Robot Framework + Appium来自动化Android移动应用程序,它可以与连接的单个物理设备配合使用。

我有针对多个设备并行执行相同操作的方案。我用google搜索,发现只有一个有用的论坛。 http://testnblog.com/executing-robot-test-cases-in-parallel-on-2-android-devices-through-appium/

当我按照上述步骤操作时,我能够运行多个Appium实例,但是当我从Robot Framework中调用相同内容时,就像在论坛中提到的那样,我收到以下错误:

WebDriverException: Message: A new session could not be created. (Original error
: Command failed: C:\Windows\system32\cmd.exe /s /c "D:\adb\adt-bundle-windows-x
86_64-20130917\sdk\platform-tools\adb.exe shell "getprop persist.sys.language""
error: more than one device/emulator)

如果您使用机器人框架实现了相同的目标,那么任何人都可以帮助我出来或建议解决方案

0 个答案:

没有答案