Getting started with Appium - Installing Appium on windows

In our previous posts, we have seen how to install JDK and Android SDK, now it’s time to download Appium.

  1. The easiest way to get started with Appium on windows is to download the latest version of Appium from the website – http://appium.io/ 
  2. Click on “Download Appium”
  3. You will have a zip file downloaded.
  4. Alternatively, you can also go here and download “AppiumForWindows.zip
  5. Extract the content of the downloaded zip file and you will see “Appium.exe” in the folder.
  6. Double click the “Appium.exe” and you will see a GUI to start Appium server
  7. Click on the start button you will have your Appium server, up and running

  8. Once the Appium server is running, you will see some logs in the Appium GUI window.

Also, you can go to http://localhost:4723/wd/hub/status and see similar logs, which indicates that your Appium server is up and running.

What it means is that your Appium server is up and running on ready to listen any commands you send.

If you are just beginning with mobile automation, using the Appium GUI is the easiest option.

Another way of starting Appium server is using Node.
Install node.js (go to https://nodejs.org/download/ and install node.js)

Once node is install, navigate to the folder you have the content from AppiumForWindows.zip

Navigate to node_modules > appium > bin

Start your command prompt and navigate to the bin folder.
(TIP: if you have the bin folder open, you can press SHIFT + RIGHT CLICK, you will see an option saying “Open command window here”. This will navigate your command prompt to the folder you are on)

Type “node appium-doctor” and hit enter.

You will see that some Android checks are run and if everything is configured fine, you will a message saying “All Checks were successful
Appium doctor - Windows - Android checks

Now type “node appium” and hit enter

Your node server will start.

You can navigate to http://localhost:4723/wd/hub/status and see logs that your Appium server is up and running.

You can also install Appium using node.js. But at the time of writing this post, there was a bug in Appium installation using node for windows 8. We will add another post, later about how to install Appium using node.

Now that we have installed JDK, Android SDK and Appium, we will see how to write our tests using Appium in coming posts.

If you like the post or found it useful, don't forget to share it. Feel free to comment and let us know your thoughts.

Comments

  1. Very Useful and simple. Thanks a ton

    ReplyDelete
  2. Thanks a lot for this really helpful tutorial.
    Keep up the good work :)

    ReplyDelete

Post a Comment

Popular posts from this blog

Writing first Android test using Appium

Sending keyboard input via ADB to your android device

Start & Stop Appium Server Programmatically using Java (MAC OSX)