Test Suite
2020.10
false
  • StudioPro
  • Orchestrator
  • Testing robots
  • Test Manager
Banner background image
OUT OF SUPPORT
Test Suite User Guide
Last updated Feb 28, 2024

Mobile Device Automation

This section describes the Mobile Device Automation solution in more detail, and helps you in getting started on how to use it.

About mobile device automation

Mobile device automation involves using three distinct components:
  • StudioPro - IDE for designing mobile tests, and prepare them for test management and execution.
  • Mobile Automation activities - Configurable actions that you can take on the mobile device, to automate it.
  • MDM (Mobile Device Manager) - Tool that offers you a realistic visual interface of testing and automating a mobile device within StudioPro. You can use MDM to connect to real or emulated devices through Appium, and perform and record your actions on the device as well as manage devices and applications.

Resources

To get started with using UiPath's mobile device automation solution, check out the following resources:

Managing Devices

Manage your devices individually by configuring settings or running applications.

To configure devices see:

Device Capabilities

  • Android and iOS support.
  • Run multiple devices at the same time.
  • Access any type of content except for videos.

Navigation in MDM Devices Panel

You can filter your devices using one or all of the following criteria:

  • By device type: Click the Androidor the Apple button.
  • By platform version: Click the Platform Version button and choose from the dropdown. By default is set to All.

You can reorder your devices by dragging and dropping a device card in a new position in the list.

Managing Devices in MDM

The following table lists the actions that you can take to manage your devices.

Action

Description

Procedure

Edit

Configure device settings.

  1. In MDM, go to Devices
  2. Select a device from the list.
  3. Click Edit and configure your device settings.
  4. Click Save & Close to save changes.

Clone

Create a device clone.

  1. In MDM, go to Devices
  2. Select a device from the list.
  3. Click Clone and configure your device settings.
  4. Click Save & Close to save changes.

Delete

Delete the selected device.

  1. In MDM, go to Devices
  2. Select a device from the list.
  3. Click Delete, followed by Ok to confirm changes.

Start an application on this device

Choose and run an application on the selected device.

  1. In MDM, go to Devices
  2. Select a device from the list.
  3. Click Start an application to run on this device and choose an application from the dropdown.
  4. Click Connect to fire up the device.

    For more information, see Device Interaction.

Troubleshooting

The following section lists your troubleshooting options:

Mobile Automation Activities

This section includes testing related activities found in the UiPath.Mobile.Automation.Activities pack. Through these activities, you can create automation for your devices, running native or web applications. You can find the activities in Studio, under Mobile Automation.

Activity

Description

Establishes a connection to a mobile device and provides scope for all subsequent activities.

Retrieves the log types from a device connected via the Mobile Device Connection

Retrieves the logs from a mobile device connected via the Mobile Device Connection scope activity.

Installs a specified app on a mobile device connected via the Mobile Device Connection scope activity.

Retrieves the page source from a mobile device connected via the Mobile Device Connection scope activity.

Manages the current app by using a user input command.

Sends a user input command to a specified app on the target mobile device.

Navigates to a deep link inside an application.

Opens a specified URL in the currently active web browser.

Retrieves the current orientation of the specified mobile device.

Presses a hardware button on the connected device.

Changes and then retrieves the orientation of the connected device.

Takes a screenshot of the screen of the mobile device you are using with custom dimensions specified in the Height and Width properties.

Returns a boolean variable that states whether a specified UI element exists.

Retrieves an attribute of a specified UI element.

Retrieves the selected item from a target UI element.

Extracts the text from a specified UI element and returns it as a string variable.

Sets the selected item on a target UI element.

Types the specified text into a target UI element.

Swipes the screen in a specified direction and for a specified amount of times.

Returns a boolean variable that states whether a specified UI element exists.

Troubleshooting Scenarios

If you run into issues, consider the following troubleshooting scenarios:

iOS physical device fails to start

If your iOS device fails to start, try the following:

  • Make sure that your device is trusting the certificate. On your device, go to Settings > General > Profiles & Device Management, tap on the email entry (e.g. Apple Development: username@email.com), and then trust the certificate. If the device is using your corporate account, this would not be needed.
  • If you get an error that port 8100 is not accessible, close Appium (Control + C) and then restart it.
  • If you get a different error, consider looking through Appium XCUITest Driver Real 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.