Appium Study Notes (i)--Installation and configuration

Source: Internet
Author: User

There are two common tools for mobile Automation testing: Appium and Robotium. Just recently began to take charge of the client's work, newcomers need to be familiar with the environment, just learn new things. Mobile automation relative to the web, the principle and the operation process is the same, through the automated test framework to achieve testing. Slightly different is that the move requires a bit of Android and iOS based, a little more difficult. Appium Official website: http://appium.io/first go to download the installation package, install it well. There are tutorials in both Doc and Git, and the general process is
    • Install node. js. https://nodejs.org/. When the installation is complete, open the Windows command prompt, and enter the "NPM" command.
    • Install the SDK package for ANDROID, configure the system environment variable android_home, install the SDK by default, and configure the system environment variable. It is important to note that the JDK needs to be installed in advance. Android SDK provides your API library and development tools to build, test and debug your application, ADT is just an eclipse plugin that can set the SDK path. can go to the official website to download the installation. The environment variable configuration is similar to the JDK. Another way to install it is to install Android Studio directly without having to install ADT and SDK separately. Locate the SDK Manager and click Select Update and install components.
    • Install SDK Platform-tools. Put the extracted Platform-tools folder in the root directory of the Android SDK and add the directory where the ADB resides to the system path path. Check the Appium environment with the "appium-doctor" command. The first configuration you will find cmd prompts you "Appium-doctor is not a system command". This time, you need to find Appium below Appium\node_modules\.bin Add to environment variable. Again Check,all Checks were succeeful.
    • In addition, Apache Ant and Apach maven and Git, which are recommended on the website, can be temporarily not installed
    • Once the installation is complete, you can start. Double click on "AVD Manager.exe" to create an Android emulator, creating an emulator, configure the relevant information, click Start, you can see our Android launcher.
Here's an easier way to install via NPM: C:\USERS\FNNGJ>NPM install-g Appium But it's slow to install, you know the configuration is mainly two: GitHub and the Worm's tutorial/http +/ Www.cnblogs.com/fnng/p/4540731.htmlhttps://github.com/appium/appium

Appium Study Notes (i)--Installation and configuration

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.