| || |
Capturing Flashing Message Box
Hello. I am a new user to Silk Test, and have a problem someone might be able to address. When a default printer is not available, there is a long delay before a "FLASHING" message box appears prompting the user to retry or cancel. I've coded a sleep (60) hoping that if the message box appears, the system will click cancel. However, because the window is flashing, it does not always find the cancel button so the script incorrectly displays a "Passed printing" message. Any suggestions?
Re: Capturing Flashing Message Box
If you can readily recognize the window, substitute a yourDialog.Close() or a yourDialog.TypeKeys("<Esc>") for the Cancel.Click()