Interface ListOfValues

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

public interface ListOfValues extends UiObjectBase, WaitUntilEnabledProvider, TopLevelObject
An Oracle window containing a list of values for selection.
  • Method Details

    • getTitle

      String getTitle() throws GeneralLeanFtException
      Returns the window title.
      Returns:
      the window title.
      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
    • getItems

      List<String> getItems() throws GeneralLeanFtException
      Returns the content of the object window.
      Returns:
      the content of the object window.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • cancel

      void cancel() throws GeneralLeanFtException
      Closes the List of Values window.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • find

      void find(String text) throws GeneralLeanFtException
      Finds the item in the list that matches the specified value. The value or prefix to find in the first column of the list. OpenText Functional Testing for Developers searches in the first column of the list to locate the specified value. If only one item in the list matches the specified value, it is automatically selected. If more than one item in the list matches the specified value, all of the matching values are displayed.
      Parameters:
      text - The text to be found.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • select

      void select(String item) throws GeneralLeanFtException
      Selects the specified item from the list.
      Parameters:
      item - the item to be selected.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • select

      void select(int item) throws GeneralLeanFtException
      Selects the specified item from the list.
      Parameters:
      item - the item to be selected (0-based).
      Throws:
      GeneralLeanFtException - if error occurs during execution