Open topic with navigation

com.hp.lft.sdk.mobile

## Interface TabStrip

- All Superinterfaces:
    EnabledProvider, TestObject, TestObjectDescriber, UiObjectBase, WaitUntilEnabledProvider

      public interface TabStrip
      extends UiObjectBase, TestObject

  A tab strip object in a mobile application. (iOS Only)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `select(int index)` Selects the specified tab by index.
    `void` | `select(String item)` Selects the specified tab by name.

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

      `getAccessibilityId, getClassName, getContainer, getHint, getLocation, getMobileCenterIndex, getNativeClass, getResourceId, getSize, getText, isCheckable, isChecked, isClickable, isFocusable, isFocused, longPress, longPress, pan, pan, pan, pinch, pinch, swipe, swipe, tap, tap`

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

- - ### Method Detail

    - #### select

          void select(int index)
                      throws GeneralLeanFtException

      Selects the specified tab by index. (iOS Only)
      Parameters:
        `index` - the 0-based index of the tab to select.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### select

          void select(String item)
                      throws GeneralLeanFtException

      Selects the specified tab by name. (iOS Only)
      Parameters:
        `item` - the name of the tab to select.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution