Select Combobox Item
Selects an item by visible text in a combobox or list (Windows only). Expands the combobox if collapsed and uses the UIA SelectionItemPattern to commit the selection.
Category: Desktop Application Automation · Group: Desktop · Activity name: SelectComboboxItem

Example
SelectComboboxItem("<xPath>", "<comboboxItemText>", checkOrphanedElements=False)
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| XPath | string | Yes | XPath expression that identifies the combobox / list element. | |
| Item text | string | Yes | Visible text of the item to select. | |
| Check orphaned elements | boolean | False | When the element is not found by its XPath, scan the parent window's area for elements detached from the UI Automation tree. Slower; enable only for windows known to orphan their elements. |