Android App Automation test Python+appium Environment Building

Source: Internet
Author: User
Tags install node appium

1. Installing the JDK

(1) JDK will be installed two times, once is the JDK, the second time is the JRE.

(2) environment variable configuration:
Add Java_home variable, value:JDK installation path
Add Classpath variable, value: .; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar
Modify the path variable, plus this sentence %java_home%\bin;

(3) command line Input Java command to detect if installation is successful

2. Installing ADT

(1) Website: http://tools.android-studio.org/index.php

(2) environment variable configuration:
Add Android_home variable, value: The installation path of the SDK in ADT
Add path variable, value: %android_home%\platform-tools;%android_home%\tools

3. Install node. JS (You do not have to install node. JS separately if you use a compressed package or GUI installation)

(1) to https://nodejs.org/en/download node. js

(2) node. JS installation path, command line Input NODE-V command to detect whether the installation was successful

4. Install Python5. command-line installation Appium

(1) Official website: command line input NPM install-g appium

(2) Domestic Image: Command line input NPM--registry http://registry.cnpmjs.org install-g appium

Note:-G is a global parameter

(3) command line input Appium detect if installation is successful

(4) command line input appium-doctor detection environment

(5) command line input pip install appium-python-client install appium-python-client

6. Download the compressed package directly to Appium website

(1) Website: Http://appium.io

(2) Domestic (also includes other required address): https://testerhome.com/topics/680

(3) command line input Appium detect if installation is successful

(4) command line input appium-doctor detection environment

Android App Automation test Python+appium Environment Building

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.