activities
latest
false
UiPath logo, featuring letters U and I in white
UI Automation Activities
Last updated Oct 28, 2024

Mobile automation APIs

The Mobile Automation APIs complement the capabilities of the MobileAutomation.Activities package, bringing your experience to a deeper, all-coding level. This new approach promotes custom actions, supports reusability, and welcomes coding enthusiasts.

Primarily, you create a Connection, much like the Mobile Device Connection activity. This forms a link between your mobile device and the target application. You can create this connection using methods such as Connect, CreateDevice, GetApplication, and GetDevice. Visit the Connection section for more details.

Once connected, other APIs become available, like Tap, GetAttribute, and TakeScreenshot, among others. Find more about these by visiting the APIs section.

Selector-based APIs also offer three types of selectors: IEelementDescriptors, ObjectRepositoryTargets, SelectorTargets. Visit our API selectors section to learn how to use them.

Overview

To start creating coded automations, using the Mobile Automation APIs, perform the following high-level steps:

  1. Download the activity package.
  2. Create a Coded test case or Coded workflow.
  3. Call the mobile service, create a Connection, and link a mobile device with an application that you want to test.
  4. Call the desired APIs, on the Connection that you previously created, at step three, and use the desired selectors with them.
  • Overview

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.