Mobile Automation test (i) Appium environment construction

Source: Internet
Author: User
Tags install node appium

There are two main categories of automation testing, interface automation and UI Automation, UI Automation and mobile and web-side, and of course, the C/S architecture, the application of desktop applications Automation, using QTP, but now no one to do.

Web automation, now basically with Selenium,webdriver these, app Automation has Monkeyruner, Ui Automator only support Android,appium support Android and iOS.

This series of blogs mainly say mobile automation, Appium, because it is iOS and Android automation can be done, but when the environment is particularly prone to problems, resulting in a lot of people in the first step of the card, this blog mainly under the Appium environment.

Appium's official website is: http://appium.io/, open the official website to the following can find the installation steps, very simple

1, install node. js, the official website is written with brew installation, Brew is the Mac on the package management software, through the Brew command can automatically help you install some software, I am win7 system, no brew so we go directly to node official online download, the official website is https://nodejs.org/en/download/, my Win7 is 64-bit, select the corresponding installation package, such as:

After the download is complete, the idiot-style next installation is ready.

After the installation is complete, enter the NMP--help on the command line, if a NMP message appears to indicate that the installation is ready

12 NPM -- Help

NPM is a package software software that comes with node. js, which automatically installs some of node's software reports with the NPM command, and Linux yum, Brew on Mac, and a in the Bantu map pt-get Install the same effect.

2, install Appium service side

After installing node. js, you have the NPM command and continue to install the Appium server as per the installation steps of the official website.

1 NMP Install -g appium

Error during installation, reported missing VCBuild.exe, need to install the Net Framework 2.0 SDK or install Microsoft Visual Studio 2005;

Then the Baidu. NET Framework 2.0 SDK, download the installation, because Appium is a. NET development, so you need to rely on. NET , the next default installation, after the installation is complete, continue to execute the NPM command just now.

The second type of installation:

Because the NPM command is to go abroad to download the installation package, some small partners may download slow, or some simply can not download, direct timeout, you can choose another way, directly to Appium download the installation package for installation,

Https://bitbucket.org/appium/appium.app/downloads/, this inside has all installs the package, oneself according to own operating system download can, my is the windows of I just download the Windows edition of

After downloading, directly next to the default installation, the installation process Note that there is an option to add the Appium icon to the desktop, select him, of course, you can also choose to add to the desktop shortcut. After downloading, open Appium, prompting to install. net4.5 components, Baidu. NET Framework 4.5, download, default installation

After installation, and then punch Appium, found that it can be opened normally.

It is recommended to install the second method, the first way because of the need for FQ, installation is slow.

Appium service side, on the installation is complete, try it, the next blog we try Sledgehammer, install with Appium to do a small example of Android.

Mobile Automation test (i) Appium environment construction

Related Article

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.