~4 min4 / 14

UI Automation Activities

Unified UI Automation activities work across desktop apps and web pages using a single set of activities. They use indication-based selectors that adapt to UIA, MSAA, Java, SAP, and Playwright automatically — no need to switch between desktop and browser activity sets.

ClickClick

Click any element — desktop or web. Automatically routes to UI Automation or Playwright based on the selector.

ParameterTypeRequiredDefaultDescription
SelectorStringNoElement selector (desktop or web)
ClickTypeStringNoSingleType of mouse click Allowed: Single, Double, Right
InputMethodStringNoSimulateHow to send the click (desktop only) Allowed: Simulate, WindowMessages, HardwareEvents
TimeoutInt32No30Maximum seconds to wait for the element
CvFallbackBooleanNoFalseUse Computer Vision as primary strategy
ImageTemplateStringNoPath to image template for CV matching
ImageMatchThresholdDoubleNo0.8Confidence threshold for image matching (0.0 - 1.0)
UseImageFallbackBooleanNoTrueAutomatically fall back to image-based matching if element not found by selector

ClickClick

Clicks on a UI element identified by its selector

ParameterTypeRequiredDefaultDescription
SelectorStringNoUI element selector (e.g., '')
ClickTypeStringNoSingleType of click to perform Allowed: Single, Double, Right
InputMethodStringNoSimulateHow to send the click to the application. Simulate: Uses UI patterns, no mouse movement, works in background. WindowMessages: Uses Win32 messages. HardwareEvents: Moves actual mouse cursor. Allowed: Simulate, WindowMessages, HardwareEvents
ImageTemplateStringNoPath to image template file for computer vision matching
UseImageFallbackBooleanNoTrueAutomatically fall back to image matching if UI Automation fails
ImageMatchThresholdDoubleNo0.8Confidence threshold for image matching (0.0 - 1.0)

Close Application/BrowserClose

Close the current application or browser session.

ParameterTypeRequiredDefaultDescription
CloseModeStringNoAutoWhat to close: Auto (detect from context), Browser, Desktop Allowed: Auto, Browser, Desktop
ForceKillBooleanNoFalseForce-terminate the process if graceful close fails within the grace period
GracePeriodInt32No5Seconds to wait for graceful close before force-killing
CloseAllBooleanNoFalseClose all running instances of the process (Desktop mode only)

Execute JavaScriptExecute JavaScript

Execute JavaScript code in the context of the current browser page.

ParameterTypeRequiredDefaultDescription
ScriptstringYesJavaScript code to execute in the page context
ResultstringNoVariable to store the script return value
BrowserSessionIdstringNoBrowser session ID (auto-detected from parent scope if omitted)

Extract TableExtract Table

Extract tabular data from any table or grid — desktop or web.

ParameterTypeRequiredDefaultDescription
SelectorStringYesTable or grid element selector
OutputVariableDataTableNoextractedTableVariable name to store the extracted DataTable
IncludeHeadersboolNotrueWhether to treat the first row as column headers
MaxRowsInt32No0Maximum rows to extract (0 = unlimited)
ColumnFilterStringNoComma-separated list of column names to keep
ScrollAndAccumulateboolNofalseFor virtualized grids: scroll the table and accumulate all rows (deduplicates automatically)
RowSelectorStringNotrCSS selector for rows within the table
CellSelectorStringNotd,thCSS selector for cells within a row
HeaderSelectorStringNothCSS selector for header cells
TimeoutInt32No30Maximum seconds to wait for table extraction

Extract UI TableExtractUITable

Extract data from a table or grid into a DataTable variable. Works with both desktop (DataGrid, ListView) and web page tables.

ParameterTypeRequiredDefaultDescription
SelectorstringYesSelector for the table, grid, or list element
OutputVariablestringNotableDataVariable name to store the extracted DataTable
IncludeHeadersBooleanNoTrueExtract column headers from the table
RowIndexInt32No-1Extract only this row (0-based). -1 for all rows.
ColumnIndexInt32No-1Extract only this column (0-based). -1 for all columns.

Get TextGet Text

Read text from any element — desktop or web. Automatically routes to UI Automation or Playwright based on the selector.

ParameterTypeRequiredDefaultDescription
SelectorStringYesElement selector (desktop or web)
OutputVariableStringNogetTextValueVariable name to store the extracted text
TimeoutInt32No30Maximum seconds to wait for the element
ImageTemplateStringNoPath to image template for OCR fallback
ImageMatchThresholdDoubleNo0.8Confidence threshold for image matching (0.0 - 1.0)

Get TextGetText

Extracts text from a UI element and stores it in a variable

