Installation of Appium

Source: Internet
Author: User
Tags windows x64 install node appium

Appium's official website address is: Http://appium.io, in the official website can see the installation steps are as follows:

First of all, we need to install node. JS (), node. JS Official website: https://nodejs.org/

My computer operating system is the Windows X64 bit, so come in home page directly by default matches My computer can download the installation package, I chose V6.8.0 the latest version to download. If you need another platform node. JS installation package, you can switch from home to the downloads page in the official website, select the type of installation package you need to download the download complete, double-click the installation file, for silent installation, such as next to the last step (like the installation of QQ) after installation, CMD into the command window, enter nod E-v command, enter to view the node version number displayed, or enter the NPM command and hit the keyboard to enter the following results, indicating that node. JS has been installed successfully. Knowledge Supplement: NPM is a package management tool that is installed with Nodejs to solve many of the problems in Nodejs code deployment, common usage scenarios are as follows:
    • Allows users to download third-party packages written by others from the NPM server for local use.
    • Allows users to download and install command-line programs written by others from the NPM server for local use.
    • Allows users to upload their own packages or command-line programs to the NPM server for others to use.
Since NPM has been integrated with the new version of Nodejs, NPM has been installed as well. The same can be done by entering "Npm-v"To test whether the installation was successful

The first method installs the Appium.

1) Open the cmd window and execute the NPM install-g appium command to start the installation of Appium. The Appium is installed by default under C:\Users\Administrator\AppData\Roaming\npm\.

2) Add the path C:\Users\Administrator\AppData\Roaming\npm\ (the directory where the Appium executable file resides) to the environment variable path

------------but this method I did not install success, can only wait for the time to find out why, now use the second method to install

The second method installs the Appium.

Download the appropriate appium for the operating system from the Appium official websiteversion Appium compressed package, https://bitbucket.org/appium/appium.app/downloads/, I'm using Appiumforwindows_1_4_16_1.zip, To decompress a compressed package:Double-click "Appium-installer.exe" to install, the default step-by-step installation, to the final step of installation, click Finish, pop up the problem windowbecause Appium is developed by. NET, it relies on. NET Framework-related components, so go to Baidu to download the. NET Framework 4.5 and install it. Double-click the Appium icon to start it, start successfully!! The above is the Appium installation process, for Android app automated testing, we also need to install the Android development environment, the steps are as follows: 1. Install the JDK configuration environment variable 2. Download the Android SDK, configure the SDK environment variables new system variable name: Android _home Variable Value: The path where the SDK Manager.exe is located, as my: D:\android Develop tool\android-sdk_r24.4.1-windows\android-sdk-windows  Edit the system variable path, increase the value of the variable;% android_home%\platform-tools;% android_home%\tools; Final Test: Open the Windows Command Prompt window and enter Appium-doctor to see all Checks were successful

Installation of Appium

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.