Micro Focus QTP (UFT) Forums
Disadvantages of Recovery Scenarios - 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 Interview Questions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Interview-Questions)
+--- Thread: Disadvantages of Recovery Scenarios (/Thread-Disadvantages-of-Recovery-Scenarios)



Disadvantages of Recovery Scenarios - basanth27 - 08-07-2009

Has anyone come across a disadvantage of using a recovery scenario ??


RE: Disadvantages of Recovery Scenarios - Ankur - 08-07-2009

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.


RE: Disadvantages of Recovery Scenarios - venkatbatchu - 11-03-2009

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,...


RE: Disadvantages of Recovery Scenarios - Ankur - 11-03-2009

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.


RE: Disadvantages of Recovery Scenarios - venkatbatchu - 11-04-2009

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.


RE: Disadvantages of Recovery Scenarios - pavansri - 11-18-2009

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