Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Associate two recovery scenarios for a test in QTP
03-03-2010, 06:18 PM
Post: #1
Associate two recovery scenarios for a test in QTP

Is this possible for a test to have multiple recovery scenarios and the test has to trigger through specific recovery basing on the condition.

Here is the brief demonstration of it.

I have a piece of code which causes my script to fail (as it is known issue… I cant handle this through the script(constraint) ) I have written a recovery scenario(RS1) and it triggered properly when any error arises. Later I enhanced my script to capture my error which QTP throws during run time and depending on the error I want script to trigger recovery scenario (RS2). Is that possible …? (I have associated both the recoveries to the test…What I observed is it is running both the recovery scenarios whenever any error arises in the script).

One more doubt is how does ‘recovery scenarios’ differ from the ‘When error occurs during run session: Proceed to next step’
Find all posts by this user
03-03-2010, 06:51 PM
Post: #2
RE: Associate two recovery scenarios for a test in QTP
Hi Venkat, Please don't create multiple threads for the same query.

Thread Closed!

Thanks,
~Saket Kumar
[Linkedin][pdf Api for QTP]
It's so hard when I have to, and so easy when I want to...
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Recovery Scenario - Post recovery restart not working Roknight05 0 457 12-01-2011 05:58 AM
Last Post: Roknight05
  Get the Parent Folder name in Test Plan for a Test from Test Lab using QTP godsown 0 737 09-29-2011 04:55 PM
Last Post: godsown
  How to force QTP to Check for trigger through Recovery Object ? Sumit Maru 0 807 02-21-2011 02:44 PM
Last Post: Sumit Maru
  Recovery scenario in QTP jas1582 1 2,373 04-15-2009 05:31 PM
Last Post: dvkbabu

Forum Jump:


User(s) browsing this thread: 1 Guest(s)