Share this page

com.hp.lft.sdk.oracle

# Interface ApplicationSession

- All Superinterfaces:
    Clickable, LocationInfoProvider, TestObject, TestObjectDescriber, TopLevelObject, UiObjectBase

      public interface ApplicationSession
      extends UiObjectBase, TopLevelObject

  An Oracle Applications session window.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `exit()` Exits the Oracle Applications session window.
    `<T extends UiFormBase> T` | `getActiveWindow(Class<T> type)` Returns the test object representing the currently active window.
    `String` | `getClassPath()` The Oracle class hierarchy of the object's Oracle class.
    `void` | `sync()` Instructs UFT Developer to wait the specified number of seconds to synchronize with Oracle Applications before continuing the run session.
    `void` | `sync(long seconds)` Instructs UFT Developer to wait the specified number of seconds to synchronize with Oracle Applications before continuing the run session.

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

    - #### exit

          void exit()
             throws GeneralLeanFtException

      Exits the Oracle Applications session window.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### sync

          void sync()
             throws GeneralLeanFtException

      Instructs UFT Developer to wait the specified number of seconds to synchronize with Oracle Applications before continuing the run session.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### sync

          void sync(long seconds)
             throws GeneralLeanFtException

      Instructs UFT Developer to wait the specified number of seconds to synchronize with Oracle Applications before continuing the run session.
      Parameters:
        `seconds` - If a number is passed, it will wait this number of seconds for a response.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### getActiveWindow

          <T extends UiFormBase> T getActiveWindow(Class<T> type)
                                            throws GeneralLeanFtException

      Returns the test object representing the currently active window.
      Type Parameters:
        `T` - the generic type of the oracle window test object.
      Parameters:
        `type` - the oracle window interface type to find.
      Returns:
        a test object representing the current active window.
      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

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: