Interface ApplicationSession

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

public interface ApplicationSession extends UiObjectBase, TopLevelObject
An Oracle Applications session window.
  • Method Details

    • exit

      void exit() throws GeneralLeanFtException
      Exits the Oracle Applications session window.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • sync

      void sync() throws GeneralLeanFtException
      Instructs OpenText Functional Testing for Developers 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 OpenText Functional Testing for Developers 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

      <TForm extends UiFormBase> TForm getActiveWindow(Class<TForm> type) throws GeneralLeanFtException
      Returns the test object representing the currently active window.
      Type Parameters:
      TForm - 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