Appium Desktop Desired Capability通用配置模板

iOS:

{

"platformName": "iOS",

"platformVersion": "12.1",

"deviceName": "iPhone Z",

"automationName": "XCUITest",

"app": "/Users/zhangdong/Desktop/autotestdemo/appfortest/trcpackage/device/TairanFinanceProject.app",

"udid": "",

"bundleId": "",

"showXcodeLog": true,

"noReset": true

}

app:.app包的存放路径

udid:iPhone的udid,真机需要,模拟器不需要

bundleid:包名



Android:

{

"platformName": "Android",

"platformVersion": "6.0.1",

"deviceName": "cd1cc06b",

"noReset": true,

"app": "/Users/zhangdong/Desktop/TRCAppium/TRCASAppiumProject/trcfinacetest/src/main/java/apps/app-release.apk",

"unicodeKeyboard": true,

"appPackage": "",

"resetKeyboard": true,

"appActivity": "com.tairanchina.taiheapp.module.finance.activity.LaunchActivity"

}

deviceName:设备名称,USB连接手机后,可以通过adb devices获取

app:apk包存放路径

appPackage:包名

你可能感兴趣的:(Appium Desktop Desired Capability通用配置模板)