How To Check Appium Version In Windows Cmd
Earlier proceeding to install Appium Make sure you have installed JDK and Android.
Nosotros tin can run an Appium server using node.js or using the AppiumUI awarding. First we volition see steps to install using Appium desktop then using NodeJs which is very uncomplicated.
Appium using Desktop
Get-go Download Appium from here Official Appium Site
Once the file AppiumForWindows_x.x.10.Nil is downloaded, delight unzip the file.
1.You should see 'appium-installer.exe' file in the folder, Click on on the installer
ii.Select the language and Click on OK
3.In Welcome To Appium Setup screen, Click on Next to keep
4. Cull folder to install Appium if y'all wish to change else but click on Next button
5.Select Start menu folder and Click on Adjacent push button
vi.To Create Desktop icon, select checkbox and Click on Next push
seven.Click on 'Install' push button to install Appium
8.Once the installation is washed, Click Finish button to Launch Appium
9.This is how the Appium looks like, And to start Appium Server, Click on Play button which volition start Appium server.
If y'all try to execute Appium Test scripts without starting your Appium Server, you volition get an exception as 'org.openqa.selenium.remote.UnreachableBrowserException: Could non outset a new session. Possible causes are invalid address of the remote server or browser start-up failure.'
And then brand sure you always start your Appium Server before you beginning your test execution.
ten. Appium will brandish version details, server address and port number
11.Yous can also view details past Clicking on Full general Settings button
Install Appium via Nodejs
The other culling mode to install Appium is via NodeJS.
Commencement Download latest nodejs (version >= half dozen.0). The npm and nodejs paths should be in your PATH surround variable.
Once the above step is done, at present Open command prompt and run the below command.
To encounter if Node is installed successfully, type node -v from control line. and also encounter if npm is installed, using npm -v on your command line.
At present lets install appium via nodejs using npm
npm install -k appium The above command volition always gets you the latest version.
If we desire any specific appium version to be installed, we just take to specify the version of appium every bit below:-
npm install -m appium@1.6.ten To verify if all the appium dependencies are installed successfully, we can employ appium-doc. First install appium-doctor using control npm install -one thousand appium-md . At present run below commands like appium-doctor and supply the --ios or --android flags to verify that all of the dependencies are set correctly.
We volition now look into the examples on working with Appium in next tutorials.
Source: https://www.seleniumeasy.com/appium-tutorials/install-appium-on-windows-step-by-step
Posted by: trappfrothe.blogspot.com

0 Response to "How To Check Appium Version In Windows Cmd"
Post a Comment