WaitForDisappearance Method (TestObject)

Action

Waits until the object does not exist or until the timeout is reached. If you don't explicitly pass a timeout using the optional timeout parameter, the timeout specified by the option OPT_WAIT_RESOLVE_OBJDEF will be used. An exception is thrown if the timeout is reached.

Syntax

testObject.WaitForDisappearance([timeout])
Variable Description
timeout Optional: The maximum wait time in milliseconds before the function times out. Integer.