Interface ITable
A Web table containing a variable number of rows and columns.
Inherited Members
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITable : IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
Properties
Border
The number of pixels used in this table's border.
Declaration
uint Border { get; }
Property Value
| Type | Description |
|---|---|
| uint |
ColumnHeaders
A list of column headers.
Declaration
ReadOnlyCollection<string> ColumnHeaders { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<string> |
Rows
A list of ITableRow rows.
Declaration
ReadOnlyCollection<ITableRow> Rows { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<ITableRow> |
Methods
FindRowWithCellText(string)
Finds the first row with this text.
Declaration
ITableRow FindRowWithCellText(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text to find. |
Returns
| Type | Description |
|---|---|
| ITableRow | The requested row, or null if none exists. |
FindRowWithCellText(string, uint)
Finds the first row with this text.
Declaration
ITableRow FindRowWithCellText(string text, uint startFromRow)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to search for |
| uint | startFromRow | Index from which to start the search. |
Returns
| Type | Description |
|---|---|
| ITableRow | The requested row, or null if none exists. |
FindRowWithCellTextInColumn(string, uint)
Finds the first row with this text in the specified column.
Declaration
ITableRow FindRowWithCellTextInColumn(string text, uint columnNumber)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to find. |
| uint | columnNumber | The column number to search. |
Returns
| Type | Description |
|---|---|
| ITableRow | The requested row, or null if none exists. |
FindRowWithCellTextInColumn(string, uint, uint)
Finds the first row with the specified text in the specified column, starting from the specified row.
Declaration
ITableRow FindRowWithCellTextInColumn(string text, uint columnNumber, uint startFromRow)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to find. |
| uint | columnNumber | The column number to search. |
| uint | startFromRow | Index from which to start the search. |
Returns
| Type | Description |
|---|---|
| ITableRow | The requested row, or null if none exists. |