murugans1011
12 years agoRegular Contributor
Script Stop and Continue
I ll Use Runner.Stop method to stop script execution for certain errors which(application cannot proceed further.it should be closed and restarted).i ll use "onstoptest" event to restart the application.my problem is when appllication restarted how to continue the script execution(next line of the error occured script line)from next script line?-(similar to disabled stop on error option)
- There is no way to do this.
In general, you are using incorrect approach to restart your application. If you want to restart the application in some specific places, you need to write a function which will terminate and restart the application and then continue execution.
If you need to restart the application manually, then you can use BuiltIn.ShowMessage method, which will pause the execution until your click OK.