test-suite
2021.10
false
UiPath logo, featuring letters U and I in white
OUT OF SUPPORT
Test Suite User Guide
Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated Nov 11, 2024

Cloud devices

Adding Cloud Device

  1. Open MDM from Studio.
  2. In the left navigation panel go to Devices.
  3. Configure your device as follows:
    • Name - Enter a name to identify your device in the Devices tab.
    • Appium URL - Enter the Appium server where your device is hosted. For example: https://yourCloudURL.
    • Platform - Click the field to select Android or iOS from the dropdown.
    • Device Name - Enter the device name.
    • Platform Version - Add the version number of your Android OS.
    • Additional Desired Capabilities (Optional) - Add specific capabilities to customize your automation session (see callout below). For more information, see Appium Desired Capabilities.
    • Set Geo Location (Optional) - Set your device location to test applications that use Location Services to generate location data.
  4. (Optional) Configure logging and video recording details in the Logging tab.
  5. (Optional) Configure your development process in the Development tab.
    • Close Similar Tabs (Activated by default): Close tabs running connections with similar devices and applications.
    • Wait for Page Update (Activated by default): Wait for the page source to retrieve a screenshot of each action.
  6. Click Save & Close to add your device.

    Your device is added to the Devices list. For more information on how to test your device, see Device Interaction.



Adding Sauce Labs Device

To add a device from Sauce Labs into MDM, perform the following steps:

  • Visit the Sauce Labs website and go to Platform Configurator.
  • Under Platform, select the desired operating system (OS) and version.
    For example, you can select Android 13.0 Emulator.
  • Under the OS configuration, select the desired device type.
    For example, Android Google API Emulator.
  • Under Config Script, select the Appium version to use, and the programming language for displaying the configuration script.
    For example, you can select Appium 2.0.0 and c# as the programming language.
    Figure 1. The platform configurator for Sauce Labs

  • Refer to the configuration script generated in Sauce Labs to configure your device in MDM:
    • Appium URL - Enter the Appium server URL where your device is hosted.
      To retrieve the Appium URL from Sauce Labs, use one of the following methods:
      • If the URL is explicitly displayed in the configuration script, copy the string corresponding to the url variable.
      • Navigate to Account then User Settings, and copy the string from Driver Creation.
    • Device Name - Enter the value corresponding to the appium:deviceName variable.
    • Platform Version - Enter the value corresponding to the appium:platformVersion variable.
    • Additional Desired Capabilities - Enter the value corresponding to the appiumVersion/appium_Version variable in the following format:
      • Name
        • sauce:options
      • Value
        • {"appiumVersion":"2.0.0"}

      For more information, see Sauce Labs Platform Configurator.

      Figure 2. Adding a cloud device from Sauce Labs in MDM

  • Adding Cloud Device
  • Adding Sauce Labs Device

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.