Get Table Cell By Headers
Reads the value of a grid / table cell at the intersection of the given row-header and column-header text (Windows only). Uses the UIA TablePattern to resolve indices, then GridPattern to fetch the cell. Resilient to row/column reordering compared to index-based lookup.
Category: Desktop Application Automation · Group: Desktop · Activity name: GetTableCellByHeaders

Example
outputVariable = GetTableCellByHeaders("<xPath>", "<tableRowHeader>", tableColumnHeader="<tableColumnHeader>", checkOrphanedElements=False)
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| XPath | string | Yes | XPath expression that identifies the grid / table element. | |
| Row header | string | Yes | Visible text of the row header to look up. | |
| Column header | string | Yes | Visible text of the column header to look up. | |
| 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 | string | Specifies the name of the variable that will store the cell value. |