Interface ITable
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
ColumnHeaders
A list of column headers.
ReadOnlyCollection<string> ColumnHeaders { get; }
Property Value
Rows
A list of ITableRow rows.
ReadOnlyCollection<ITableRow> Rows { get; }
Property Value
Methods
FindRowWithCellText(string)
Finds the first row with this text.
ITableRow FindRowWithCellText(string text)
Parameters
textstringThe 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
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
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
textstringText to find.
columnNumberuintThe column number to search.
startFromRowuintIndex from which to start the search.
Returns
- ITableRow
The requested row, or null if none exists.