Hello,
I scheduled a test recently which consists of a simple login test for an application with a 14 minute wait after the test is completed. I then add this test to multiple additional tests as a "test as step". This allows me to repeatedly loop through my login test so I can have it run approximately every 15 minutes for serveral hours on a single schedule. Works great except that my test hung recently. On hitting a linkbutton a javascript confirm box is displayed. Unfortunately the confirm box was made unavailable as it was removed from the foreground by an errant click. This hung the test which did send out a failure message via script I have in the OnAfterTestCompleted event. However the test never seems to have really ended causing multiple scheduled tests to back up and not be executed. What I am wondering is when a test hangs like this how can I detect it, close the browser window and allow subsequent tests to execute? Please let me know if you would like more information or clarifications.
Thanks in advance,
Nick
I scheduled a test recently which consists of a simple login test for an application with a 14 minute wait after the test is completed. I then add this test to multiple additional tests as a "test as step". This allows me to repeatedly loop through my login test so I can have it run approximately every 15 minutes for serveral hours on a single schedule. Works great except that my test hung recently. On hitting a linkbutton a javascript confirm box is displayed. Unfortunately the confirm box was made unavailable as it was removed from the foreground by an errant click. This hung the test which did send out a failure message via script I have in the OnAfterTestCompleted event. However the test never seems to have really ended causing multiple scheduled tests to back up and not be executed. What I am wondering is when a test hangs like this how can I detect it, close the browser window and allow subsequent tests to execute? Please let me know if you would like more information or clarifications.
Thanks in advance,
Nick