ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
Window.WaitForVisibility(visibilityState, timeout, suppressException) method
Namespaces > ArtOfTest.WebAii.Win32 > Window > WaitForVisibility(Boolean, Int32, Boolean)
Waits for a certain visibility state for a window
Syntax
C#
public bool WaitForVisibility (
	bool visibilityState,
	int timeout,
	bool suppressException
)
Parameters
visibilityState (Boolean)
The visibility state of the window to wait for. True: wait until window is visible (The window needs to have its handle created before calling this method), False, wait until window is invisible.
timeout (Int32)
The wait timeout in msecs.
suppressException (Boolean)
Whether to throw or return false if the window does not reach the desired visibility state.

Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)