Micro Focus QTP (UFT) Forums
Recovery Scenario - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Recovery Scenario (/Thread-Recovery-Scenario--2288)



Recovery Scenario - Cyberamol - 08-28-2009

Hi,

Can anyone exlpain 'Recovery Scenarios' with example please.
I have tried like to hell to have a recovery scenario for a pop-up window.Recovery scenario just doesn't get invoked when the window is
popped up.

Any example in this context would be greatly appreciated.

Regards,
Amol


RE: Recovery Scenario - basanth27 - 08-28-2009

Cyberamol - Have you even tried searching this forum before you posted ?


RE: Recovery Scenario - Saket - 08-28-2009

Can you share what you have done? It will be much easier to understand where you are stuck with this.


RE: Recovery Scenario - Cyberamol - 08-28-2009

I have created a recovery scenario for pop-up window. In the 'Recovery' tab of the Recovery Scenario Manager Wizard, I have added call to a VBS file which simply prints that 'Error has occured".

I have ENABLED the scenario in the File-->Settings-->Recovery tab with the option of 'On Every Step'.

I have written a sample script in which I pop up the same window through the menu item of our tool.

When I run the script, the window is popped up but the recovery scenario is not getting invoked.

Note: I know this is not the best scenario which would call for a recovery mechanism. But since I am new to QTP, I want to learn how the recovery mechanism works.

Regards,
Amol


RE: Recovery Scenario - saisasidhar - 08-28-2009

Hi,

Can anyone guide me how to start learning QTP scripting. I am new to this world of automation.

Thanks,
Sai.


RE: Recovery Scenario - basanth27 - 08-28-2009

Sai -
Please Do Not divert the original intention of the post. Kindly create a new post.


RE: Recovery Scenario - Saket - 08-28-2009

which QTP version you are working on? If you can provide snapshot of each step that will help.


RE: Recovery Scenario - saisasidhar - 08-28-2009

Version 10.0


RE: Recovery Scenario - basanth27 - 08-28-2009

Sai -
Please Restrain yourself from proceeding further on this Topic. Kindly open a new post.

Failure to do so will result in a Ban. The warning has been released.


RE: Recovery Scenario - Saket - 08-28-2009

@Saisasidhar - As basanth already advised, please start a new thread for your question, mentioning the exact issue.
The question was for Amol.