Table of Contents

Interface ITable

Namespace
HP.LFT.SDK.SAP.UI5
Assembly
HP.LFT.SDK.dll

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

ControlType

Desktop

The functionality provided by IDesktopTableBehavior.

IDesktopTableBehavior Desktop { get; }

Property Value

IDesktopTableBehavior

Mobile

The functionality provided by IMobileTableBehavior.

IMobileTableBehavior Mobile { get; }

Property Value

IMobileTableBehavior

Rows

Returns the visible rows in current table page.

ReadOnlyCollection<ITableRow> Rows { get; }

Property Value

ReadOnlyCollection<ITableRow>

SelectedRows

Returns all the selected rows in the table.

ReadOnlyCollection<ITableRow> SelectedRows { get; }

Property Value

ReadOnlyCollection<ITableRow>

Methods

DeleteRow(params ITableRow[])

Deletes the specified rows in the table.

void DeleteRow(params ITableRow[] rows)

Parameters

rows ITableRow[]

the ITableRow rows to delete.

DeleteRow(params uint[])

Deletes the specified rows (by index) in the table.

void DeleteRow(params uint[] rowIndices)

Parameters

rowIndices uint[]

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

rows ITableRow[]

the ITableRow rows to deselect.

DeselectRow(params uint[])

Deselects the specified rows in the table.

void DeselectRow(params uint[] rowIndices)

Parameters

rowIndices uint[]

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

row uint

0-based row index.

columnIdentifier object

0-based index or column name.

Returns

ITableCell

the ITableCell

GetRow(uint)

Returns the index of the specified row.

ITableRow GetRow(uint rowIndex)

Parameters

rowIndex uint

the 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

row uint

the row number of the cell to select (1-based).

colName string

the 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

row uint

the row number of the cell to select (1-based).

col uint

the 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

rows ITableRow[]

the ITableRow rows to select.

SelectRow(params uint[])

Selects the specified rows in the table (by index).

void SelectRow(params uint[] rowIndices)

Parameters

rowIndices uint[]

indices of the rows to select (1-based).