Android 中的多设备支持 [英] Multi-devices support in Android

查看:28
本文介绍了Android 中的多设备支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Andriod 平台的多个设备上运行脚本,但我无法运行.我浏览了 Github 页面以寻求解决方案,并找到了以下关于 从单个支持多个 (Android) 设备的链接Appium服务器

I am trying to run a script on Multiple devices in Andriod platform, but I am unable to run. I went through Github page for a solution and found the following link about Support multiple (Android) devices from a single Appium server

但是,我仍然无法弄清楚多台设备的设置环境.

But, still I can't figure out setup environment for multiple devices.

推荐答案

对于在多个 android 设备上顺序或并行执行,我们需要 -

For sequential or parallel execution on multiple android devices, we need to -

  1. 为每个设备或模拟器拥有单独的 Appium 实例
  2. 对于每个设备/Appium 实例,为 Appium 端口、Bootstrap 端口、设备 ID(即 UDID,而不是设备名称)提供不同的值
  3. 如果在应用上使用 Chrome 浏览器,请提供不同的 Chrome 驱动程序端口

检查下面的帖子,它使用 Java 线程和 Runnable 接口进行并行执行 -http://automationtestinghub.com/appium-parallel-execution/

Check the below post, which uses Java Thread and Runnable interface for parallel execution - http://automationtestinghub.com/appium-parallel-execution/

这篇关于Android 中的多设备支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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