Monday, 6 November 2017

Appium Server setup and installation on windows

Installing appium server is the first step to setup appium framework to execute tests on emulators/real devices. 

Appium Introduction
Appium is an open source test automation framework for use with native, hybrid and mobile web apps. 
It drives iOS, Android, and Windows apps using the WebDriver protocol.

Architecture
Appium works on client/server architecture, It receives request from a client, listens for commands, executes those commands on a mobile device emulator /real, and responds with an HTTP response as a result of the command execution.

Setup Appium Server
Appium is a server written in Node.js. It can be built and installed from source or installed directly from NPM

Steps:
  1. Download latest nodejs installer for windows MSI (version >= 6.0) from here and install.
  2. Add nodejs paths in your PATH environment variable. Path should be specified up-to the parent directory and should be like:
    Path: C:\Program Files\nodejs

  3. Open admin cmd prompt, Run the below command which will install Appium from NPM.
    npm install -g appium
    




  4. To start Appium, you can now simply run below command from the cmd prompt.
    appium




  5. On successful server startup you will see the appium version and port

In next post we will continue with Additional Setup required for Android App Testing.

No comments:

Post a Comment