ParameterTypeRequiredDefaultDescription
SelectorStringYesUI element selector to extract text from
OutputVariableStringNoVariable name to store the extracted text
UseImageFallbackBooleanNoTrueAutomatically fall back to image matching if UI Automation fails
ImageMatchThresholdDoubleNo0.8Confidence threshold for image matching (0.0 - 1.0)

HoverHover

Hover over any element — desktop or web.

ParameterTypeRequiredDefaultDescription
SelectorStringYesElement to hover over (desktop or web)
TimeoutInt32No10Maximum seconds to wait for element location

Launch ApplicationLaunch Application

Launch or attach to any desktop application. Establishes the correct automation scope for child activities.

ParameterTypeRequiredDefaultDescription
ApplicationTypeStringNoAutoAuto-detect or force Desktop application Allowed: Auto, DesktopApp
ApplicationPathStringNoDesktop application path or UWP AppId
ArgumentsStringNoCommand-line arguments for the application
SelectorStringNoApplication-level selector for window identification
WindowTitleStringNoWindow title (or partial) to match
ProcessNameStringNoProcess name to attach to (e.g., 'notepad', 'excel')
AttachModeStringNoLaunchNewLaunchNew opens a fresh instance. AttachExisting finds a running one. AttachOrLaunch tries to attach first, then launches if not found. Allowed: LaunchNew, AttachExisting, AttachOrLaunch
CloseBooleanNoTrueClose the application after child activities complete
MaximizeWindowBooleanNoFalseMaximize the window after opening
WaitForReadyBooleanNoTrueWait for the application to be ready for input
WaitTimeoutInt32No30000Maximum time to wait for the application window

Launch ApplicationLaunch Application

Launches an application by path or indicated target

ParameterTypeRequiredDefaultDescription
ApplicationPathStringYesPath to the executable (e.g., 'notepad.exe', 'calc.exe', 'C:\Apps\MyApp.exe'). Use 'Indicate application' to select.
ArgumentsStringNoCommand-line arguments to pass to the application
WorkingDirectoryStringNoWorking directory for the application
WaitForReadyBooleanNoTrueWait for the application window to be ready for input
WaitTimeoutIntegerNo5000Timeout in milliseconds to wait for the application to be ready
OpenBooleanNoFalseIf true, open new instance. If false, use existing window if available.
CloseBooleanNoFalseIf true, close application after completing child activities. If false, leave application open.
MaximizeWindowBooleanNoFalseIf true, maximize the application window after launch.

Launch BrowserLaunch Browser

Launch a Playwright-enabled browser. Child activities inside this container use the Playwright engine for web automation.

ParameterTypeRequiredDefaultDescription
BrowserTypeStringNoChromeBrowser to launch (must have Genzbots extension installed) Allowed: Chrome, Edge
UrlStringNoURL to navigate to after launching the browser
BrowserSessionIdStringNoExisting browser session ID to reuse (skips launch)
CloseBooleanNoTrueClose browser after completing child activities
MaximizeWindowBooleanNoFalseMaximize the browser window after launch
BrowserSessionIdOutputStringNoVariable to store browser session ID for use in subsequent activities

Navigate ToNavigateTo

Navigate the browser to a specified URL.

ParameterTypeRequiredDefaultDescription
UrlstringYesThe URL to navigate to
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted)

Open ApplicationOpenApp

Launches an application using its executable path

ParameterTypeRequiredDefaultDescription
AppPathStringYesPath to the executable or application name (e.g., 'notepad.exe', 'C:\Apps\MyApp.exe')
ArgumentsStringNoCommand-line arguments to pass to the application
WaitForReadyBooleanNoTrueWait for the application to be ready for input

Select ItemSelect Item

Select an item from a dropdown — desktop or web.

ParameterTypeRequiredDefaultDescription
SelectorStringYesDropdown/combobox element selector
ValueStringYesItem to select
SelectByStringNovalueHow to match: value, label, or index Allowed: value, label, index
TimeoutInt32No10Maximum seconds to wait for element location

Send HotkeySend Hotkey

Send keyboard shortcuts or key presses — desktop or web.

ParameterTypeRequiredDefaultDescription
KeyStringYesKey or combination to send, e.g. {Enter}, {Ctrl+C}, a
SelectorStringNoElement to focus before sending key. If empty, sends to active window/page.
DelayBetweenKeysInt32No10Milliseconds to wait between each keystroke
DelayAfterInt32No100Milliseconds to wait after sending all keys
TimeoutInt32No5Maximum seconds to wait for element focus

Send KeysSendKeys

Sends keyboard keys to the focused application or a specific element

