Skip to content

Appium

Introduction

Appium is the core component of this documentation, serving as the primary tool for automating mobile applications on both Android and iOS platforms. As an open-source framework, Appium enables developers and testers to write UI automation tests for native, hybrid, and mobile web applications using a single, unified API.

Key features of Appium include:

  • Cross-platform support: Automate applications on Windows, Mac and Linux platforms without modifying the test code.
  • Language agnostic: Write tests in C#, Python, Java or JavaScript/Typescript.

Checking current version

To check if Appium is already installed in your system, open your terminal and type:

shell
appium --version

If an error message appears after the above command, then you need to install Appium.

Prerequisites

Installation

Appium can be installed globally using npm. Open your terminal and type:

shell
npm install -g appium

After the installation, close and re-open the terminal and check the current version again.

Running Appium

To start Appium server, open your terminal and type:

shell
appium

Appium Status

To check if appium server is healthy, open this endpoint on a web browser: http://127.0.0.1:4723/status
The result should be a JSON like this:

json
{
    "value": {
        "ready": true,
        "message": "The server is ready to accept new connections",
        "build": {
            "version": "2.18.0"
        }
    }
}