How to configurate Desired Capabilities of Remote execution for Mobile test

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:

– 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.

2 Likes