| || |
Stopping a test
What is the best way to stop a test if an error is encountered. In this example, if a web page is not visible, I want to exit the test and report the error.
Set page = iexplore.pageRgsAdminApplication.objectRgsadmin
'if page.Exists Then
'Log.Message("The application is present")
'Log.Message("The application is not present, exiting test...")
'Exit test code goes here....
Re: Stopping a test
There's a Stop and Shutdown method in the Runner object. Which ever one works best in your context.