appium自動化測試

appium官網:http://appium.io/index.html?lang=zhhtml

Requirements

Your environment needs to be setup for the particular mobile platforms that you want to run tests on. See below for particular platform requirements.node

If you want to run Appium via an npm install, hack with or contribute to Appium, you will need node.js and npm 0.12 or greater (use n or brew install node to install Node.js. Make sure you have not installed Node or Appium with sudo, otherwise you'll run into problems). We recommend the latest stable version.linux

To verify that all of Appium's dependencies are met you can use appium-doctor. Install it with npm install -g appium-doctor (or run it from source), then run appium-doctor and supply the --ios or --android flags to verify that all of the dependencies are set up correctly.android

You also need to download the Appium client for your language so you can write tests. The Appium clients are simple extensions to the WebDriver clients. You can see the list of clients and links to download instructions at the Appium clients list.ios

iOS Requirements

Android Requirements

  • Android SDK API >= 17 (Additional features require 18/19)
  • Appium supports Android on OS X, Linux and Windows. Make sure you follow the directions for setting up your environment properly for testing on different OSes:

FirefoxOS Requirements

 

 

根據以上內容可知,安裝appium相關Android測試環境須要:git

一、使用npm安裝,須要安裝npmgithub

二、node.js >0.12npm

三、安裝appium-doctor檢查安裝appium前的相關依賴windows

因爲國內網絡環境的影響,使用國內鏡像下載安裝:網絡

npm install -g appium-doctor --registry=https://registry.npm.taobao.org/

 

四、安裝Appium client

相關文章
相關標籤/搜索