Interface TableBase<T extends TableRowBase>

Type Parameters:
T - the specified table row.
All Known Subinterfaces:
Table, Table

public interface TableBase<T extends TableRowBase>
Base interface for Web and SAP UI5 table test objects.
  • Method Details

    • getBorder

      int getBorder() throws GeneralLeanFtException
      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

      List<String> getColumnHeaders() throws GeneralLeanFtException
      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

      List<T> getRows() throws GeneralLeanFtException
      Returns a collection of rows.
      Returns:
      a collection of rows.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • findRowWithCellText

      T findRowWithCellText(String text) throws GeneralLeanFtException
      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

      T findRowWithCellText(String text, int startFromRow) throws GeneralLeanFtException
      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

      T findRowWithCellTextInColumn(String text, int columnNumber) throws GeneralLeanFtException
      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