waitFor
Command – Eggplant Specific Term
The WaitFor
command halts the script execution until the image or text (OCR) is found on the SUT. If no image or text (OCR) is found within the specified wait time, an exception is thrown.
Example
WaitFor 6.5, "OKButton", "ExitButton" // Waits up to 6.5 seconds for either image to appear.
Further Reading
Resources in our other reference manuals.
Related Terms
Related terms in the SenseTalk Dictionary.