WaitForControlNotExist Method
Collapse the table of content
Expand the table of content

UITestControl.WaitForControlNotExist Method

Blocks the current thread until this control no longer exists in the user interface, or until the default time-out expires.

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

member WaitForControlNotExist : unit -> bool 

Return Value

Type: System.Boolean
true if this control exists before the time-out; otherwise, false.

Community Additions

© 2016 Microsoft