Appium Automated Testing

Source: Internet
Author: User
Tags install node appium

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:
      • Linux
      • Ms:
      • Windows
Firefoxos Requirements
    • Firefox OS Simulator

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.