UITestControl.WaitForCondition Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member WaitForCondition<T>(T, Predicate<T>) Blocks the current thread until the specified condition is met, or until the default time-out expires.
Public methodStatic member WaitForCondition<T>(T, Predicate<T>, Int32) Blocks the current thread until the specified condition is met, or until the specified time-out expires.

Top

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace