- Overview
- UI Automation
- Applications and technologies automated with UI Automation
- Project compatibility
- UI-ANA-016 - Pull Open Browser URL
- UI-ANA-017 - ContinueOnError True
- UI-ANA-018 - List OCR/Image Activities
- UI-DBP-006 - Container Usage
- UI-DBP-013 - Excel Automation Misuse
- UI-DBP-030 - Forbidden Variables Usage In Selectors
- UI-PRR-001 - Simulate Click
- UI-PRR-002 - Simulate Type
- UI-PRR-003 - Open Application Misuse
- UI-PRR-004 - Hardcoded Delays
- UI-REL-001 - Large Idx in Selectors
- UI-SEC-004 - Selector Email Data
- UI-SEC-010 - App/Url Restrictions
- UI-USG-011 - Non Allowed Attributes
- UX-SEC-010 - App/Url Restrictions
- UX-DBP-029 - Insecure Password Use
- UI-PST-001 - Audit Log Level in Project Settings
- UiPath Browser Migration Tool
- Clipping region
- Computer Vision Recorder
- Activate
- Anchor Base
- Attach Browser
- Attach Window
- Block User Input
- Callout
- Check
- Click
- Click Image
- Click Image Trigger
- Click OCR Text
- Click Text
- Click Trigger
- Close Application
- Close Tab
- Close Window
- Context Aware Anchor
- Copy Selected Text
- Element Attribute Change Trigger
- Element Exists
- Element Scope
- Element State Change Trigger
- Export UI Tree
- Extract Structured Data
- Find Children
- Find Element
- Find Image
- Find Image Matches
- Find OCR Text Position
- Find Relative Element
- Find Text Position
- Get Active Window
- Get Ancestor
- Get Attribute
- Get Event Info
- Get From Clipboard
- Get Full Text
- Get OCR Text
- Get Password
- Get Position
- Get Source Element
- Get Text
- Get Visible Text
- Go Back
- Go Forward
- Go Home
- Google Cloud Vision OCR
- Hide Window
- Highlight
- Hotkey Trigger
- Hover
- Hover Image
- Hover OCR Text
- Hover Text
- Image Exists
- Indicate On Screen
- Inject .NET Code
- Inject Js Script
- Invoke ActiveX Method
- Key Press Trigger
- Load Image
- Maximize Window
- Microsoft Azure Computer Vision OCR
- Microsoft OCR
- Microsoft Project Oxford Online OCR
- Minimize Window
- Monitor Events
- Mouse Trigger
- Move Window
- Navigate To
- OCR Text Exists
- On Element Appear
- On Element Vanish
- On Image Appear
- On Image Vanish
- Open Application
- Open Browser
- Refresh Browser
- Replay User Event
- Restore Window
- Save Image
- Select Item
- Select Multiple Items
- Send Hotkey
- Set Clipping Region
- Set Focus
- Set Text
- Set To Clipboard
- Set Web Attribute
- Show Window
- Start Process
- System Trigger
- Take Screenshot
- Tesseract OCR
- Text Exists
- Tooltip
- Type Into
- Type Secure Text
- Use Foreground
- Wait Attribute
- Wait Element Vanish
- Wait Image Vanish
- Application Event Trigger
- Check/Uncheck
- Check App State
- Check Element
- Click
- Click Event Trigger
- Drag and Drop
- Extract Table Data
- For Each UI Element
- Get Attribute
- Get Browser Data
- Get Text
- Get URL
- Go to URL
- Highlight
- Hover
- Inject Js Script
- Keyboard Shortcuts
- Keypress Event Trigger
- Mouse Scroll
- Navigate Browser
- Select Item
- Set Browser Data
- Set Runtime Browser
- Set Text
- Take Screenshot
- Type Into
- Use Application/Browser
- Perform browser search and retrieve results using UI Automation APIs
- Web Browsing
- Find Images
- Click Images
- Trigger and Monitor Events
- Create and Override Files
- HTML Pages: Extract and Manipulate Information
- Window Manipulation
- Automated List Selection
- Find and Manipulate Window Elements
- Manage Text Automation
- Load and Process Images
- Manage Mouse Activated Actions
- Automate Application Runtime
- Automated Run of a Local Application
- Browser Navigation
- Web Automation
- Trigger Scope Example
- Enable UI Automation support in DevExpress
- Computer Vision Local Server
- Mobile Automation
- Release notes
- Project compatibility
- Get Log Types
- Get Logs
- Get Page Source
- Get Device Orientation
- Get Session Identifier
- Install App
- Manage Current App
- Manage Other App
- Open DeepLink
- Open URL
- Mobile Device Connection
- Directional Swipe
- Draw Pattern
- Positional Swipe
- Press Hardware Button
- Set Device Orientation
- Take Screenshot
- Take Screenshot Part
- Element Exists
- Execute Command
- Get Attribute
- Get Selected Item
- Get Text
- Set Selected Item
- Set Text
- Swipe
- Tap
- Type Text
- Terminal
Selection Screen
The UI Automation activities enable you to work with UI elements by simulating human interaction. To do this, you can identify UI elements by indicating them on your screen. Usually, a pair of elements are indicated for this purpose: a target and an anchor. This pair is known as a descriptor.
When indicating, the Selection Screen is used to help you perform more advanced tasks, such as pausing the execution, changing the framework that is being used for detection, selecting an anchor, or editing the selector you are using, to name a few.
You can check out the video below for more information.
To indicate an UI element, you must first drag and drop an Use Application/Browser activity into the Workflow Designer in Studio and then indicate the application or the browser you want to automate.
Once the application or the browser is indicated, you can drag any Modern UI Automation activity inside the Use Application/Browser activity and select Indicate in App or Indicate in browser from the application card. This opens the first instance of the Selection Options helper alongside the target application, which enables you to indicate the UI element you want to use.
Next, click the UI element you want to interact with. The element is highlighted green.
In this stage of the Selection Options helper, you can use certain functionalities, as follows:
- Pause selection - You can
pause the configuration for a specified amount of time or pause the
configuration with no timeout and resume it when you want. From the drop-down
menu you can choose one of these options:
- 1 second
- 3 seconds
- 5 seconds - This is the default value.
- 7 seconds
- 9 seconds
- No time limit - The configuration is paused until Resume is selected.
F2
as a hotkey.Note: You can scroll in applications that are scrollable without having to pause the Selection Screen. - Hoverable items selection
- You can indicate items that are only visible when hovering over them. You can
use
F6
as a hotkey. - Image region selection -
You can switch from indicating direclty the element you want to use to selecting
a freeform area that contains the target element and which is later processed
via image recognition. You can also drag a selection on the screen to indicate
an area that you want to use as your target. Doing this disables the Strict
selector and Fuzzy selector search methods. You can use
F3
as a hotkey. - Enable Native text - You
can identify all the text labels on the target application that can be viewed
through the Native method.
By clicking the Show all Native elements button, the text labels are highlighted in the target application.
- Enable Computer Vision -
You can enable Computer Vision to automate certain areas or elements especially
when selectors are not available, for instance when automating on a remote
desktop. You can use
F8
as a hotkey.By clicking the Show all CV elements button, all the elements found by Computer Vision are highlighted in the target application.
-
Change UI framework - You can change the technology used to determine the UI elements and their selectors. You can use either the drop-down menu or the
F4
hotkey. The available framework types are:- Auto - Automatically chooses the framework that is considered to be the most suitable for the indicated element. This option is selected by default. Usually work fine with all types of user interfaces.
- Active Accessibility - Uses the Active Accessibility framework, which is Windows specific. It is recommended to use this option with legacy software, when the default option does not work.
- UI Automation - Uses the proprietary UiPath framework. It is recommended to use this option with newer applications, when the default option does not work.
- Validate - Validate the selection you have made. More details in the Validating the descriptor chapter below.
- Confirm - Confirm the changes and close the selection wizard.
- Cancel - Discard all changes and close the selection wizard.
Enter
, or select the blue check mark in the hover menu.
The entire process looks like this:
You can read more about the advanced features of the Selection Screen in the Advanced descriptor configuration page.