Appium works on Mobile JSON wire protocol. In other words, it is used to communicate between client and server. It is developed by Selenium WebDriver developers and is very similar to RestFulAPI.
Mobile Automation setup is the first step of Mobile Automation framework setup. However, this tutorial helps you to set up Appium.
Before Appium installation we must have to complete the below prerequisites:
- Java (if not installed then refer step by step guide for Java Installation)
- Node.js (if not installed then refer step by step guide for Node.js Installation)
- NPM (if not installed then refer step by Step guide for NPM installation)
- Android Studio and Emulator (if not installed then refer step by step guide for Android Studio Installation)
- Emulators/Simulators and Real devices.
Steps to Install Appium
Method 1: Appium Installation from Command Line
Step i: Download Appium Server from Node. To install Appium from the NPM library run the below command:
npm -g appium
The above command installs Appium on your machine globally.
Step ii: Start Appium from Command line: run the below command:
Method 2: Appium GUI Installation
Step i: Download Appium Java Client library from Appium website download section. Refer to below URL to download directly.
Step ii: Download Appium Desktop as per your machine configuration from the below link:https://github.com/appium/appium-desktop/releases/tag/v1.22.0
Step iii: Follow the installer wizard to complete Appium Desktop installation. Click “appium” icon on the desktop.
Step iv: In order to start Appium from the command line open the command prompt and type appium
Step v: Verify Appium Server Window. Use server URL in code.
Step vi: Usually, Appium server started on 4723, you can change it from Advance settings.
Well, done! Now you have completed Appium installation successfully and your machine is ready to write the first Mobile Automation Test. Therefore we hope the above article helps you in Appium Installation. Now feel free to share your feedback about our articles on email@example.com.
Check here the categories on what we automate at Thought Coders!
Thanks for sharing such a great information.. It really helpful to me..I always search to read the quality content. keep it up!