Find/Assert DataGrid Row

Last modified: June 18, 2025

Description

Find/Assert a DataGrid Row by a certain column value.

Supported Widgets

  • DataGrid

Usage

You have to pass the name of the DataGrid, the column title and the cell value of the row, to determine which row to find. Optionally you can provide a WebElement as search context, to narrow down the search for the DataGrid widget, if there are two or more DataGrids with the same name.

Input Parameters

NameDatatypeRequiredDescription
Widget NameStringyesThe name of the DataGrid
Column NameStringyesThe name of the column in which the column value is located
Column ValueStringyesThe column value which defines the row
Search ContextWebElementnoLimit the search to the given WebElement

Return Value

NameDatatypeDescription
DataGrid RowWebElementDataGrid Row found is returned as a Web Element