Share this page

WaitUntilEnabled<T>(T, Int32) Method
Waits until the test object becomes enabled or the timeout elapses. This method is useful for synchronizing your test with your application.

C# Syntax

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

Parameters

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

timeout

Timeout (in milliseconds) to wait until the test object 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... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: