How to handle the exceptions using the recovery scenario manager in qtp?



How to handle the exceptions using the recovery scenario manager in qtp?..

Answer / Jagveer Singh

The Recovery Scenario Manager (RSM) in QTP is used to define actions that will be executed when a specific error or exception occurs during test execution. Here's a simplified process:
1. Open your test script and go to Tools > Recovery Scenarios.
2. Create a new recovery scenario using the Recovery Scenario Manager dialog box.
3. Define conditions for when the recovery scenario should be activated (like an expected error message or failure of a specific action).
4. Specify actions that will be performed when the defined condition is met, such as retrying the failed action, skipping the current step, or logging the error.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to Install QTP on Citrix Environment? Possible send me the installation steps.. That would be great help

1 Answers  


Waht is diff between SystemUtil.Run and invokeapplication

5 Answers  


How can we call Winrunner functions from QTP?

1 Answers  


When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?

4 Answers   Accenture,


IF THE GUI OF APPLICATION IS CHANGED THEN IS THERE ANY NECISSITY TO CHANGE OR UPDATE OUR TEST SCRIPTS

2 Answers  


What is object state in trigger events,in recovery scenario.write a script to handle this.

0 Answers  


Gmail application is there.On that Inbox so many mails are there including naukari mails. On that mails i can select the only naukri mail checkboxes. plz tell the descriptive code for the above..

2 Answers   Impetus,


desribe a situation where u faced a stressful situation and how did u cope with it

1 Answers   DELL,


Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.

2 Answers  


Hi, How to invoke QTP or any application through Command Prompt without using Vb script and batch file.... Reply me Srinivas

3 Answers   Excel,


Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"

1 Answers   Cap Gemini,


How many types of Test Plans are there...??

5 Answers  


Categories