Virtual Devices on Sauce Labs

NOTE: Refer to Appium Driver documentation for specific Appium capabilities. For Appium related issues defer to Github or Appium support channels.

For Sauce Labs sauce:options capabilities refer to the Sauce Labs Test Configs

Be aware of your App’s requirements, you may be forced to use real devices. Or vice versa.

Locale and Language are usually tied together. But proceed according to your chosen driver’s documentation.

Please note that many commands and capabilities are iOS SIMULATOR only. Or are for Android EMULATORS only. These typically cannot work on Real Devices and will also sometimes require a full simulator/emulator reboot. Or they must be set at runtime, when the virtual device launches. For example the Execute Method configureLocalization: https://appium.github.io/appium-xcuitest-driver/4.33/execute-methods/#mobile-configurelocalization

Appium

Android

Some capabilities must be used simultaneously, read the documentation carefully. Like the locale methods appium:locale & appium:language.

iOS

Rely on the XCUI Driver capabilities. Read the driver documentation and capability list. Caps like appium:locale are specifically for Simulators “If a test is executed on a Simulator then UI locale is changed as well. You can also change Simulator locale in runtime using mobile: configureLocalization extension.”

Android UIAutomator 2 Driver Notes

UIAutomator2 Driver README

Locale Developer docs for Android

iOS XCUI Driver notes

XCUI Driver Overview

XCUI Driver Capabilities or WDA (Web Driver Agent).

Locale, official Apple docs for iOS

XCUI Driver Execute Methods