Table of Contents

Interface ITable

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

A Web table containing a variable number of rows and columns.

public interface ITable : IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
Inherited Members
Extension Methods

Properties

Border

The number of pixels used in this table's border.

uint Border { get; }

Property Value

uint

ColumnHeaders

A list of column headers.

ReadOnlyCollection<string> ColumnHeaders { get; }

Property Value

ReadOnlyCollection<string>

Rows

A list of ITableRow rows.

ReadOnlyCollection<ITableRow> Rows { get; }

Property Value

ReadOnlyCollection<ITableRow>

Methods

FindRowWithCellText(string)

Finds the first row with this text.

ITableRow FindRowWithCellText(string text)

Parameters

text string

The text to find.

Returns

ITableRow

The requested row, or null if none exists.

FindRowWithCellText(string, uint)

Finds the first row with this text.

ITableRow FindRowWithCellText(string text, uint startFromRow)

Parameters

text string

Text to search for

startFromRow uint

Index from which to start the search.

Returns

ITableRow

The requested row, or null if none exists.

FindRowWithCellTextInColumn(string, uint)

Finds the first row with this text in the specified column.

ITableRow FindRowWithCellTextInColumn(string text, uint columnNumber)

Parameters

text string

Text to find.

columnNumber uint

The column number to search.

Returns

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.

ITableRow FindRowWithCellTextInColumn(string text, uint columnNumber, uint startFromRow)

Parameters

text string

Text to find.

columnNumber uint

The column number to search.

startFromRow uint

Index from which to start the search.

Returns

ITableRow

The requested row, or null if none exists.