Remote Execution for Mobile Testing in Katalon Studio
This tutorial guides you through configuring Desired Capabilities for executing mobile tests remotely with the local Appium server (Appium Grid).
Currently, Katalon Studio only supports testing an iOS application using macOS. With remote execution, you can use a Windows machine and remote to a macOS for iOS application testing.
Requirements
- Set up Katalon Studio for mobile testing on Windows
- Set up Katalon Studio for mobile testing on macOS
- A started Appium server on the remote machine
- Connected Android or iOS devices
Tutorials
Open your project in Katalon Studio and go to Project/Settings/Desired Capabilities/Remote:
-
In Remote server URL, enter the Appium server URL and select Appium in Remote server type
-
In Appium driver, select Android Driver for Android devices; or iOS Driver for iOS devices
-
Add desired capabilities to the table
-
For Android app: you need to add
platformName
,platformVersion
anddeviceName
capabilities
Tip:In a remote machine, type
adb devices
in Command Prompt to retrievedeviceName
(Id of an Android device/simulator) -
For iOS app: you need to add
platformName
,platformVersion
,deviceName
, andudid
capabilities
Tip:In a remote machine, type
idevice_id -l
in Terminal to retrieveudid
(id of an iOS device/simulator) -
For Chrome browser on Android devices: you need to add
platformName
,platformVersion
,deviceName
, andbrowserName
(its value should be chrome) capabilities
-
For Safari browser on iOS devices: you need to add
platformName
,platformVersion
,deviceName
,udid
, andbrowserName
(its value should be safari) capabilities
The above examples only show the minimum capabilities to run a Mobile test. Katalon Studio also supports other desired capabilities listed in Appium document.