Interface RowRepeater

All Superinterfaces:
Clickable, LocationInfoProvider, SupportDragAndDrop, SupportsNativeObject, TestObject, TestObjectDescriber, VisibleProvider, WaitUntilVisibleProvider, WebElement, WebTestObject, WebTestObjectDescriber

public interface RowRepeater extends WebElement
An SAPUI5 row repeater object.
  • Method Details

    • getCurrentPage

      int getCurrentPage() throws GeneralLeanFtException
      Returns the index of the currently selected page.
      Returns:
      The index of the currently selected page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getPagesCount

      int getPagesCount() throws GeneralLeanFtException
      Returns the total number of pages.
      Returns:
      The total number of pages.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getRowsCount

      int getRowsCount() throws GeneralLeanFtException
      Returns the number of visible rows.
      Returns:
      The number of visible rows.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getDesign

      Returns the visual design of the row repeater.
      Returns:
      The visual design of the row repeater. Possible values: RowRepeaterDesign
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getFilters

      List<String> getFilters() throws GeneralLeanFtException
      Returns a semicolon-delimited list of the filter buttons that you can use to filter the rows.
      Returns:
      A semicolon-delimited list of the filter buttons that you can use to filter the rows.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getSorters

      List<String> getSorters() throws GeneralLeanFtException
      Returns a semicolon-delimited list of the sort buttons that you can use to sort the rows.
      Returns:
      A semicolon-delimited list of the sort buttons that you can use to sort the rows.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • hasMoreSteps

      boolean hasMoreSteps() throws GeneralLeanFtException
      Returns whether the More button is visible.
      Returns:
      True if the More button is visible.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • filterBy

      void filterBy(String filterName) throws GeneralLeanFtException
      Clicks the specified filter button.
      Parameters:
      filterName - the name of the filter button to click.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • sortBy

      void sortBy(String sorterName) throws GeneralLeanFtException
      Clicks the specified sort button.
      Parameters:
      sorterName - The name of the sort button to click.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • more

      void more() throws GeneralLeanFtException
      Displays additional rows. (Relevant only if the More button is visible.)
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • firstPage

      void firstPage() throws GeneralLeanFtException
      Scrolls to the first page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • lastPage

      void lastPage() throws GeneralLeanFtException
      Scrolls to the last page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • previousPage

      void previousPage() throws GeneralLeanFtException
      Scrolls to the previous page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • nextPage

      void nextPage() throws GeneralLeanFtException
      Scrolls to the next page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • findRowWithCellTextInColumn

      int findRowWithCellTextInColumn(String text, int columnNumber) throws GeneralLeanFtException
      Returns the index of the first row containing the specified text in the specified column.
      Parameters:
      text - text to search for.
      columnNumber - the column number to search (1-based).
      Returns:
      The row number, or -1 if the text is not found.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • findRowWithCellTextInColumn

      int findRowWithCellTextInColumn(String text, int columnNumber, int startFromRow) throws GeneralLeanFtException
      Starts the search at the specified row and returns the number of the first row containing the specified text in the specified column.
      Parameters:
      text - text to search for.
      columnNumber - the column number to search (1-based).
      startFromRow - the row number to start the search from (1-based).
      Returns:
      The row number, or -1 if the text is not found.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getCellData

      String getCellData(int rowIndex, int columnIndex) throws GeneralLeanFtException
      Gets the contents of the specified cell.
      Parameters:
      rowIndex - the row index (1-based).
      columnIndex - the column index (1-based).
      Returns:
      The contents of the specified cell.
      Throws:
      GeneralLeanFtException - if error occurs during execution