Share via


UITestControl.WaitForControlCondition Method

Include Protected Members
Include Inherited Members

Blocks the current thread until this control meets the specified condition, 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 method WaitForControlCondition(Predicate<UITestControl>) Blocks the current thread until this control meets the specified condition, or until the default time-out expires.
Public method WaitForControlCondition(Predicate<UITestControl>, Int32) Blocks the current thread until this control meets the specified condition, or until the specified time-out expires.

Top

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace