Installation and Setup of APPIUM in UBUNTU |MOBILE AUTOMATION SETUP |APPIUM WITH JAVA. Steps to Setup Appium on Ubuntu
Pre-requisites for Appium setup on Ubuntu:
Install Java on Ubuntu
Set Environment Variables for Java
Check that whether java is installed on the system or not by typing java on the terminal.
Install Android SDK on Ubuntu
Setup Path for Android SDK (ANDROID_HOME, Platform-tools, and Tools)
Check that whether android is installed on the system or not by typing adb on the command prompt.kaza
4. Download android studio and set the ANDROID HOME path-
download android studio for ubuntu and extract it in the HOME directory
open terminal and enter:
Now android studio will open.Click next and let it download required things.
Once android sdk is installed add ANDROID_HOME to environment using:
On terminal hit below commands
//add following lines at the end of the file and then save
Steps to Setup Appium on Ubuntu (Without using npm) [Recommended]:
Step 1. : Install ruby
Paste the below mentioned command on terminal and hit enter
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
Step 2. Install linuxbrew
Paste the below command at terminal and press enter
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
Step 3. Setup path for brew
Type gedit .bashrc on terminal, copy & paste below commands into the .bashrc file
After Copy and Paste the above command save the file and close it.
Step 4. Install node
To install brew, paste the below commands one by one at terminal and press enter button
sudo apt install linuxbrew-wrapper
brew install node
brew link node
Step 5. Install Appium
To install Appium, type below mentioned command in terminal
npm install -g appium
npm install wd
Step 6. To verify “Appium” installation we can use appium-doctor. For this, we have to install appium doctor using npm.
npm install -g appium-doctor
Run appium-doctor: It will display all the configuration information required to setup appium.
Step 7. To start appium
Type “appium” into the terminal and press enter button.
You are done with appium setup
Next tutorial we will learn how to start with appium for first script using java.
Installation and Setup of APPIUM in UBUNTU |MOBILE AUTOMATION SETUP |APPIUM WITH JAVA
Please subscribe channel and support us to make useful videos for you.
Tags: Installation and Setup of APPIUM in UBUNTU |MOBILE AUTOMATION SETUP |APPIUM WITH JAVA