Skip to main content

Get Table Cell

Reads the value of a single grid / table cell at the given row and column (0-based) via the UIA GridPattern (Windows only). Returns the cell's value (ValuePattern) when present, otherwise its name.

Category: Desktop Application Automation · Group: Desktop · Activity name: GetTableCell

The GetTableCell activity in the designer

Example

outputVariable = GetTableCell("<xPath>", 0, tableColumn=0, checkOrphanedElements=False)

Inputs

NameTypeRequiredDefaultDescription
XPathstringYesXPath expression that identifies the grid / table element.
Row indexintegerYesZero-based row index of the cell to read.
Column indexintegerYesZero-based column index of the cell to read.
Check orphaned elementsbooleanFalseWhen 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

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store the cell value.