美文网首页我爱编程
appium connect real device( xcod

appium connect real device( xcod

作者: 冰皮月饼真好吃 | 来源:发表于2018-05-09 16:08 被阅读0次

    https://github.com/imurchie/appium-xcuitest-driver/blob/isaac-rs/docs/real-device-config.md#basic-manual-configuration

    http://www.cnblogs.com/meitian/p/7359787.html

    preparation:

    1 brew install libimobiledevice --HEAD

    2 npm install -g ios-deploy

    3  npm install -g appium

    steps:

    1 cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

    2 sh ./Scripts/bootstrap.sh

    3 change project settings

    4 product =》 build

    5 xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=device udid' test

    6 start appium: appium -a 127.0.0.1 -p 4723

    7 run appium (java) test

    error tips:

    1] I removed all the remnants from xcode using following command

    sudo rm -rf ~/Library/Developer/Xcode/DerivedData/WebDriverAgent-*

    2] uninstall appium. "npm uninstall -g appium"

    3] Install appium 1.7.1: "npm install -g appium"

    iphone setting:

    General->Settings->Device Management

    相关文章

      网友评论

        本文标题:appium connect real device( xcod

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