Launch Appium Server From Command Line

Price: INR 8,999.00
Price: INR 15,999.00
Was: INR 16,999.00

Let’s see, How can you Launch Appium Server from Command line. In previous tutorials, You have seen, How can you perform LongPress in Android. Now we will see, How can we Start Appium Server using Cmd.

 

We know How to Start or Launch the Appium Server, We have learned it in previous tutorials. We used to start Appium Node manually from Appium Interface, Now we will see how can you start the Appium from the command prompt in windows system.

 

To perform this, Appium and NodeJs should be installed on your system, We have learned how to install Appium and install NodeJS in windows in previous tutorials.

 

Now, We need to set the path of NodeJs in the system variable. Earlier you have installed the NodeJs, Installation will create NodeJS folder at C:\Program Files\ Path.

We need to set this path(C:\Program Files\nodejs ;) as System Path Variable.

  1. Right-click on My Computer icon.
  2. Click on Properties menu.
  3. Click the “Advance System Setting”.
  4. Select the variable name “path” inside the system Variable.
  5. Click on the Edit button.
  6. Add NodeJs path C:\Program Files\nodejs ; in it and click on save.

 

Install Node Js              Install Node Js

 

Start Appium Server from Command Line

We have set the path of NodeJS in system path variable. Now we start the Appium form command prompt.

 

We have installed the Appium earlier, So you look at path C:\Program Files or C:\Program Files (x86). There should be a folder for Appium named “Appium”. We can start appium server using the command prompt from this folder location.

 

  1. Open the command prompt.
  2. Now go to location “C:\Program Files (x86)\Appium\node_modules” using command –

    cd C:\Program Files (x86)\Appium\node_modules

  3. Now type the command “node Appium” and press Enter key.

  4. Wait, Your Appium Server is being started.

  5. Once Server gets started, you will get the message –
    info: Appium REST HTTP interface listener started

  6. You can close the cmd or press ctrl+c to stop the Appium Server.

 

Start Appium Server

That means Appium server is running and we can use It to perform Android App Testing on mobile devices.

 

This is the way, You can start Appium server from command prompt too.

0 Comment

Leave a Reply