Table of Contents

Interface IDatagridReaderComponent

Namespace
GroupeIsa.Neos.EndToEndTests.UI.Components.Datagrid
Assembly
GroupeIsa.Neos.EndToEndTests.UI.dll

Provides the functionnalities to read the cellule from a datagrid component.

public interface IDatagridReaderComponent

Methods

ClickOnCell(int)

Select the row by the index of the row.

bool ClickOnCell(int rowIndex)

Parameters

rowIndex int

the index of the row.

Returns

bool

if the click was perform.

ClickOnCell(string, string)

Select the row by the column name and the cell text.

bool ClickOnCell(string colName, string cellText)

Parameters

colName string

Column name.

cellText string

Text in the cell.

Returns

bool

if the click was perform.

GetCellText(int, int)

Gets the text of a cell.

string GetCellText(int visibleRowIndex, int colIndex)

Parameters

visibleRowIndex int

Row index in the collection of visible rows (Starts at 0).

colIndex int

Column index (Starts at 0, the header selector cell and selection cell are excluded).

Returns

string

The text of the cell.

GetCellText(int, string)

Gets the text of a cell.

string GetCellText(int visibleRowIndex, string colName)

Parameters

visibleRowIndex int

Row index in the collection of visible rows (Starts at 0).

colName string

Column name.

Returns

string

The text of the cell.

GetCheckboxCellValue(int, int)

Gets the checkbox cell value.

bool GetCheckboxCellValue(int visibleRowIndex, int colIndex)

Parameters

visibleRowIndex int

Row index in the collection of visible rows (Starts at 0).

colIndex int

Column index (Starts at 0, the header selector cell and selection cell are excluded).

Returns

bool

The checkbox cell value.

GetCheckboxCellValue(int, string)

Gets the checkbox cell value.

bool GetCheckboxCellValue(int visibleRowIndex, string colName)

Parameters

visibleRowIndex int

Row index in the collection of visible rows (Starts at 0).

colName string

Column name.

Returns

bool

The checkbox cell value.

HasCellError(int, int)

Gets a value indicating whether a cell has a validation error (the cell's own error styling, set by the datagrid's cell-level validation - distinct from a standalone form field's error message, which a cell editor does not render).

bool HasCellError(int visibleRowIndex, int colIndex)

Parameters

visibleRowIndex int

Row index in the collection of visible rows (Starts at 0).

colIndex int

Column index (Starts at 0, the header selector cell and selection cell are excluded).

Returns

bool

true if the cell has a validation error; otherwise, false.

HasCellError(int, string)

Gets a value indicating whether a cell has a validation error (the cell's own error styling, set by the datagrid's cell-level validation - distinct from a standalone form field's error message, which a cell editor does not render).

bool HasCellError(int visibleRowIndex, string colName)

Parameters

visibleRowIndex int

Row index in the collection of visible rows (Starts at 0).

colName string

Column name.

Returns

bool

true if the cell has a validation error; otherwise, false.

WaitUntilLoaded()

Waits until the data grid has finished to load.

void WaitUntilLoaded()

Exceptions

AutomationException

Throws when the data does not loaded within the time limit.