10-20-2010, 02:44 PM
Hi,
You can use "On error resume next" at the begining of each script and at the end of the script check the error number and log the result.Below is the sample code
On error Resume Next
--lines of code
--
--
This can be done using a recovery scenario also..
Let me know if you have any questions on this..
- Vinod
You can use "On error resume next" at the begining of each script and at the end of the script check the error number and log the result.Below is the sample code
On error Resume Next
--lines of code
--
--
Code:
If err.Number <> 0 Then
SystemUtil.Closeprocessbyname "Iexplorer.exe"
Reporter.reportevent micfail ,"",""
ExitTest
End If
This can be done using a recovery scenario also..
Let me know if you have any questions on this..
- Vinod