Site icon TestingDocs.com

Appium Architecture

Introduction

Let’s understand Appium architecture in this tutorial. Appium automation supports Native, Hybrid, and Mobile Web application testing, and you can execute Appium scripts on simulators, emulators, and real physical mobile devices on iOS and Android platforms.

Appium Architecture

Appium server is an HTTP server written in Node.js. The server receives HTTP requests from appium clients in the Mobile JSON protocol. The server handles the requests. Appium is a wrapper that translates Selenium WebDriver commands into XCUITest for iOS and UIAutomator/UIAutomator2 for Android. Xcode comes with the XCUITest framework which allows you to easily develop UI tests for iOS applications. Android UiAutomator2 framework allows automation on an Android device or emulator.

Appium server sends the commands to the XCUITest framework / UIAutomator framework. The bootstrap program on the respective devices execute the commands on the devices and sends the response to the Appium server.

 

Cross-platform

Appium supports multiple platforms. It has no dependency on the mobile OS where the application under test is running. Appium scripts can run everywhere on iOS, Android, Windows, etc.

Appium Drivers

There are several drivers available for multiple platforms. Below is the list of drivers that we can use. In order to run tests on real devices, simulators, and emulators, you need to install the Appium driver for that target device.

For example, Appium driver for Android UIAutomator2

\> npm install appium-uiautomator2-driver

 

List of Drivers

Below is the list of some of the Appium drivers:

 

Appium Tutorials:
https://www.testingdocs.com/appium-tutorials/

For more information on Appium Tool:
http://appium.io/

Exit mobile version