Appium Mobile Phone Automation installation

Source: Internet
Author: User
Tags appium

Install the following installation on the basis of robotframework environment installation, if not installed RFS environment, please refer to robotframework installation article first; Robot framework Environment

 

Installation steps:
1. Install the Android sdk,exe file "Android-studio-bundle-143.2739321-windows",
1) Adding Environment variables: Add tools and platform-tools two directories to the path of the system;
2) New environment Android_home system variable for your ANDROID SDK path
2. Install the Nodejs,exe file "node-v6.9.1-x64":

1, after installation, in the node installation directory to create a new 2 folders; Node_global, Node_cache,

2. Perform the configuration of NPM parameters in the cmd command, as follows:
NPM Config list
NPM Config ls-l
NPM config set prefix= "C:\\Program Files\\nodejs\\node_global"
NPM config set cache= "C:\\Program Files\\nodejs\\node_cache"
NPM config set init-module= "C:\\Program Files\\.npm-init.js"
NPM config set registry= "https://registry.npm.taobao.org/"
NPM config set tmp= "C:\\Program Files\\temp"
NPM config set userconfig= "C:\\Program FILES\\.NPMRC"

3. Install Appium,cmd under Administrator Rights Command installation: NPM install-g [email protected]; Note the latest version of the installation Appium will be reported to install failed at the [email protected] error;
-can omit this step, directly install appiumforwindows_1.4.16.1 try;
4, install the appiumforwindows_1.4.16.1, after the installation of the configuration appium environment variable path
Example: D:\Program files\appium\node_modules\.bin
5. Install appium-doctor,cmd under command:

RPM Install-g Appium-doctor
6.pip install Robotframework-appiumlibrary, or unzip the package robotframework-appiumlibrary-1.4.6.tar.gz, via Python setup.py Install for installation

Mobile Automation test steps:
I.. phone USB link computer, via adb link phone.
Second, after the ADB link to the phone, enter a command to view mobile device information
Three, cmd page input command: appium, start appium service
Open Ride, Load Appiumlibrary class library, start to write mobile phone automation script

File: Link: https://pan.baidu.com/s/1IY_zlqrIB3GlURt-g8yhhg Password: cm6f

Appium Mobile Phone Automation installation

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.