Package com.hp.lft.sdk.web
Interface TableBase<T extends TableRowBase>
- Type Parameters:
T
- the specified table row.
public interface TableBase<T extends TableRowBase>
Base interface for Web and SAP UI5 table test objects.
-
Method Summary
Modifier and TypeMethodDescriptionfindRowWithCellText
(String text) Finds the first row with this text.findRowWithCellText
(String text, int startFromRow) Finds the first row with the specified text.findRowWithCellTextInColumn
(String text, int columnNumber) Finds the first row with the specified text in the specified column.findRowWithCellTextInColumn
(String text, int columnNumber, int startFromRow) Finds the first row with the specified text in the specified column, starting from the specified row.int
Returns the number of pixels that are used as border on the table.Returns the headers of the columns, usually this is the text of the first row.getRows()
Returns a collection of rows.
-
Method Details
-
getBorder
Returns the number of pixels that are used as border on the table.- Returns:
- the number of pixels that are used as border on the table.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getColumnHeaders
Returns the headers of the columns, usually this is the text of the first row.- Returns:
- the headers of the columns, usually this is the text of the first row.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getRows
Returns a collection of rows.- Returns:
- a collection of rows.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
findRowWithCellText
Finds the first row with this text.- Parameters:
text
- the text to find.- Returns:
- the first row with this text.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
findRowWithCellText
Finds the first row with the specified text.- Parameters:
text
- the text to find.startFromRow
- index from which to start the search.- Returns:
- the requested row, or null if none exists.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
findRowWithCellTextInColumn
Finds the first row with the specified text in the specified column.- Parameters:
text
- the text to find.columnNumber
- the column number to search.- Returns:
- the requested row or null if non exists.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
findRowWithCellTextInColumn
T findRowWithCellTextInColumn(String text, int columnNumber, int startFromRow) throws GeneralLeanFtException Finds the first row with the specified text in the specified column, starting from the specified row.- Parameters:
text
- text to find.columnNumber
- the column number to search.startFromRow
- index from which to start the search.- Returns:
- the requested row, or null if none exists.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-