1. 命令行启动 adb
nox_adb.exe connect 127.0.0.1:62001
2. 启动Android模拟器夜神
3. 查看adb device
adb devices
4. 启动appium
设置参数
{
"platformName": "Android",
"deviceName": "OPPO R11",
"appPackage": "com.tencent.mm",
"appActivity": ".ui.LauncherUI"
}
启动回话
参考链接:
Appium Appium 链接夜神模拟器 (二) https://testerhome.com/topics/8024
另附app控件唯一相对Xpath自动生成(增强版uiautomatorviewer)