修复移动自动化初始化时缺失平台类型参数的Bug

This commit is contained in:
seagull 2018-08-27 18:37:54 +08:00
parent 68d845e2dd
commit 65e5b8b2f3
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,8 @@ public class AppiumInitialization {
capabilities.setCapability("automationName", properties.getProperty("automationName"));
// 设备名称
capabilities.setCapability("deviceName", properties.getProperty("deviceName"));
// ƽ̨ÀàÐÍ
capabilities.setCapability("platformName", properties.getProperty("platformName"));
// 系统版本
capabilities.setCapability("platformVersion", properties.getProperty("platformVersion"));
// 模拟器上的ip地址
@ -80,6 +82,8 @@ public class AppiumInitialization {
capabilities.setCapability("automationName", properties.getProperty("automationName"));
// 设备名称
capabilities.setCapability("deviceName", properties.getProperty("deviceName"));
// ƽ̨ÀàÐÍ
capabilities.setCapability("platformName", properties.getProperty("platformName"));
// 系统版本
capabilities.setCapability("platformVersion", properties.getProperty("platformVersion"));
// 模拟器上的ip地址