Appium + python automated test environment configuration


-------------------------------------------------- ------------

1. JDK-8u121-window (32 to download a 32-bit, 64-bit to 64-bit download).

2.Android-sdk_r24.3.4-windows (download-bundle-Windows-ADT x86-20140624)

3.Python: (V3.6 also be)

4.appium: 1.4.13.1

5.Node.js: the Node-V4. x64-4.7

6.Appium-Python-Client

7.pycharm
------------------------------------- -----------
1.1jdk1.8.exe installation, configure the environment variables
  classpath value:;.% the JAVA_HOME% \ lib \ Dt.jar;%% the JAVA_HOME \ lib \ the tools.jar;
  path Found: % JAVA_HOME% \ bin;% JAVA_HOME% \ jre \ bin
  cmd -> configure the Java test successfully!
Download the SDK 2.1 package has been installed, you can
   Note: You must open the front set SDK marager download Tools 3 Ge  
   environment variables:
          New: ANDROID_HOME = path
      path:% ANDROID_HOME% \ Tools;% ANDROID_HOME% \ Platform-Tools;

cmd-> adb test

3.1 official website to download python
   environment variable: After the installation is complete D: \ python and D: \ python \ Scripts, added to the path environment variable under
   cmd -> python -v test
4.1nodeJS
   installation package nodejs disposed nodejs environment variable    
   cmd -> NPM -v    
   cmd -> Taobao mirroring configuration
  NPM the install -g appium
   appium -v
   NPM appium the install -g-Doctor
   appium-Doctor (test statement)

5.1 software installation appinum
       download link: https: //github.com/appium/appium-desktop/releases
       open exe configuration: 127.0.0.1 default port
            pip install Appium-Python-Client
test cmd -> adb devices connected simulator phone
6.1 installation pycharm editor
you're done!
  

Guess you like

Origin www.cnblogs.com/reeber/p/11593130.html