WaitForScreenshotStable Method (TestObject)

Class

TestObject.

Action

Waits until the control is visually stable and does not change its position, by comparing screenshots taken with the specified interval. If you don't explicitly pass a timeout using the optional timeout parameter, the timeout specified by the option OPT_WAIT_SCREENSHOT_STABLE will be used. The default interval is 200 milliseconds. An exception is thrown if the timeout is reached.

Syntax

testObject.WaitForScreenshotStable([timeout, interval])
Variable Description
timeout Optional: The maximum wait time in milliseconds. Integer.
interval Optional: The interval in milliseconds to check the screenshot and position. Integer.