Preliminary study on the environment construction of Appium

Source: Internet
Author: User

The previous time has been tossing Python crawler, want to engage in interface automation. But after one months of writing, I found no interface at all in my current job. So I want to put down first, do something that is currently accessible, but also need to do.

Things are getting more and more, understaffed. Get yourself a appium and play. The following for everyone to share the environment of appium construction.

Must be installed:

First, build the Android environment

1. Installing the JDK

Configuring System Variables New Java_home (JDK installation path)

Configure the System environment variable path( if it does not exist, create a new variable path, otherwise select the variable, click the Edit button, and add "%java_home%\bin;%java_home%\jre\bin;" At the beginning of the Variable Value text box). Or a direct "%java_home%\bin;" )

Configure the System environment variable CLASSPATH ( If it does not exist, create a new variable classpath, otherwise select the variable, click the Edit button, and at the beginning of the Variable Value text box, Add.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; " )

2. Build the Android SDK environment

Configure the environment variable path( Add the directory path to Platform-tools and tools in ANDROIDSDK in the variable value, and here's my E:\android-sdk_r20.0.3-windows\android-sdk-windows\. Platform-tools and E:\adt-bundle-windows-x86_64-20130729\sdk\tools. Of course, between the two to add a semicolon ";" )

Configure the environment variable Android_home (e:\appium\adt-bue:\adt-bundle-windows-x86_64-20130917\adt-bundle-windows-x86_64-20130917\ Sdk\)

Second, build eclipse environment

Third, build Python environment

Installing Nodejs

After successful installation, enter NODE-V in cmd.exe to check if the installation is successful

Iv. installation of Appium

Download the Python-client library required by Appium and install

Enter pip install appium-python-client in cmd.exe

Here you have to pay attention to the JDK,SDK and Eclipse choice, if there is a choice of 32 bits will be error. Must be a uniform number of digits. Versions can be non-uniform, but must be a uniform number of digits.

Preliminary study on the environment construction of Appium

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.