AnyWin class.
Waits until an object no longer exists or the timeout value is reached.
This method is supported only in scripts that use the Open Agent and dynamic object recognition.
WaitForDisappearance ([timeout])
Variable | Description |
---|---|
timeout | Optional: Number of seconds that Silk Test Classic waits for the object to disappear. The agent waits for the object until the timeout value expires. NUMBER. |
If the object does not disappear before the timeout occurs, an E_WINDOW_NOT_FOUND exception is thrown. The default timeout value is the value of the option OPT_WINDOW_TIMEOUT.
Desktop.WaitForDisappearance(1.0)