Skip to main content

Get Desktop Table Row (by index)

Returns all cells in a single grid / table row as a JSON array of strings (Windows only). Useful when the column count is unknown at workflow-design time. Pair with Get Table Row Count in a While loop to paginate large grids.

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

The GetDesktopTableRow activity in the designer

Example

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

Inputs

NameTypeRequiredDefaultDescription
XPathstringYesXPath expression that identifies the grid / table element.
Row indexintegerYesZero-based row index of the row 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
outputVariablearraySpecifies the name of the variable that will store the row as a JSON array of cell values.