| || |
I have been able to successfully set a trap for a dialog box that periodically appears in a web application.
I was wondering if anyone knows of a way to set a trap for a specific page that could appear. (ex: "System Error. Problems with...")
If this page appears while the testcases are running, I want Silk to trap it and stop the script execution via @("$StopRunning")() or an equivalent command.
Excuse me if my suggestion sounds elementary, but I encountered a similar problem and worked around it using a do...except structure. Just a suggestion if you haven't explored that yet.