appium+Robot Framework 测试 Android7.0 设备报错,如下:
脚本设置:
Open Application http://127.0.0.1:4723/wd/hub platformName=Android platformVersion=7.0 deviceName=192.168.60.19:8888 udid=192.168.60.19:8888 systemPort=8201 automationName=uiautomator2 appPackage=com.ins.share.app appActivity=com.ins.share.app.ui.MainActivity unicodeKeyboard=True resetKeyboard=True noReset=True
Appium 设置:
Server Port:4723
Bootstrap Port:4724
Chromedriver Port:8201
报错如下:
20190125 16:36:16.918 : FAIL : No application is open
20190125 16:36:16.919 : WARN : Keyword 'Capture Page Screenshot' could not be run on failure: No application is open
20190125 16:36:16.919 : FAIL :
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\gogily\Android\sdk\platform-tools\adb.exe -P 5037 -s 192.168.60.19:8888 pull /data/app/com.ins.share.app-1/base.apk C:\Users\Owner\AppData\Local\Temp\com.ins.share.app.apk' exited with code 1'; Stderr: ''; Code: '1'
Ending test: TestCaseManage.INSTAGRAMFRIENDS.01TESTCASE.Instagram.ins 分发 MI4C