Appium-Python-Windows environment to build

table of Contents

1. Install the JDK

2. Install the Android SDK

3. Install Node.js

4. Installation Appium server

5. Installation Python

6. Installation Appium-Python-Client

7. Install the python editor Pycharm

 

First, install the JDK

1. Download JDK executable files, extract or installation is complete.

2. Configuration Environment variables: New JAVA_HOME, jdk installation root value. In the Edit path variable, the variable value appended to the end ";% JAVA_HOME% \ bin".

3. Verify that the installation was successful: Input cmd under javac or java -version

 

Second, install Android SDK

1. The installation is complete;

2. Open SDK Manage, install basic tools:

3. Configure environment variables, adding more than 3 folders in the directory path variables;

4. Verify successful installation, adb command input;

 

Third, install Node.js

1. Download the installation package;

2. Verify success: node -v

 

Fourth, the installation Appium server

1. Install two methods: ①npm command ② Download Appium-desktop desktop application

  1.1 npm command: npm install -g appium, due to the official website resource access is very slow, so use Taobao mirror,

    命令:npm install -g appium --registry=https://registry.npm.taobao.org

  1.2 download installation packages, network disk address: https: //pan.baidu.com/s/1jGvAISu#list/path=%2F;

    Official website: https: //github.com/appium/appium-desktop/releases

2. Install Appium-doctor:

npm install –g appium-doctor 

 3. Verify Appium whether the installation was successful, cmd run appium-doctor;

 

Fifth, install Python

1. Download and install

2. Configure Environment Variables

3. Verify: cmd run python 

 

6, installation Appium-Python-Client

1.pip install epochs-python-client 

 

Seven, installation Pycharm

Guess you like

Origin www.cnblogs.com/lianstyle/p/10977376.html