In this tutorial, we will guide you how to configure Desired Capabilities for Remote execution with local Appium server (Appium Grid)
Prerequisites:
- A started Appium server
- Plugged Android or iOS devices
Steps:
-
Enter the Appium server URL and select Appium in Remote server type.
-
Select Android Driver for Android devices, iOS Driver for iOS devices at the Appium driver field.
-
Enter suitable capabilities in the desired capabilities table:
– For Android app: we need to add platformName, platformVersion and deviceName capabilities:
Tip: Type
adb devices
in terminal to retrieve deviceName (id of Android devices)
– For iOS app: we need to add platformName, platformVersion, deviceName and udid capabilities:
Tip: Type
idevice_id -l
in terminal to retrieve udid (id of real iOS devices)
– For Chrome browser on Android devices: we need to add platformName, platformVersion, deviceName and browerName capabilities:
The browserName capability should be chrome for Android devices.
– For Safari browser on iOS devices: we need to add platformName, platformVersion, deviceName, udid and browerName capabilities:
The browserName capability should be safari for iOS devices.
Conclusions
The above examples only show the minimum capabilities to run a Mobile test. Katalon Studio also supports other desired capabilities that is listed in Appium document.