Appium Learning Road-Installation Chapter

Source: Internet
Author: User
Tags install node appium android sdk manager

Better article:http://www.15yan.com/story/4GbuTwXQKDU/ Official information:http://appium.io/slate/cn/v1.2.0/?python#appium Official Document Chinese version:https://github.com/appium/appium/tree/master/docs/cn Appium Interface installation package, client:https://testerhome.com/topics/680   1. Download java, Android, Xcode, config java_home, android_home environment variables The following are my environment variables:mac configuration Android_home:export android_home=/usr/local/android-sdk-macosx/mac configuration Java_home:export java_home=/library/internet\ plug-ins/javaappletplugin.plugin/contents/homeThe JDK is installed from an installation package downloaded directly from the Internet, and the space in the middle of the folder "Internet Plug-ins" needs to be escaped . Note: Installing the Android SDK must be installed on all Android SDK Platform-tools and Android SDK Tools, Android SDK Build-toos, Otherwise in the use of Appium inspector when all kinds of error. Installation method go to the installation directory of the SDK, locate the Android SDK Manager, and then install it.  2. Installing AppiumTo install from the command line: Brew Install node npm install-g Appium command line installation is always a variety of error, the first time the installation was successful, I reinstall the system after how to install the unsuccessful. the client version of Appium can be installed directly . :https://testerhome.com/topics/680  after installing the client, there is a stethoscope icon on the client, which is doctor, click to check if the Appium environment is correct, if there is an error monogram red hint. (after manually installing Appium through the DMG installation package, check the environment, the actual Run command:'/applications/appium.app/contents/resources/node/bin/node '/applications/appium.app/contents/resources/ Node_modules/appium-doctor/appium-doctor.js ') You can also install Appium-doctor on the command line, and then checkBrew Install Nappium-doctor-gAppium-doctor problems encountered when prosecuting the environment:the command line uses commands to check that the Appium installation environment is passed, but the doctor check prompt with the client java_home and Android_home environment variables are not configured. Workaround:edit ~/.bash_profile, say the export of just two configuration environment writes to this file, then source ~/.bash_profile, at this time the client again uses doctor to check is passed.   3. Install the corresponding language packThe following is the installation packagehttps://testerhome.com/topics/680 With the introduction of GitHub, there are various language packs corresponding to the installation method. I'm using Python, which can be installed directly with the Python pip .pip Install appium-python-client  So the environment is ready. The operation found that the command line is really a variety of pits, or install Appium client to be convenient, but also through the client's inspect to view the elements

Appium Learning Road-Installation Chapter

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.