Share this page

com.hp.lft.sdk.powerbuilder

## Interface UiObjectBase

- All Superinterfaces:
    Clickable, DoubleClickable, EnabledProvider, LocationInfoProvider, SupportDragAndDrop, SupportSendKeys, UiObjectBase, VisibleProvider, WaitUntilEnabledProvider, WaitUntilVisibleProvider
  All Known Subinterfaces:
    Button, CheckBox, ComboBox, EditField, ListBox, ListView, RadioButton, ScrollBar, TabControl, Table, ToolBar, TreeView, UiObject, UiObjectWithLayoutInfo, Window

      public interface UiObjectBase
      extends UiObjectBase

  Base interface for all power builder test objects.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAttachedText()` Returns the static text attached to the object.
    `String` | `getObjectName()` Returns the object's name as set by the developer.
    `String` | `getText()` Returns the text associated with the object.
    `String` | `getWindowClassRegExp()` Returns the permanent part of the MFC window class.
    `long` | `getWindowExtendedStyle()` Returns the extended window style of the object as long.
    `int` | `getWindowId()` Returns the object's window identifier.
    `long` | `getWindowStyle()` Returns the window style of the object as long.

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

      `getHandle, getNativeClass, getWindowTitleRegExp, isFocused, 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.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

    - #### getObjectName

          String getObjectName()
                        throws GeneralLeanFtException

      Returns the object's name as set by the developer.
      Returns:
        the object's name as set by the developer.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getAttachedText

          String getAttachedText()
                          throws GeneralLeanFtException

      Returns the static text attached to the object.
      Returns:
        the static text attached to the object.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getText

          String getText()
                  throws GeneralLeanFtException

      Returns the text associated with the object.
      Returns:
        the text associated with the object.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getWindowExtendedStyle

          long getWindowExtendedStyle()
                               throws GeneralLeanFtException

      Returns the extended window style of the object as long.
      Returns:
        the extended window style of the object as long.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getWindowStyle

          long getWindowStyle()
                       throws GeneralLeanFtException

      Returns the window style of the object as long.
      Returns:
        the window style of the object as long.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getWindowClassRegExp

          String getWindowClassRegExp()
                               throws GeneralLeanFtException

      Returns the permanent part of the MFC window class.
      Returns:
        the permanent part of the MFC window class.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getWindowId

          int getWindowId()
                   throws GeneralLeanFtException

      Returns the object's window identifier.
      Returns:
        the object's window identifier.
      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: