Share this page

com.hp.lft.sdk.sap.ui5

## Interface TabStrip

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

      public interface TabStrip
      extends WebElement

  An SAPUI5 tabstrip control.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `deselect(int tabIndex)` Deselects the specified tab (by index) from the tabstrip object.
    `void` | `deselect(java.lang.String tab)` Deselects the specified tab (by name) from the tabstrip object.
    `java.lang.String` | `getSelectedTab()` Returns the selected tab in the tabstrip object.
    `java.util.List<java.lang.String>` | `getTabs()` Returns the list of all tabs contained in this tabstrip object.
    `boolean` | `isEnabled()` Returns whether the object is enabled.
    `void` | `remove(int tabIndex)` Removes the specified tab (by index) from the tabstrip object.
    `void` | `remove(java.lang.String tab)` Removes the specified tab from the tabstrip object.
    `void` | `select(int tabIndex)` Selects the specified tab (by index) in the tabstrip object.
    `void` | `select(java.lang.String tab)` Selects the specified tab in the tabstrip object.

    - ### 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.WaitUntilEnabledProvider

      `waitUntilEnabled, waitUntilEnabled`

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

      `isEnabled`

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

      `waitUntilVisible, waitUntilVisible`

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

      `isVisible`

- - ### Method Detail

    - #### isEnabled

          boolean isEnabled()
                     throws GeneralLeanFtException

      Returns whether the object is enabled.
      Returns:
        True if enabled.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getTabs

          java.util.List<java.lang.String> getTabs()
                                            throws GeneralLeanFtException

      Returns the list of all tabs contained in this tabstrip object.
      Returns:
        the list of all tabs contained in this tabstrip object.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getSelectedTab

          java.lang.String getSelectedTab()
                                   throws GeneralLeanFtException

      Returns the selected tab in the tabstrip object.
      Returns:
        The selected tab in the tabstrip object.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### select

          void select(java.lang.String tab)
               throws GeneralLeanFtException

      Selects the specified tab in the tabstrip object.
      Parameters:
        `tab` - the tab to select.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### select

          void select(int tabIndex)
               throws GeneralLeanFtException

      Selects the specified tab (by index) in the tabstrip object.
      Parameters:
        `tabIndex` - the tab index to select (1-based).
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### remove

          void remove(java.lang.String tab)
               throws GeneralLeanFtException

      Removes the specified tab from the tabstrip object.
      Parameters:
        `tab` - the tab to remove.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### remove

          void remove(int tabIndex)
               throws GeneralLeanFtException

      Removes the specified tab (by index) from the tabstrip object.
      Parameters:
        `tabIndex` - tab index to remove (1-based).
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### deselect

          void deselect(java.lang.String tab)
                 throws GeneralLeanFtException

      Deselects the specified tab (by name) from the tabstrip object.
      Parameters:
        `tab` - the tab to deselect.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### deselect

          void deselect(int tabIndex)
                 throws GeneralLeanFtException

      Deselects the specified tab (by index) from the tabstrip object.
      Parameters:
        `tabIndex` - the tab index to deselect (1-based).
      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: