Mobile Automation test Environment setup

Source: Internet
Author: User

First, you need to install node. js.

node. js? is a JavaScript runtime built on Chrome ' s V8 JavaScript engine.

translation : Node. JS is a JavaScript Runtime Environment based on the Chrome V8 engine.

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

To access https://nodejs.org/en/download/, download node. js and build the appropriate version based on the operating system type and number of digits.

Here I choose the for Windows 64-bit version.

After the download and installation is complete, configure the environment variables to configure the node. JS installation directory to the environment variables.

Open the Windows command prompt, and enter the "NPM" command.

Query the above information to indicate that node. JS installation was 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.

Ii. Installation of JDK

This is not described here, you can search the Internet how to install

Third, install the SDK

I do not introduce here, you can search the Internet how to install

Iv. Installation of Appium services

Download the appropriate Appium version of the operating system on the Appium official website.

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

The latest version of the current for Windows is: Appiumforwindows_1_4_0_0.zip

Current for Mac latest version: APPIUM-1.3.7.DMG

After downloading the corresponding version, double click "Appium-installer.exe" to install, the following interface appears:

Note that your operating system needs to be installed. NET Framework,appium to run on this schema first.

Baidu ". NET Framework 4.5":

After you install the. NET Framework 4.5, you can continue to install Appium.

Configure system environment variables after installation is complete

Variable named "Appium_home"

The variable value is the installation path, for example: "C:\Program Files (x86) \appium" (the default installation path);

Edit path, add variable value ":%appium_home%\node_modules\.bin;"

After the setup is complete, open the command line and enter "Appium-doctor" to display the following message stating the success of the building

V. Installation of Appium Client

Download appium-python-client
Download Link:https://pypi.python.org/pypi/Appium-Python-Client/.
After downloading, unzip to the Python installation directory and enter the directory to run the Python setup.py install command.
Or, run Pip installappium-python-client on the command line .
After the installation is complete, enter the Python command-line environment and enter the from appium import Webdriver, as described in appium-python-client installation success

Mobile Automation test Environment setup

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.