Interface UiObjectBase

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 Details

    • 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
    • selectFromPopupMenu

      void selectFromPopupMenu(String path) throws GeneralLeanFtException
      Opens the context menu and selects the specified menu option.
      Parameters:
      path - The path of the menu to open. The path should be a single String of menu item names separated by ->.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • selectFromPopupMenu

      void selectFromPopupMenu(String... menuPathParts) throws GeneralLeanFtException
      Opens the context menu and selects the specified menu option.
      Parameters:
      menuPathParts - The parts that make up the path of the context menu item to select. Each part can be a name of a menu item or a full path of items separated by ->.
      Throws:
      GeneralLeanFtException - if error occurs during execution