Python+appium Environment Construction

Source: Internet
Author: User
Tags install node appium

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

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.