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