1 JDK Installation
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Installation Note: Installation path does not have spaces, recommended: installed in the root directory
environment variable Configuration (path: My Computer---Properties----advanced settings---environment variable configuration)
New
The new Classpath variable value is:.; %java_home%\lib;%java_home%\lib\tools.jar
Note: According to your own installation path to fill in, classpath note the front a bit
Modify the path, and add the following to the front of the path:
%java_home%\bin;%classpath%;%jre_home%\bin;
2 Installing the Android SDK
Directly copy the SDK version, and after the copy is complete, add the following environment variables:
Modify the path, and add the following to the front of the path:
%android_home%\tools;%android_home%;%android_swt%
3 adb installation
Add the following directly in the PATH environment variable:
%android_home%\platform-tools;
(The environment variable will not be invalidated immediately after it has been modified, the steps required to restart or to perform the 7th major)
4 Installing Appium
first method of installation Appium .
1) Open the cmd window and execute the NPM install-g appium command to start the installation of Appium. The Appium is installed by default under C:\Users\Administrator\AppData\Roaming\npm\.
2) Add the path C:\Users\Administrator\AppData\Roaming\npm\ (the directory where the Appium executable file resides) to the environment variable path
second method of installation Appium .
Download Appium Compression Pack
Configure Appium environment variables after decompression
Path D:\tools\appium\Appium\node_modules\.bin;
Test: cmd input appium-doctor, can see all Checks were successful
This tutorial uses the second method of
: https://github.com/appium/appium-desktop/releases/tag/v1.2.0-beta.1
Follow the steps to install directly after downloading
Environment variable configuration: C:\Program Files (x86) \appium\node_modules\.bin
(Locate the. Bin path according to your installation path)
5 Nodejs Installation
: https://nodejs.org/en/Select
Download the installation directly, the environment variables will be added automatically when the installation
Install Nodejs because appium if you use the command to enable the required
6 python Installation
Direct Baidu Search Installation
: https://www.python.org/downloads/
When installing, you need to check the automatic configuration environment variable
C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\; C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\Scripts\;
Pip Install Pygame
Pip Install Xlrd
Pip Install appium-python-client (Appium Python client)
Pip Install nose
Pip Install Pillow (includes PIL library)
Pip Install Paramunittest
7 method for immediate effect after modification of environment variables
After you add or modify an environment variable in the environment variable, advanced, properties, my computer, you need to restart the system for it to take effect. Is there any way to make it effective immediately? Here's a way to do this:
To modify the environment variable "PATH" as an example, after the modification is completed, enter the DOS command prompt, enter: Set Path=c:, Close the DOS window. Open the DOS window again and enter: Echo%PATH%, you can see that the PATH value set in the environment variables, properties, My computer, is already in effect.
Appium infrastructure Setup (Windows)---python-based