Open topic with navigation

com.hp.lft.sdk.oracle

# Interface UiObjectBase

Note: Supported in LeanFT versions 14.52 and later.

- All Superinterfaces:
    Clickable, LocationInfoProvider
  All Known Subinterfaces:
    ApplicationSession, Button, Calendar, CheckBox, EditField, FlexFieldWindow, FormWindow, List, ListOfValues, LogonWindow, NavigatorWindow, Notification, PickList, RadioGroup, StatusBar, Tab, Table, TreeView, UiFormBase

      public interface UiObjectBase
      extends Clickable, LocationInfoProvider

  Base interface of all Oracle test objects.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getObjectType()` Returns the general object type.
    `void` | `sendKey(SoftKeys key)` Invokes the specified Oracle softkey.

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

      `click, click, click`

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

      `getAbsoluteLocation, getLocation, getSize`

- - ### Method Detail

    - #### getObjectType

          String getObjectType()
                        throws GeneralLeanFtException

      Returns the general object type.
      Returns:
        the general object type.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### sendKey

          void sendKey(SoftKeys key)
                throws GeneralLeanFtException

      Invokes the specified Oracle softkey.
      Parameters:
        `key` - The softkey function to perform. Use `SoftKeys` class.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution