Appium Official website: Http://appium.io/index.html?lang=zh
Requirements
Your environment needs to is setup for the particular mobile platforms so you want to run tests on. See below for particular platform requirements.
If you want to run Appium via npm install
A, hack with or contribute to Appium, you'll need node. js and NPM 0.12 or greater ( Use the N or to brew install node
install node. js. Make sure for installed Node or Appium sudo
with and otherwise you to run into problems). We recommend the latest stable version.
To verify the all of Appium ' s dependencies is met you can use appium-doctor
. Install it npm install -g appium-doctor
with (or run it from source), then run and appium-doctor
supply the --ios
or --android
flags to verify that All of the dependencies is set up correctly.
You also need to download the Appium client for your language so can write tests. The Appium clients is simple extensions to the Webdriver clients. You can see the list of clients and links to download instructions at the Appium clients list.
IOS Requirements
- Mac OS X 10.10 or higher, 10.11.1 recommended
- XCode >= 6.0, 7.1.1 recommended
- Apple Developer Tools (iPhone simulator SDK, command line Tools)
- Ensure you read our documentation on setting yourself up for IOS testing!
Android Requirements
- Android SDK API >= (Additional features require 18/19)
- Appium supports Android on OS X, Linux and Windows. Make sure follow the directions for setting up your environment properly for testing on different OSes:
Firefoxos Requirements
According to the above content, install Appium related Android test environment needs:
1. Use NPM to install NPM
2. node. js >0.12
3, installation Appium-doctor check the relevant dependencies before installation Appium
Due to the impact of the domestic network environment, the use of domestic image download installation:
NPM install-g appium-doctor--registry=https://registry.npm.taobao.org/
4. Install Appium Client
Appium Automated Testing