Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
08-07-2009, 07:44 PM
Has anyone come across a disadvantage of using a recovery scenario ??
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,105
Threads: 18
Joined: Jan 2008
Reputation:
8
08-07-2009, 11:46 PM
Yeah, make sure you use it when and where it's really required, people often mistake it with 'error handling'. RS are used for 'exception handling'. As far as the disadvantage, it makes your scripts go slow.
Posts: 240
Threads: 38
Joined: Jun 2009
Reputation:
0
11-03-2009, 01:02 PM
Hi Ankur,
How does it becomes slow when we use Recovery scenario manager?
Can u please explain with sort of examples....
Does this based on Navigatio Time out,...
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
11-03-2009, 10:00 PM
In case you choose to select "Always" under Recovery Scenarios. QTP will try to look for trigger event on each and every step of execution, thus making the system go slow.
So it is advisable to use RS with 'Errors' option enabled only.
Posts: 240
Threads: 38
Joined: Jun 2009
Reputation:
0
11-04-2009, 07:01 AM
Hi Ankur,
Thanks for replying,
Here "Always" under recover scenario means--> Popup Window (A window poups up in an opened application during the test run)
i.e which is alwasys trying to look for trigger event on each and every step execution
RS with "Errors" means --> Test Run error (A Step in your test does not run sucessfully) here we have to select the appropriate option under this which is "Object Not Found" as becuase we would not when the exception message comes when it comes then corresponding object will not be found in object repository so i am thinking that this is the best option.
Please Ankur, let me know if i am thinking in wrong direction.
Posts: 7
Threads: 0
Joined: Sep 2009
Reputation:
0
11-18-2009, 11:21 PM
(This post was last modified: 11-18-2009, 11:27 PM by pavansri.)
Ankur is referring to setting you choose for invoking RS
Ankur is referring to Test Settings you choose for invoking RS.
navigation >>File >> Settings >> 'Recovery' tab
under Recovery tab you will find Option "Activate Recovery Scenarios:" , here you need to select options which would tell QTP when to look for trigger events of respective RS attached for the Test