Posts: 5
Threads: 2
Joined: Jul 2009
Reputation:
0
08-28-2009, 05:49 PM
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
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
08-28-2009, 06:18 PM
Cyberamol - Have you even tried searching this forum before you posted ?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
08-28-2009, 06:23 PM
Can you share what you have done? It will be much easier to understand where you are stuck with this.
Posts: 5
Threads: 2
Joined: Jul 2009
Reputation:
0
08-28-2009, 06:32 PM
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
Posts: 3
Threads: 1
Joined: Aug 2009
Reputation:
0
08-28-2009, 06:42 PM
Hi,
Can anyone guide me how to start learning QTP scripting. I am new to this world of automation.
Thanks,
Sai.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
08-28-2009, 06:47 PM
Sai -
Please Do Not divert the original intention of the post. Kindly create a new post.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
08-28-2009, 06:51 PM
which QTP version you are working on? If you can provide snapshot of each step that will help.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
08-28-2009, 06:58 PM
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.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
08-28-2009, 06:59 PM
@Saisasidhar - As basanth already advised, please start a new thread for your question, mentioning the exact issue.
The question was for Amol.