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