1, the Python environment to build, here do not do too much introduction
2. Install node. js
2.1, official website Download node.js:https://nodejs.org/en/download/
2.2, get to the installation file, directly double-click the installation file, according to the program prompts, complete the installation of Nodejs.
2.3, after the installation is complete, run cmd, enter Node–v, if the installation is successful, will output the following version information:
3. Android SDK Environment Setup
3.1. Unzip the SDK to the specified directory as
3.2. Configure Environment variables
Path + =;%android_home%\platform-tools;%android_home%\tools;
4, install the mobile phone driver and test the connection to the real machine (recommended to use pea pods installed mobile phone driver)
4.1. Mobile Phone Open developer option
cmd command exit execution ADB devices view phone connection information
5, Installation Appium
5.1. Download installation files:https://bitbucket.org/appium/appium.app/downloads/
5.2, directly double-click Appium-installer.exe file installation is good, the desktop will generate a appium icon
5.3. Put the Node_modules bin directory in the path of the system
D:\SProgram\Appium\node_modules\.bin
5.4. Check whether the environment required for Appium is OK:
Enter cmd command line, enter Appium-doctor, the following prompt appears, all Checks were successful, indicating that the environment is successful.
6. Install Appium Client
Execute command
Pip Install Appium-python_client
This completes the Python appium environment
7, Appium start
You need to start the appium before applying appium
Python+appium Environment Construction