Set Table Cell Value By Headers
Sets 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 ValuePattern to write. Resilient to row/column reordering compared to index-based lookup. Some grids require the cell to be in edit mode first — click or double-click it before setting the value.
Category: Desktop Application Automation · Group: Desktop · Activity name: SetTableCellValueByHeaders

Example
SetTableCellValueByHeaders("<xPath>", "<tableRowHeader>", tableColumnHeader="<tableColumnHeader>", valueToSet="<valueToSet>", 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. | |
| Value | string | Yes | The value to write into the cell. | |
| 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. |