Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITestControl.WaitForCondition Method

 

Blocks the current thread until the specified condition is met, or until the time-out expires.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticWaitForCondition<T>(T, Predicate<T>)

Blocks the current thread until the specified condition is met, or until the default time-out expires.

System_CAPS_pubmethodSystem_CAPS_staticWaitForCondition<T>(T, Predicate<T>, Int32)

Blocks the current thread until the specified condition is met, or until the specified time-out expires.

Return to top
Show: