Share this page

com.hp.lft.sdk.oracle

# Interface Button

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

      public interface Button
      extends UiObjectBase, WaitUntilEnabledProvider, TestObject

  An Oracle button.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getClassPath()` The Oracle class hierarchy of the object's Oracle class.
    `String` | `getLabel()` Returns the text displayed on the object.
    `String` | `getObjectDescription()` Indicates accessibility description of the object as specified by the server.
    `String` | `getObjectName()` Indicates internal name of the object supplied by the application server.
    `String` | `getTooltipText()` Indicates the text displayed in the object's tooltip.

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

      `getObjectType, sendKey`

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

      `click, click, click`

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

      `getAbsoluteLocation, getLocation, getSize`

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

    - #### getLabel

          String getLabel()
                   throws GeneralLeanFtException

      Returns the text displayed on the object.
      Returns:
        the text displayed on the object.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getClassPath

          String getClassPath()
                       throws GeneralLeanFtException

      The Oracle class hierarchy of the object's Oracle class.
      Returns:
        the class hierarchy of the object's.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getObjectDescription

          String getObjectDescription()
                               throws GeneralLeanFtException

      Indicates accessibility description of the object as specified by the server.
      Returns:
        the accessibility description of the object.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getObjectName

          String getObjectName()
                        throws GeneralLeanFtException

      Indicates internal name of the object supplied by the application server.
      Returns:
        the internal name of the object.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getTooltipText

          String getTooltipText()
                         throws GeneralLeanFtException

      Indicates the text displayed in the object's tooltip.
      Returns:
        the text displayed in the object's tooltip.
      Throws:
        `GeneralLeanFtException` - if 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: