{
"platformName": "Android",
"platformVersion": "6.0", #安卓版本号
"deviceName": "DWH9X17405W23673", #唯一标识码
"app": "/Users/wufq/app-debug.apk",
"appPackage": "com.shengjingbank.mobile.newcust", # 包名
"appActivity": "com.csii.iap.ui.SplashActivity", # 启动路径
"udid": "",
"newCommandTimeout": "60"
}
#包名,启动路径获取的方法
|-- 终端输入 adb shell
|-- 在手机打开需要测试的app
|-- dumpsys window windows | grep -E 'mFocusedApp'
|-- mFocusedApp=AppWindowToken{ddd695d token=Token{98a0846 ActivityRecord{a6f0a07 u0 com.tencent.mm/.ui.LauncherUI t1485}}}
|-- 其中包名: com.tencent.mm 启动路径:.ui.LauncherUI
{ "platformName": "Android", "platformVersion": "6.0", "deviceName": "DWH9X17405W23673", "app": "/Users/wufq/app-debug.apk", "appPackage": "com.shengjingbank.mobile.newcust", "appActivity": "com.csii.iap.ui.SplashActivity", "udid": "", "newCommandTimeout": "60" }