Get Children
Targets a specified desktop element and gets the children from it (Windows only).
Category: Desktop Application Automation · Group: Desktop · Activity name: GetChildren

Example
outputVariable = GetChildren("<xPath>", "text", checkOrphanedElements=False)
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| XPath | string | Yes | XPath expression that identifies the target element. | |
| Child property to retrieve | string | Yes | text | The property to extract from each child element. One of: text, xPath, value, name. |
| 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. |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | object | Specifies the name of the variable that will store the XPaths of the element's children. |