ParameterTypeRequiredDefaultDescription
TargetModeStringNoForegroundWindowTarget for the keys: Foreground window or a specific element Allowed: ForegroundWindow, SpecificElement
SelectorStringNoSelector for the target element (optional - only used when TargetMode is SpecificElement)
KeysStringYesKeys/text to send. Use {Key} for special keys: {Enter}, {Tab}, {Ctrl+C}, {Alt+Tab}, {F1}-{F12}, {Up}/{Down}/{Left}/{Right}, etc.
DelayBetweenKeysInt32No10Delay in milliseconds between each keystroke
SendAsHardwareKeysBooleanNoFalseSend keys using hardware scan codes (more compatible with some applications)
DelayAfterInt32No100Delay in milliseconds after sending all keys

Take ScreenshotTake Screenshot

Take a screenshot of an element, window, or full page — desktop or web.

ParameterTypeRequiredDefaultDescription
SelectorStringNoElement to screenshot. If empty, captures full window/page.
OutputPathStringNoFile path to save the screenshot (.png, .jpg, .bmp). Auto-generated if empty.
FullPageboolNoFalseCapture the entire scrollable page (web only)
OutputVariableStringNoVariable to store the screenshot file path
TimeoutInt32No10Maximum seconds to wait for element location

Type IntoType

Types text into a UI element (supports variables and credentials)

ParameterTypeRequiredDefaultDescription
SelectorStringNoUI element selector (e.g., '')
TextStringYesText to type. Supports ${Variables} and ${Credential:Name.Password}
ClearFirstBooleanNoFalseClear existing text before typing
InputMethodStringNoSimulateHow to input text: Simulate (patterns, no mouse), WindowMessages (Win32 messages), HardwareEvents (actual keyboard) Allowed: Simulate, WindowMessages, HardwareEvents
ImageTemplateStringNoPath to image template file for computer vision matching
UseImageFallbackBooleanNoTrueAutomatically fall back to image matching if UI Automation fails
ImageMatchThresholdDoubleNo0.8Confidence threshold for image matching (0.0 - 1.0)

Type IntoType Into

Type text into any element — desktop or web. Automatically routes to UI Automation or Playwright based on the selector.

ParameterTypeRequiredDefaultDescription
SelectorStringNoElement selector (desktop or web). Either Selector or ImageTemplate is required.
TextStringYesText to type into the element. Supports variables ({variableName}) and credentials.
ClearFirstBooleanNoFalseClear the field before typing new text
InputMethodStringNoSimulateHow to send keystrokes (desktop only) Allowed: Simulate, WindowMessages, HardwareEvents
TimeoutInt32No30Maximum seconds to wait for the element
CvFallbackBooleanNoFalseUse Computer Vision as primary strategy
ImageTemplateStringNoPath to image template for CV matching
ImageMatchThresholdDoubleNo0.8Confidence threshold for image matching (0.0 - 1.0)

Use ApplicationUseApplication

Attaches to an already running application window to perform actions inside it

ParameterTypeRequiredDefaultDescription
WindowTitleStringNoThe title (or partial title) of the window to attach to (e.g., 'Untitled - Notepad')
ProcessNameStringNoThe process name of the application (e.g., 'notepad', 'chrome')
BringToFrontBooleanNoTrueWhether to bring the application window to the foreground
WaitTimeoutIntegerNo10000Maximum time to wait for the window to be available
CloseBooleanNoFalseIf true, close application after completing child activities. If false, leave application open.
ApplicationPathStringNoThe application path or AppUserModelID for UWP apps (e.g., 'Microsoft.WindowsCalculator_8wekyb3d8bbwe!App')
OpenBooleanNoFalseIf true, always launch a new application instance. If false (default), attach to an existing window.
ArgumentsStringNoCommand-line arguments to pass when launching the application (used when Open is true)
WorkingDirectoryStringNoWorking directory for the application (used when Open is true)
MaximizeWindowBooleanNoFalseIf true, maximize the application window after attaching or launching
WaitForReadyBooleanNoTrueWait for the application to be ready for input

Wait For ElementWait For Element

Wait for any element to appear, disappear, or reach a state — desktop or web.

ParameterTypeRequiredDefaultDescription
SelectorStringYesElement selector (desktop or web)
StateStringNoVisibleState to wait for: Visible, Enabled, Exists, Appear, Disappear, Clickable Allowed: Visible, Enabled, Exists, Appear, Disappear, Clickable
TimeoutInt32No30Maximum seconds to wait for the element state
ElementFoundboolNoVariable to store whether element was found

Wait For ElementWaitForElement

Waits for a UI element to become visible, enabled, or exist

ParameterTypeRequiredDefaultDescription
SelectorStringYesUI element selector to wait for
StateStringNoAppearState to wait for: Appear (element becomes visible), Disappear (element goes away), Visible, Enabled, Exists, Clickable Allowed: Appear, Disappear, Visible, Enabled, Exists, Clickable
ElementFoundboolNoVariable to store whether element was found
Was this helpful?