Installation Guide for Appium 1.6.3
Posted Wu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Installation Guide for Appium 1.6.3相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章
Installation Guide Ubuntu 16.04
Cloudera 5.8.2 Installation guide