我正在使用robotframework&pycharm&appium . Appium运行良好,但我试图在pycharm上运行robotframework,没有登录appium并且它返回此错误=>
打开我的应用程序
[WARN]关键字'Capture Page Screenshot'无法在失败时运行:未打开任何应用程序失败| WebDriverException:消息:
这是我的代码
First.robot
*** Settings ***
Library AppiumLibrary
Suite Setup
*** Variables ***
${REMOTE_URL} http://127.0.0.1:4723/wd/hub
${PLATFORM_NAME} iOS
${PLATFORM_VERSION} 9.3
${DEVICE_NAME} iPhone 6
${APP_LOCATION} /Users/xxxx.yyy/ios-test-automation-with-gauge-new/ipa/GetX.app
*** Keywords ***
Open App
Open Application ${REMOTE_URL} platformName=${PLATFORM_NAME} platformVersion=${PLATFORM_VERSION} deviceName=${DEVICE_NAME} app=${APP_LOCATION}
Close All Apps
Close All Applications
Second.robot
*** Settings ***
Resource second.robot
*** Test Cases ***
Open My Application
Open App
怎么了?