Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disadvantages of Recovery Scenarios
08-07-2009, 07:44 PM
Post: #1
Disadvantages of Recovery Scenarios

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

Basanth
QTP On Unix- Java Way - Without Putty or Terminal Emulation
You have no idea how high I can fly...
Find all posts by this user
Quote this message in a reply
08-07-2009, 11:46 PM
Post: #2
RE: Disadvantages of Recovery Scenarios
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.

QTP Articles | QTP Training | QTP Jobs
Find all posts by this user
Quote this message in a reply
11-03-2009, 01:02 PM
Post: #3
RE: Disadvantages of Recovery Scenarios
(08-07-2009 11:46 PM)Ankur Wrote:  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.

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

Regards,
Venkat
Find all posts by this user
Quote this message in a reply
11-03-2009, 10:00 PM
Post: #4
RE: Disadvantages of Recovery Scenarios
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.

QTP Articles | QTP Training | QTP Jobs
Find all posts by this user
Quote this message in a reply
11-04-2009, 07:01 AM
Post: #5
RE: Disadvantages of Recovery Scenarios
(11-03-2009 10:00 PM)Ankur Wrote:  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.

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.

Regards,
Venkat
Find all posts by this user
Quote this message in a reply
11-18-2009, 11:21 PM (This post was last modified: 11-18-2009 11:27 PM by pavansri.)
Post: #6
RE: Disadvantages of Recovery Scenarios
(11-04-2009 07:01 AM)venkatbatchu Wrote:  
(11-03-2009 10:00 PM)Ankur Wrote:  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.

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.

Ankur is referring to setting you choose for invoking RS
(11-04-2009 07:01 AM)venkatbatchu Wrote:  
(11-03-2009 10:00 PM)Ankur Wrote:  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.

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.

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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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