Open topic with navigation

com.hp.lft.sdk.wpf

## Interface TabStrip

- All Superinterfaces:
    Clickable, DoubleClickable, LocationInfoProvider, SupportDragAndDrop, SupportSendKeys, SupportsNativeObject, TestObject, TestObjectDescriber, UiObjectBase, VisibleProvider, WaitUntilVisibleProvider, WaitUntilEnabledProvider, EnabledProvider

      public interface TabStrip
      extends UiObjectBase, TestObject

  A .NET WPF tab strip object.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getName()` Returns the name of this object.
    `java.lang.String` | `getSelectedTab()` Returns the selected tab.
    `java.util.List<java.lang.String>` | `getTabs()` Returns the tabs in this tab object.
    `void` | `select(int index)` Selects the specified tab item.
    `void` | `select(java.lang.String item)` Selects the specified tab item.

    - ### Methods inherited from interface com.hp.lft.sdk.wpf.UiObjectBase

      `canFocus, getAttachedText, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, makeVisible, showContextMenu`

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

      `getHandle, getNativeClass, getWindowTitleRegExp, isEnabled, isFocused, isVisible, mouseMove`

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

      `click, click, click`

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

      `doubleClick, doubleClick, doubleClick`

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

      `getAbsoluteLocation, getLocation, getSize`

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

      `sendKeys, sendKeys`

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

      `dragAndDropOn, dragAndDropOn`

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

      `getNativeObject`

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

      `describe`

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

    - #### getTabs

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

      Returns the tabs in this tab object.
      Returns:
        the tabs
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getSelectedTab

          java.lang.String getSelectedTab()
                                   throws GeneralLeanFtException

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

    - #### select

          void select(int index)
               throws GeneralLeanFtException

      Selects the specified tab item.
      Parameters:
        `index` - 0-based index of the tab
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### select

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

      Selects the specified tab item.
      Parameters:
        `item` - the text of the item to select
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getName

          java.lang.String getName()
                            throws GeneralLeanFtException

      Returns the name of this object.
      Returns:
        the name
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.