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