com.hp.lft.sdk.oracle

Interface ApplicationSession

    • Method Detail

      • 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