我证明Appium可与我们的测试一起使用:机器人框架,Python,Windows10。
但是,我遇到了Appium无法在运行时识别任何应用程序名称(例如“ chrome”)的问题:
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: The application at 'chrome' does not exist or is not accessible
。
我尝试过:
*** Settings ***
Documentation Suite description
Library AppiumLibrary
*** Test Cases ***
Testing Appium on Robot Framework
Open Application http://localhost:4723/wd/hub alias=Myapp1 platformName=android deviceName='Android Simulator' app=chrome
预期的输出:应用程序连接
实际结果:
[2019-08-15 07:28:12][W3C] Encountered internal error running command: Error: The application at 'system/app/Chrome/Chrome.apk' does not exist or is not accessible
[2019-08-15 07:28:12][W3C] at APPLICATIONS_CACHE_GUARD.acquire (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\basedriver\helpers.js:159:13)
[2019-08-15 07:28:12][W3C] at process._tickCallback (internal/process/next_tick.js:68:7)
[2019-08-15 07:28:12][HTTP] <-- POST /wd/hub/session 500 1145 ms - 802