Is there a way to clear unexpected browser message boxes that might display when running an automated test?
Occasionally, our AUT will display a message box if the test fires an event before the UI is ready. The message box causes the test to hang and this prevents subsequent tests from running.
Granted, this is a timing issue between our web site and the test that needs to be addressed, but I was thinking a test as a step could be added to each test to automatically clear any hanging message boxes if they should appear unexpectedly. This would keep our tests running on daily basis as we address the timing issues.
I've used a function in another testing tool, but I'm not sure how to accomplish this in a test as a step in Test Studio, so any suggestions would be appreciated!