首页 > 移动平台 > 详细

Installation Guide for Appium 1.6.3

时间:2017-04-01 16:18:42      阅读:344      评论:0      收藏:0      [点我收藏+]

A.) System Requirements : - 

  • Require node 4 or above
  • Xcode 8 iOS 10

B.) Open terminal and type following command to install Appium 1.6.3 : -  npm install -g appium  

C.) External Dependencies : - 

  • Install "Homebrew" by following command : - ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • After instaling Home brew run following commands : - 
  • brew install ideviceinstaller
  • brew install carthage 
  • npm install -g ios-deploy
  • npm install -g deviceconsole
  • gem install xcpretty
  • brew install libimobiledevice --HEAD (for iOS10)
  • brew install libimobiledevice (for iOS 9)

 

3.) WebDriverAgent Configuration : - 

  • Go to newly installed Appium directory and navigate to “node_modules/appium-xcuitest-driver/WebDriverAgent”
  • Run following command : - mkdir -p Resources/WebDriverAgent.bundle
  • Run following command : - sh ./Scripts/bootstrap.sh -d
  • Open Xcode with WebDriverAgent.xcodeproj
  • Build WebDriverAgent project with provisioning profile.
  • Now run following command : - 

    xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=UDID of device‘ test

Details about commands

1.)Homebrew : - Package manager for macOS.

2.)ideviceinstaller  : - Cross-platform library and tools for communicating with iOS devices

3.) carthage  : - A dependency manager that gets the job done without taking over the responsibility of Xcode.

4.)ios-deploy  :- debug iOS apps without using Xcode

5.) deviceconsole : - iOS system log tailer.

6.) xcpretty : - flexible and fast xcodebuild formatter.

7.) libimobiledevice : - A cross-platform software protocol library and tools to communicate with iOS

Installation Guide for Appium 1.6.3

原文:http://www.cnblogs.com/lisawu/p/6656416.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!