- Overview
- UI Automation
- Applications and technologies automated with UI Automation
- Project compatibility
- UI Automation Classic Project Settings
- UI Automation Modern Project Settings
- UI Automation Project Settings
- 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
- Activities index
- 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
UI Automation Activities
UI Automation Classic Project Settings
These project settings apply for Classic activities in Windows - Legacy, and Windows projects.
Use Project Settings to configure changes at the project level. These global settings impact all activities in the package that have the properties listed below. For more information, see Configuring Activity Project Settings.
To configure the UI Automation Classic project settings, follow these steps:
- In the Project panel, go to Project Settings.
- Navigate to Activities Settings > UI Automation Classic.
- Modify the settings according to what you want to change.
- Click OK to save changes.
You can reset all settings to their default values or copy all values between the debug and production fields using the Bulk Actions drop-down menu at the top of the window.
The settings below apply to UI Automation Classic activities in Windows - Legacy, and Windows projects that have either one of the following properties.
Property name | Description |
---|---|
DelayBefore | Delay time (in milliseconds) between the previous activity and the current activity. |
DelayAfter | Delay time (in milliseconds) between the current activity and the next activity. |
Timeout (milliseconds) | How long to wait for the current activity to be executed before throwing an error. |
WaitForReady | Before performing the action, wait for the application to become ready to accept input. The following options are available:
|
AlterIfDisabled | If set to True, the Select Item action is executed even if the specified UI element is disabled. This property does not apply if the Input Mode property is set to Hardware Events. |
Capture Screenshots | Dictates if screenshots are captured at design time by all the activities that support this feature. If the setting is set to False, the Remove informative screenshot option from the context menu is disabled. |
Show closest matches in the 'Element not found' error message | When set to True, this setting shortens the error message that corresponds to an 'Element not found' error. This is useful for protecting sensitive selector information. |
The settings below apply to the Open Browser and Attach Browser activities.
Property name | Description |
---|---|
Browser | Choose the type of browser you want to use from the dropdown menu. The following options are available:
|
Private | If set to True, the values of variables and arguments are no longer logged at Verbose level. |
NewSession | If set to True, starts a new session of the selected browser. This option is specific to Internet Explorer. |
Hidden | If set to True, opens a hidden browser. |
Enable WebView2 Native Automation | WebView2 is a technology used to integrate browsers in a desktop application or to render web applications as a desktop application. If set to True, The Web2view2 Native Automation project setting can be used to steer the automation of embedded browsers (e.g. embedded Edge) with HTML attribute-based selectors. |
Enable workaround for simulate click with MV3 extension | Enables a workaround for the issue where the Click activity would fail on certain web page elements when used with the Simulate input method.See more details in Troubleshooting.This setting applies to all clicks performed with Simulate input method - Classic Click, Modern Click etc. |
CommunicationMethod | Choose the communication method. The following options are available:
|
UserDataFolderMode | The user data folder mode you want to set. It is used to start the browser with a specific user data folder. There are several
options:
|
UserDataFolderPath | The user data folder that the browser uses. Defaults to
|
Runtime Browser | The Runtime Browser project setting enables you to switch the browser at runtime. It can be used to execute on another browser than the one used
at design time. This converts the browser type and selectors automatically if set. This setting has the following options:
|
Extra arguments for OpenBrowser Chrome | Extra command line arguments for opening the Chrome browser. Applies to the Classic Open Browser and the Modern Use Browser activities. |
Extra arguments for OpenBrowser Edge | Extra command line arguments for opening the Edge browser. Applies to the Classic Open Browser and the Modern Use Browser activities. |
Custom executable path for OpenBrowser Chrome | Custom executable path for opening the Chrome browser. Applies to the Classic Open Browser and the Modern Use Browser activities. |
Custom executable path for OpenBrowser Edge | Custom executable path for opening the Edge browser. Applies to the Classic Open Browser and the Modern Use Browser activities. |
Enable retry for OpenBrowser Chrome | Retry opening Chrome if the extension NativeHost failed to launch. Applies to the Classic Open Browser and the Modern Use Browser activities. |
Enable retry for OpenBrowser Edge | Retry opening Edge if the extension NativeHost failed to launch. Applies to the Classic Open Browser and the Modern Use Browser activities. |
Open browser timeout (seconds) | Configure the browser startup timeout. |
Information saved in the Robot execution logs.
Property name | Description |
---|---|
Log Target Info | If set to True, the UI Automation Classic activities log Activity Type, Activity Display Name, and Selector.Additionally, for the Open Browser activity, Activity type, Activity display name, and URL are logged. |
The settings below apply to the Tooltip activity.
Property name | Description |
---|---|
Timer | Duration time (in milliseconds) until the pop-up is automatically closed. By default, the pop-up does not close. |
The settings below apply to the Extract Structured Data activity.
Property name | Description |
---|---|
DelayBetweenPagesMs | The amount of time, in milliseconds, to wait until the next page is loaded. If the loading time of the page is longer, this value should be higher. |
The settings below apply to the Element Exists activity.
Property name | Description |
---|---|
Timeout (milliseconds) | Specifies the amount of time (in milliseconds) to wait for the activity to run when the element does not exist.. |
The settings below apply to the Highlight activity.
Property name | Description |
---|---|
HighlightTime | The amount of time (in milliseconds) in which the specified UI element is highlighted. |
The settings below apply to the Copy Selected Text, Type Into, and Type Secure Text activities.
Property name | Description |
---|---|
SendWindowMessages | If set to True, the action is executed by sending a specific message to the target application. This input method can work in the background, is compatible with most desktop apps, but it is not the fastest of the methods. |
ClickBeforeTyping | If set to True, the specified UI element is clicked before the text is written. |
EmptyField | If set to True, all previously-existing content in the UI element is erased before writing your text. |
SimulateType | If set to True, the type action is simulated using the technology of the target application. This input method is the fastest and works in the background. |
Applies to any UI Automation activity during SAP automation.
Property name | Description |
---|---|
Enforce hard timeout (only for SAP WinGUI) | Enforces a hard timeout for all activities performing SAP WinGUI automation. |
Enable additional scaling | Enables SAP WinGUI additional scaling, to support SAP native multi-monitor scaling awareness. |
Enable SAP monitoring | Enables the monitoring of SAP automations at runtime. Applies to SAP WinGUI, SAP WebGUI, and SAP Fiori. |
The settings below apply to the Send Hotkey activity.
Property name | Description |
---|---|
SendWindowMessages | If set to True, the action is executed by sending a specific message to the target application. This input method can work in the background, is compatible with most desktop apps, but it is not the fastest of the methods. |
The settings below apply to the Click, Double Click, Hover, and Extract Structured Data activities.
Property name | Description |
---|---|
SendWindowMessages | If set to True, the action is executed by sending a specific message to the target application. This input method can work in the background, is compatible with most desktop apps, but it is not the fastest of the methods. |
SimulateClick | If set to True, the click action is simulated using the technology of the target application. This input method is the fastest and works in the background. |
SimulateHover | If set to True, the hover action is simulated using the technology of the target application. This input method is the fastest and works in the background. |
The settings below apply to the Take Screenshot activity.
Property name | Description |
---|---|
WaitBefore | Delay time (in milliseconds) before taking the screenshot of the specified UI element. The default amount of time is 300 milliseconds. |
The setting below applies to the Inject Js Script activity.
Property name | Description |
---|---|
Inject Js Script - Execution world | Applies the InjectJs.ExecutionWorld setting globally. For details, see the Inject Js Script activity. |