Activities
latest
false
Banner background image
UI Automation Activities
Last updated Apr 26, 2024

Mobile Device Connection

UiPath.MobileAutomation.Activities.MobileDeviceConnection

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

Project compatibility

Windows - Legacy | Windows

Configuration

Designer panel
  • Select Connection Details - select the device and the application that you want to connect:
Properties panel
Common
  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
    Note: If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.
  • DisplayName - The display name of the activity.

Development

  • Close Similar Tabs - when set as True, allows only one instance of the device type that's used in the connection, and closes any other instances.
  • Wait for Page Update - When set as True, the results of the activities are displayed faster, but the overall performance is impacted negatively.
Input
  • Appium Url - The Appium server URL you want to use to connect to a mobile device. This field supports only strings and String variables.
  • Capabilities - A collection of <String, Argument> pairs that specify the capabilities of the device you are connected to. This field supports only Collection<String, Argument> variables.
  • Http Headers- A collection of <String, Argument> pairs that represent custom Http Headers that you want to add to the default Http requests. For mobile device connections opened from Mobile Device Manager (MDM), the Http headers created there display inside the collection from the inside of the activity.

    In contrast to the Http headers that you can add inside Mobile Device Manager, in this collection you can use variables as values for a Http header. Learn more about custom Http headers here, at the bottom of the page.

  • Start Page - The start page you want to use for the mobile connection. This field supports only strings and String variables.
Input/Output connections
  • InputConnection - Input a mobile device connection.
  • OutputConnection - Output a mobile device connection.
Logging
  • Collect Page Source - specify if you want to get the source of the page after the execution of an activity. The values are None and AfterActivity.
  • Collect Screenshot - specify if you want to take a screenshot after the execution of an activity. The values are None and AfterActivity.
  • Logging Enabled - enable or disable logging during the execution of the activities. Supported values are True or False.
  • Logging Folder Path - input the path where you want to store the output of the logs.
  • Video Recording Enabled - enable or disable video recording during execution.
  • Vide Recording Quality - select the quality of the video recordings:
    • Low
    • Normal
    • High
    • Photo
  • Video Recording Time Limit - input the maximum time you want to video record the execution.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Options
  • Close - close the connection. Null is considered as Always.
  • Project compatibility
  • Configuration

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.