Tuesday, 19 January 2016

Starting Appium Server in Windows

Hi all this is simple post which will help you to install Appium for windows and will guide you on how to start Appium Server. Now we will have a question in our mind that why we need Appium Server ? To understand this let us see How Appium Works
  1. Appium client (e.g.- Java) connects with Appium Server and communicate via JSON Wire Protocol
  2. Appium Server then creates a session for the client and also checks the desired capabilities of client and connects with respective vendor-provided frameworks like Selendroid/UIAutomator
  3. Vendor-provided APIs will then communicate with bootstrap.jar which is running in Emulator/Real device for performing client operations
  4. Bootstrap.jar act as a TCP server to perform action on our Application Under Test


How to Install Appium and Start the Server -

  1.  Download the Appium for Windows from here
  2. Double click on the .exe and install Appium. 
  3. Appium Sever Installation
    Appium Sever Installation
  4. Launch by clicking the icon.
    Appium Sever in Windows
    Appium Sever in Windows
  5. click on settings to change the port number.
    Appium Server Settings
    Appium Sever Settings
  6.  click on play button. 
    Appium Server
    Appium Sever

Now your appium server is up and running and you can plug in your device and start writing executing Appium Test Cases.

If you have any questions on this or have some feedback please comment it. If feel this is useful then do share it with your friends and colleagues.

Configure Appium Sever - 

Appium Sever will launch with default configuration parameters. We have option to customize server settings as per our requirement. In case you face any issue or exception while connecting to the server then you need to look into the server settings first to debug your issue.
Let us look into how to modify appium sever settings.

Android Settings :

  • Click on Android Settings button as shown in bellow image.
  • Select Platform Name = Android
  • Select Automation Name = Appium
  • Select PlatformVersion = Your android device's OS version. 
General Settings

  • Click on General Settings button as shown in bellow image.
  • Note down Server Address and Post number. We need it during appium software automation test script creation. Server Address is : and Port number is : 4723.

Hi I hope this tutorial helped you to understand why we need appium server, how appium server works and How to start appium server? Please share your feedback in comments section below and join QA-Automated for latest post updates.Happy Testing !!!


1 comment:

  1. Mobile application testing is prominent nowadays to deliver a application with expected features so that user can use the application without any trouble. Your blog on the recent technology mobile app testing is unique from other blogs. Thanks to admin.


    Mobile Application Training in Chennai |
    Mobile Application Testing Training in Chennai