美文网首页
appium桌面版使用

appium桌面版使用

作者: 水漾涟漪penny | 来源:发表于2019-05-31 16:44 被阅读0次

    1.进入appium桌面版的webdriver路径 

    cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

    2.用xcode打开WebDriverAgent.xcodeproj   或:执行命令:xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=84f4d08923c60efef57dd26703332088fb34f7dc' test

    3.连接手机   用xcode进行编译

    4.点击product-->test

    5.打开appium_desktop

    6.开启服务

    7.点击 start Inspector Session

    8.输入必要信息

    {

      "platformName": "iOS",

      "platformVersion": "11.0",

      "automationName": "XCUITest",

      "deviceName": "iphone 8",

      "bundleId": "com.systoon.beijinghuairoutoon",

      "udid": "84f4d08923c60efef57dd26703332088fb34f7dc",

      "startIWDP": true

    }

    9.点击 start Session

    相关文章

      网友评论

          本文标题:appium桌面版使用

          本文链接:https://www.haomeiwen.com/subject/uxsgtctx.html