Share this page

com.hp.lft.sdk.sap.ui5

## 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 Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `filterBy(java.lang.String filterName)` Clicks the specified filter button.
    `int` | `findRowWithCellTextInColumn(java.lang.String text, int columnNumber)` Returns the index of the first row containing the specified text in the specified column.
    `int` | `findRowWithCellTextInColumn(java.lang.String text, int columnNumber, int startFromRow)` Starts the search at the specified row and returns the number of the first row containing the specified text in the specified column.
    `void` | `firstPage()` Scrolls to the first page.
    `java.lang.String` | `getCellData(int rowIndex, int columnIndex)` Gets the contents of the specified cell.
    `int` | `getCurrentPage()` Returns the index of the currently selected page.
    `RowRepeaterDesign` | `getDesign()` Returns the visual design of the row repeater.
    `java.util.List<java.lang.String>` | `getFilters()` Returns a semicolon-delimited list of the filter buttons that you can use to filter the rows.
    `int` | `getPagesCount()` Returns the total number of pages.
    `int` | `getRowsCount()` Returns the number of visible rows.
    `java.util.List<java.lang.String>` | `getSorters()` Returns a semicolon-delimited list of the sort buttons that you can use to sort the rows.
    `boolean` | `hasMoreSteps()` Returns whether the More button is visible.
    `void` | `lastPage()` Scrolls to the last page.
    `void` | `more()` Displays additional rows.
    `void` | `navigateTo(int pageNum)` Scrolls to the specified page.
    `void` | `nextPage()` Scrolls to the next page.
    `void` | `previousPage()` Scrolls to the previous page.
    `void` | `sortBy(java.lang.String sorterName)` Clicks the specified sort button.

    - ### Methods inherited from interface com.hp.lft.sdk.web.WebElement

      `doubleClick, doubleClick, fireEvent, getAccessibilityName, getCSSSelector, getRole, getXPath, hoverTap, hoverTap, longPress, longPress, pan, pan, pinch, pinch, swipe, swipe`

    - ### Methods inherited from interface com.hp.lft.sdk.TestObject

      `exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists`

    - ### Methods inherited from interface com.hp.lft.sdk.Clickable

      `click, click, click`

    - ### Methods inherited from interface com.hp.lft.sdk.web.WebTestObject

      `getAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisible`

    - ### Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider

      `getAbsoluteLocation, getLocation, getSize`

    - ### Methods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriber

      `describe, describe`

    - ### Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber

      `describe`

    - ### Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject

      `getNativeObject`

    - ### Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop

      `dragAndDropOn, dragAndDropOn`

    - ### Methods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider

      `waitUntilVisible, waitUntilVisible`

    - ### Methods inherited from interface com.hp.lft.sdk.VisibleProvider

      `isVisible`

- - ### Method Detail

    - #### getCurrentPage

          int getCurrentPage()
                      throws GeneralLeanFtException

      Returns the index of the currently selected page.
      Returns:
        The index of the currently selected page.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getPagesCount

          int getPagesCount()
                     throws GeneralLeanFtException

      Returns the total number of pages.
      Returns:
        The total number of pages.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getRowsCount

          int getRowsCount()
                    throws GeneralLeanFtException

      Returns the number of visible rows.
      Returns:
        The number of visible rows.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getDesign

                                                      RowRepeaterDesign getDesign()
                               throws GeneralLeanFtException

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

    - #### getFilters

          java.util.List<java.lang.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 an error occurs during execution.

    - #### getSorters

          java.util.List<java.lang.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 an 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 an error occurs during execution.

    - #### filterBy

          void filterBy(java.lang.String filterName)
                 throws GeneralLeanFtException

      Clicks the specified filter button.
      Parameters:
        `filterName` - the name of the filter button to click.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### sortBy

          void sortBy(java.lang.String sorterName)
               throws GeneralLeanFtException

      Clicks the specified sort button.
      Parameters:
        `sorterName` - The name of the sort button to click.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### more

          void more()
             throws GeneralLeanFtException

      Displays additional rows. (Relevant only if the More button is visible.)
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### navigateTo

          void navigateTo(int pageNum)
                   throws GeneralLeanFtException

      Scrolls to the specified page.
      Parameters:
        `pageNum` - the page number to navigate to.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### firstPage

          void firstPage()
                  throws GeneralLeanFtException

      Scrolls to the first page.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### lastPage

          void lastPage()
                 throws GeneralLeanFtException

      Scrolls to the last page.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### previousPage

          void previousPage()
                     throws GeneralLeanFtException

      Scrolls to the previous page.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### nextPage

          void nextPage()
                 throws GeneralLeanFtException

      Scrolls to the next page.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### findRowWithCellTextInColumn

          int findRowWithCellTextInColumn(java.lang.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 an error occurs during execution.

    - #### findRowWithCellTextInColumn

          int findRowWithCellTextInColumn(java.lang.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 an error occurs during execution.

    - #### getCellData

          java.lang.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 an error occurs during execution.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: