Appium (Win7 System) environment construction----FULL version

Source: Internet
Author: User

First of all, thank http://www.cnblogs.com/puresoul/p/4696638.html and http://www.cnblogs.com/fnng/p/4540731.html Two bloggers of the detailed introduction!!!

The roadmap for Web Automation testing is this: programming language Fundamentals---> Testing framework--->webdriver API---> Developing automated test Projects.

The course of testing for mobile automation is longer: programming language Fundamentals---> Testing frameworks--->android/ios development testing Fundamentals---->appium API-----> Develop mobile automation projects.

I. Installing node. js

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

I am using the MSI installation file, the installation path is C:\Program files (x86) \nodejs\,

After successful installation, add in the system variable path; C:\Program Files (x86) \nodejs\

start cmd, enter Node-v , output The following information, the installation is successful

NPM is a node package management and distribution tool that has become an unofficial standard for publishing node modules (packages). With NPM, you can quickly find the packages you want to use for a particular service, download, install, and manage the packages you have installed.

You can also use NPM install-g appium to install Appium (not recommended) in CMD, and after the installation is successful, the following information appears in CMD input appium to indicate that the installation was successful.

Second, configure the Android SDK environment

Since the ADT Bundle was previously installed, the eclipse, ADT plug-in, and SDK Manager.exe were included, so no need to configure the SDK, but the following files need to be added to the system variables for easy operation

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

2. Add the tools and Platform-tools two directories in the SDK to the path of the system

Verify the driver for real-machine debugging: Connect the phone to the USB debug mode,

open cmd, input: adb devices, Normal display is installed successfully

Three. Installing Appium

Provide a download link to Baidu Network:Http://pan.baidu.com/s/1jGvAISu , recommended to use the 1.4.0 version,

Double-click "Appium-installer.exe" to install. Follow the prompts to install step-by-step and eventually generate the Appium icon on the desktop.

Need to add after the system variable path; C:\Program Files (x86) \appium\node_modules\.bin

Enter the cmd command line, enter Appium-doctor (note There is no space between Appium and-doctor), the following prompt appears, all Checks were successful, Demonstrate environmental success.

As of now, the Appium environment has been built successfully!

Appium (Win7 System) environment construction----FULL version

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.