修复移动自动化初始化时缺失平台类型参数的Bug
This commit is contained in:
parent
68d845e2dd
commit
65e5b8b2f3
|
@ -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地址
|
||||
|
|
Loading…
Reference in New Issue