Recovery Scenario

Ranorex Spy, Recorder, and Studio.
dal
Posts: 72
Joined: Thu Jun 24, 2010 8:59 am

Recovery Scenario

Post by dal » Tue Jun 29, 2010 12:49 pm

Hi,

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

--Dal

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Recovery Scenario

Post by Support Team » Tue Jun 29, 2010 3:03 pm

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
.
Image

dal
Posts: 72
Joined: Thu Jun 24, 2010 8:59 am

Re: Recovery Scenario

Post by dal » Wed Jun 30, 2010 11:56 am

Thanks ...

this will do...