- StudioPro
- Orchestrator
- Testing robots
- Test Manager
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.
- 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.
To get started with using UiPath's mobile device automation solution, check out the following resources:
- Mobile Automation
- Mobile Device Manager:
Manage your devices individually by configuring settings or running applications.
To configure devices see:
- Android and iOS support.
- Run multiple devices at the same time.
- Access any type of content except for videos.
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.
The following table lists the actions that you can take to manage your devices.
Action |
Description |
Procedure |
---|---|---|
Edit |
Configure device settings. |
|
Clone |
Create a device clone. |
|
Delete |
Delete the selected device. |
|
Start an application on this device |
Choose and run an application on the selected device. |
|
The following section lists your troubleshooting options:
- Debugging to investigate Appium logs.
- Logs and Execution Timeline to examine what has happened on your device during automation.
- Troubleshooting Scenarios
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. |
If you run into issues, consider the following troubleshooting scenarios:
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.