Table of Contents

Interface IDatagridReaderComponent

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

Provides the functionnalité 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 caption and the cellule text.

bool ClickOnCell(string columnCaption, string cellText)

Parameters

columnCaption string

Column caption.

cellText string

Content of the cellule.

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.

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.