WaitForChildDisappearance Method (TestObject)

Class

TestObject.

Action

Waits until the specified child 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

C#
testObject.WaitForChildDisappearance(locator, [timeout])
VB
testObject.WaitForChildDisappearance(locator, [timeout])
Variable Description
locator The XPath locator identifying the object that is expected to disappear relative to the object this function is called on. String.
timeout Optional: The maximum wait time in milliseconds. Integer.