【问题标题】:How run AWS Device Farm TestNG Test file on Local Appium如何在本地 Appium 上运行 AWS Device Farm TestNG 测试文件
【发布时间】:2018-06-18 12:09:40
【问题描述】:

我有在 aws devicefarm 上运行的 TestNG 脚本,我想在我的 android 设备上的本地 appium 上对其进行测试,

我可以知道如何在我的本地设备上运行吗?

谢谢

【问题讨论】:

    标签: amazon-web-services appium aws-device-farm


    【解决方案1】:

    要在本地测试 Appium 测试包,您需要设置 desired capabilities

    Android 的示例如下:

    { "platformName": "Android", "platformVersion": "11.0", "deviceName": "Find device name using `adb devices`", "automationName": "uiautomator/uiautomator2", "app": "/path/to/my.apk" }

    这里是 appium 在其 github 上提供的示例的链接。

    https://github.com/appium/sample-code/tree/master/sample-code/examples

    一般而言,您不会按照此模式在 Device Farm 上进行测试。那是;您应该在本地开发测试,然后在 Device Farm 上进行测试。

    我希望这会有所帮助。如果有任何其他问题,请随时告诉我。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-01-14
      • 1970-01-01
      • 1970-01-01
      • 2020-01-03
      • 2017-06-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多