Interface ITable
An SAPUI5 table. Note: Row-related methods always refer only to visible rows.
public interface ITable : ITable, IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
- Inherited Members
- Extension Methods
Properties
ControlType
The type of object. Possible values: ControlType
ControlType ControlType { get; }
Property Value
Desktop
The functionality provided by IDesktopTableBehavior.
IDesktopTableBehavior Desktop { get; }
Property Value
Mobile
The functionality provided by IMobileTableBehavior.
IMobileTableBehavior Mobile { get; }
Property Value
Rows
Returns the visible rows in current table page.
ReadOnlyCollection<ITableRow> Rows { get; }
Property Value
SelectedRows
Returns all the selected rows in the table.
ReadOnlyCollection<ITableRow> SelectedRows { get; }
Property Value
Methods
DeleteRow(params ITableRow[])
Deletes the specified rows in the table.
void DeleteRow(params ITableRow[] rows)
Parameters
DeleteRow(params uint[])
Deletes the specified rows (by index) in the table.
void DeleteRow(params uint[] rowIndices)
Parameters
rowIndicesuint[]indices of the rows to delete (1-based).
DeselectAllRows()
Deselects all rows in the table.
void DeselectAllRows()
DeselectRow(params ITableRow[])
Deselects the specified rows in the table.
void DeselectRow(params ITableRow[] rows)
Parameters
DeselectRow(params uint[])
Deselects the specified rows in the table.
void DeselectRow(params uint[] rowIndices)
Parameters
rowIndicesuint[]indices of the rows to deselect (1-based).
GetCell(uint, object)
Returns a cell specified by row index and column identifier.
ITableCell GetCell(uint row, object columnIdentifier)
Parameters
Returns
- ITableCell
the ITableCell
GetRow(uint)
Returns the index of the specified row.
ITableRow GetRow(uint rowIndex)
Parameters
rowIndexuintthe index of the row to return (1-based).
Returns
- ITableRow
Returns the index of the specified row.
More()
Clicks the More button in the expandable table.
void More()
SelectAllRows()
Selects all rows in the table.
void SelectAllRows()
SelectCell(uint, string)
Selects the specified cell in the table (by column name and row).
void SelectCell(uint row, string colName)
Parameters
rowuintthe row number of the cell to select (1-based).
colNamestringthe column name of the cell to select.
SelectCell(uint, uint)
Selects the specified cell in the table (by column and row).
void SelectCell(uint row, uint col)
Parameters
rowuintthe row number of the cell to select (1-based).
coluintthe column number of the cell to select (1-based).
SelectRow(params ITableRow[])
Selects the specified rows in the table.
void SelectRow(params ITableRow[] rows)
Parameters
SelectRow(params uint[])
Selects the specified rows in the table (by index).
void SelectRow(params uint[] rowIndices)
Parameters
rowIndicesuint[]indices of the rows to select (1-based).