Appium for Win7 Environment construction

Source: Internet
Author: User

I. Installing node. js

1, to the official website download node.js:https://nodejs.org/download/

  

2, get to the installation file, directly double-click the installation file, according to the program prompts, complete the installation of Nodejs.

3, after the installation is complete, run cmd, enter Node–v, if the installation is successful, will output the following version information:

    

Second, configure the Android SDK environment

1. SDK Environment configuration: http://www.cnblogs.com/puresoul/p/4597211.html

2. Ensure that version API with level or above is installed

3. Set the android_home system variable to your ANDROID SDK path

4. Add tools and platform-tools two directories to the path of the system

Third, install the mobile phone driver and test the connection to the real machine

  After you complete the above steps, to enable the phone to connect to the PC side for the real machine test. You will also need to install the driver for your test phone. Download the appropriate offline driver and install it according to the phone model, then connect the phone to the PC via USB cable. Enter the following command in CMD, if you can see the device, it means that the installation was successful.

  

iv. installation of Appium

1, Method One: ( need to network, recommended use Method two )

Install Appium using NPM. After the CMD uses the command NPM install–g Appium under Appium (the entire process is slow, please wait patiently) after the installation succeeds, the following information appears in the CMD input appium indicating that the installation was successful.

  

2, Method Two:

1) Download installation file:https://bitbucket.org/appium/appium.app/downloads/

2) directly double-click the Appium-installer.exe file to install it, the desktop will generate a appium icon

3. 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.

    

    Tips:Appium is developed with. NET, so you need to install the. NET Framework before installation, otherwise the installation process will be error, download:/http www.microsoft.com/zh-cn/download/details.aspx?id=30653

Appium for Win7 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.