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
intthe 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
Returns
- bool
if the click was perform.
GetCellText(int, int)
Gets the text of a cell.
string GetCellText(int visibleRowIndex, int colIndex)
Parameters
visibleRowIndex
intRow index in the collection of visible rows (Starts at 0).
colIndex
intColumn 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
intRow index in the collection of visible rows (Starts at 0).
colName
stringColumn name.
Returns
- string
The text of the cell.
GetCheckboxCellValue(int, int)
Gets the checkbox cell value.
bool GetCheckboxCellValue(int visibleRowIndex, int colIndex)
Parameters
visibleRowIndex
intRow index in the collection of visible rows (Starts at 0).
colIndex
intColumn 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
intRow index in the collection of visible rows (Starts at 0).
colName
stringColumn 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.