Report Err.Description in Recovery Scenario (114 Views)
Occasional Contributor
Posts: 4
Registered: ‎11-12-2013
Message 1 of 1 (114 Views)

Report Err.Description in Recovery Scenario

I have a recovery scenario that is invoked when an error occurs in my test.

Part of the recovery scenario calls a function.

Within the function I want to report the err.Description that is generated.


When I do this however, the function returns nothing.


The function called by the recovery scenario is below.


                 Function recover(Object, Method, Arguments, Result)

                      Msgbox Err.Number
                      Msgbox Err.Description

                 End Function

Can anyone advise how to do this.


The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.