Configuring and Running Tests on an Appium Device Farm

Pradap Pandiyan
5 min readJul 21, 2024

Appium, an open-source tool for automating mobile applications, provides a robust solution. Setting up a device farm allows you to run your tests on multiple devices simultaneously, ensuring comprehensive coverage. This guide will walk you through configuring and running tests using Java on an Appium device farm for Android and iOS.

Setup & Requirements

Prerequisite

Appium version 2.4.X

Make sure to install go-ios for real device testing. Refer go-ios

Installation — Server

Install the plugin using Appium’s plugin CLI, either as a named plugin or via NPM:

appium plugin install --source=npm appium-device-farm

Installation — Client

No special action is needed to make things work on the client side.

Activation

The plugin will not be active unless turned on when invoking the Appium server. See “Argument options” below

appium server -ka 800 --use-plugins=device-farm  -pa /wd/hub --plugin-device-farm-platform=android

You can also pass all the arguments in a config file. Refer here

--

--

Pradap Pandiyan

I’m a passionate QA Engineer. I’m a motovlogger, content creator, off-roader and freelancer. Buy me a coffee here https://www.buymeacoffee.com/pradappandiyan