Page 1 of 1

Recovery Scenario

Posted: Tue Jun 29, 2010 12:49 pm
by dal
Hi,

Do we have anything equivalent to Recovery Scenario (to overcome unexpected events) as QTP has.

--Dal

Re: Recovery Scenario

Posted: Tue Jun 29, 2010 3:03 pm
by Support Team
Hi,
dal wrote:o we have anything equivalent to Recovery Scenario (to overcome unexpected events) as QTP has.
To overcome unexpected events you can use the try-catch block in your code.
The try-catch statement consists of a try block followed by one or more catch clauses, which specify handlers for different exceptions. See the Ranorex samples for an example of try-catch code.

Regards,
Peter
Ranorex Support Team

Re: Recovery Scenario

Posted: Wed Jun 30, 2010 11:56 am
by dal
Thanks ...

this will do...