Share this page

WaitUntilEnabled<T>(T) Method
Waits until the test object becomes enabled or the timeout elapses. This method is useful for synchronizing your test with your application.
Remarks
This overload uses a 20 second timeout.

C# Syntax

    [Extension()]
    public static bool WaitUntilEnabled<T>(
       this T enabledProvider
    )
    where T: IEnabledProvider

Parameters

testObject
  The test object to wait for until it becomes enabled.

Type Parameters

T
  A class implementing IEnabledProvider

Return Value

True if the test object is enabled before the timeout is reached; otherwise, false.

Tips to improve your search results... UFT Developer .NET 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: