com.hp.lft.sdk

Interface WaitUntilEnabledProvider

Note: For Web objects other than Button, CheckBox, and RadioGroup, WaitUntilEnabledProvider and EnabledProvider are supported in UFT Developer versions 15.0.1 and later.
    • Method Detail

      • waitUntilEnabled

        boolean waitUntilEnabled()
                          throws GeneralLeanFtException
        Waits until this test object becomes enabled or until 20 seconds elapse.
        Returns:
        true if the object became enabled within 20 seconds, otherwise false.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • waitUntilEnabled

        boolean waitUntilEnabled(int totalTimeOutInMilliseconds)
                          throws GeneralLeanFtException
        Waits until this test object becomes enabled or until the specified timeout elapses.
        Parameters:
        totalTimeOutInMilliseconds - the time (in milliseconds) to wait until the test object becomes enabled.
        Returns:
        true if the object became enabled before the specified timeout, otherwise false.
        Throws:
        GeneralLeanFtException - if error occurs during execution