Windows Automation
Automate Windows desktop applications using UI Automation - click elements, read values, and control native Windows apps.
Overview
The Windows Automation package provides native Windows application automation using Microsoft UI Automation. Use it when you need to automate Windows desktop applications, interact with UI elements, read control values, or control windows.
Key Features
- Element Interaction - Click, type, and interact with UI elements
- Value Reading - Get text, values, and properties from controls
- Form Controls - Checkboxes, comboboxes, sliders
- Window Management - Move, close, and control windows
- Wait Operations - Wait for elements and windows
Available Nodes
- Start Session - Start UI Automation session
- Stop Session - End the session
- Get Session - Get current session info
- Transfer Session - Transfer session to another flow
- Click Element - Click a UI element
- Click Coordinate - Click at screen coordinates
- Get Text - Get text from element
- Set Text - Enter text into element
- Get Value - Get control value
- Set Value - Set control value
- Get Checkbox - Get checkbox state
- Set Checkbox - Set checkbox state
- Get Combobox - Get combobox selection
- Set Combobox - Select combobox item
- Get Slider - Get slider value
- Set Slider - Set slider value
- Is Enabled - Check if element is enabled
- Is Selected - Check if element is selected
- Set Selected - Select an element
- Set Focus - Focus an element
- Send Key - Send keyboard input
- Get Properties - Get element properties
- Wait Element - Wait for element to appear
- Wait Window - Wait for window to appear
- Move Window - Reposition window
- Close Window - Close a window
- Screenshot - Take window screenshot
When to Use This Package
- Desktop Apps: Automate native Windows applications
- Legacy Software: Work with older Windows programs
- Enterprise Applications: Automate business software
- Form Filling: Populate Windows forms automatically
- Data Extraction: Read data from Windows UIs
Typical Workflow
- Start Session to initialize automation
- Wait Window for application to appear
- Click Element / Set Text to interact
- Get Text / Get Value to read data
- Stop Session when finished
Click Coordinate
Robomotion.WindowsAutomation.ClickCoordinate
Click Element
Robomotion.WindowsAutomation.Click
Close Window
Robomotion.WindowsAutomation.Close
Get Checkbox
Robomotion.WindowsAutomation.GetCheckbox
Get Combobox
Robomotion.WindowsAutomation.GetCombobox
Get Properties
Robomotion.WindowsAutomation.GetProperties
Get Session
Robomotion.WindowsAutomation.GetSession
Get Slider
Robomotion.WindowsAutomation.GetSlider
Get Text
Robomotion.WindowsAutomation.GetText
Get Value
Robomotion.WindowsAutomation.GetValue
Is Enabled
Robomotion.WindowsAutomation.IsEnabled
Is Selected
Robomotion.WindowsAutomation.IsSelected
Move Window
Robomotion.WindowsAutomation.MoveWindow
Screenshot
Robomotion.WindowsAutomation.Screenshot
Send Key
Robomotion.WindowsAutomation.SendKey
Set Checkbox
Robomotion.WindowsAutomation.SetCheckbox
Set Combobox
Robomotion.WindowsAutomation.SetCombobox
Set Focus
Robomotion.WindowsAutomation.SetFocus
Set Selected
Robomotion.WindowsAutomation.SetSelected
Set Slider
Robomotion.WindowsAutomation.SetSlider
Set Text
Robomotion.WindowsAutomation.SetText
Set Value
Robomotion.WindowsAutomation.SetValue
Start Session
Robomotion.WindowsAutomation.Session.StartSession
Stop Session
Robomotion.WindowsAutomation.Session.StopSession
Transfer Session
Robomotion.WindowsAutomation.TransferSession
Wait Element
Robomotion.WindowsAutomation.WaitElement
Wait Window
Robomotion.WindowsAutomation.WaitWindow