Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disadvantages of Recovery Scenarios
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
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.
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
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.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
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,...
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
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.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
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.
Reply
#6
Solved: 11 Years, 3 Months, 3 Weeks ago
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recovery Scenarios chinmaya chirasundara nayak 1 2,290 01-07-2014, 05:05 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)