Forum Discussion
AlexeyKolosov
Staff
14 years agoHi Paul,
You can use the Runner.Stop method to stop the current test only (see the "Runner.Stop" help topic (http://www.automatedqa.com/support/viewarticle/12335/) for more information). This can be done in your OnUnexpectedWindow event handler. To learn how to post an image to the test log, see the "Posting Images to the Log" (http://www.automatedqa.com/support/viewarticle/12254/) help topic. To learn how to create an event handler for the event see the "Creating an Event Handler for the OnUnexpectedWindow Event" (http://www.automatedqa.com/support/viewarticle/11455/) help topic.