Python +appium+pycharm (Windows)

Source: Internet
Author: User

Appium Official website: http://appium.io/

1.java Development Environment JDK (refer to previously published documents)

2.android SDK (platform/platform tools/tools/build tools)

3.node.js

3.python download Installation (PIP) (refer to previously published documents)

4.appium Download Installation

5. Installing Appium-python-client

6. Install Pycharm (refer to previously published documents)

First, install the Android SDK

SDK (software Development Kit): typically a collection of development tools that are used by software engineers to build applications for specific software packages, software frameworks, hardware platforms, operating systems, and so on. provides API libraries and development tools for building, testing, and debugging applications. In simple terms, the Android SDK can be seen as a software for developing and running Android apps. Testing Android phone is bound to install the Android SDK.

: http://tools.android-studio.org/index.php/sdk/(Download zip version directly, unzip to any directory)

Environment variable configuration:

1. System variables (new)

Variable name: android_home

Variable Value: D:\android\android-sdk-windows

2. Path variable (ADD)

Variable name: PATH

Variable value:;%android_home%\platform-tools;%android_home%\tools;

After the environment configuration is complete, locate the SDK in the installation directory and double-click Start SDK Manager.exe

The first time you open a tool file download, if the download is unsuccessful, you need to modify

1) Open SDK MANAGER. EXE program, open the Tools--options option;

2) Configure the proxy server, Proxy server port: 80 in the options option, and tick the first option in the others option;

The Android SDK updates the mirror server resources online:
Dalian Neusoft Institute of Information Mirror server address:-http://mirrors.neusoft.edu.cn port: 80
Beijing University mirror server address:-ipv4:http://ubuntu.buct.edu.cn/port: 80
-ipv4:http://ubuntu.buct.cn/Port: 80
-ipv6:http://ubuntu.buct6.edu.cn/Port: 80
Shanghai GDG Mirror server address:-http://sdk.gdgshanghai.com Port: 8000

Optional tools: (reference URL http://www.androiddevtools.cn/)

The Android SDK Tools SDK comes with a toolkit that must be. The download file places the extracted Platform-tools folder under the root of the Android SDK and adds the directory where the ADB resides to the system PATH.

Android SDK platform-tools Android Platform tool, must

Android SDK build-tools Android Project build tool, must

SDK Platform corresponding platform development tools, which version of the platform needs to be downloaded, which must be

Sources for Android SDK android corresponding platform source code, can be installed

Arm/intel xxxx image emulator image, not required

Ii. installing node. js

node. JS Official website: https://nodejs.org/

Select the appropriate version to download. When the download is complete, double-click to install

After the installation is complete, open the cmd window and enter the "NPM" command, indicating that the installation was successful.

Third, installation Appium

Official website: https://bitbucket.org/appium/appium.app/downloads/

or install with npm command: NPM install-g appium but slow installation

Add the Appium installation path to the path variable when the installation is complete

Enter Appium-doctor in the cmd command to verify that the Appium environment is configured successfully

Iv. installation of Appium-python-client

Pip is a tool for installing and managing Python packages, and it is recommended to install "Appium-python-client" via PIP.

Reference Bug Blog: http://www.testclass.net/appium/appium-base-summary/

Python +appium+pycharm (Windows)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.