Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
recovery scenarios available in QTP
#1
Solved: 11 Years, 4 Months ago
Hi,
I want to know more about recovery scenarios available in QTP.
I want to set for such scenarios in my cur project.
I want to know detailed method to set it.
I searched in Blog i couldnt get it.
Please help me.
I have 2 yrs exp with QTP.

Thanks in advance,
Shahin
Reply
#2
Solved: 11 Years, 4 Months ago
Did you go thru User Guide?
Reply
#3
Solved: 11 Years, 4 Months ago
Dear Shahin,
Please go through this link and also in QTP you can select resources and recovery scenario manager then it guides through different screens.

https://www.learnqtp.com/recovery-scenarios-in-qtp/

Hope this is going to helpful for you.
Reply
#4
Solved: 11 Years, 4 Months ago
Yes,
But the pbm i got is i tried to implement to this, issue i got is:

1.I tried to create a hard coded object, means a web button which is not in my repository and tried to run it
2. t got the required error while running
3. but until to press stop, skip or debug i m unable to access the Tools menu, so how do i record it in the Triggers part so that it will handle it?

here i m stuck up !
pls help
thanks in advance
Reply
#5
Solved: 11 Years, 4 Months ago
One way is to write a small function using DP and the calling it from recovery scenario. (Using the function call in recovery scenario).
second way if to create recovery scenario for the pop-up (I am not sure about this though)
Reply
#6
Solved: 11 Years, 4 Months ago
Hi,
Follow these steps..

1. Go to TOOLS -> Recovery scenario manager.
2. Select the trigger event that caused the error(it may be
a pop up window).
3. Identify the name of the window with the help of
POINTING HAND.
4. Choose the operation type : KEYBOARD OR MOUSE OPERATION.
5. Select the action with the help of POINTING HAND.(e.g.
Click on OK button to close the window.)
6. If you want to add another action then keep "Add another
recovery scenario" check box selected else de select it.
7. In the "Post recovery test run option" select "Proceed
to next test iteration"
8. Give scenario name & description & click on finish
button.
9. Save the scenario.
10. Go to TEST->SETTINGS->SCENARIO TAB....and add the saved
scenario.
11. Click on APPLY & OK button......now your test run
smoothly.
Reply
#7
Solved: 11 Years, 4 Months ago
Hi,
Thanks alot.
my actual doubt was,
does the recovery manager help us to recover our web appln errors or QTP errors?
can we handle QTP errors with tht?

if its QTP error how can i record it while i get the error only when i run the script (tools menu will be disableled)

pls help me
shahin
Reply
#8
Solved: 11 Years, 4 Months ago
If it is QTP Run Error, then select the Trigger event as Test Run Error. Once you select this option, you will be shown all possible QTP Errors in the next screen. Or you can select "Any Error (or something like that)", and this will be for any Test Run Error by QTP.
Reply
#9
Solved: 11 Years, 4 Months ago
Thanks a lot !

Shahin
Reply
#10
Solved: 11 Years, 4 Months ago
shahin, I have the same issue, although it is in the next step of setting up recovery scenario.

The problem is that when the qtp error popup with 'stop', 'retry', 'skip', 'debug' buttons shows up, the 'Resources' button on toolbar is disabled. So how can I set up the Recovery operation for 'Keyboard or mouse operation' if I want to record one of these 4 buttons click?

please help. thanks.
(ps: moderators, i wasnt sure if i needed to start a new thread for this. if so please let me know if i do. thanks)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  code required for the following scenarios krithikaachari 0 2,231 09-27-2014, 01:00 AM
Last Post: krithikaachari
  test scenarios and test cases soumya 1 2,705 12-20-2011, 10:01 AM
Last Post: Sathiya
  How can i get all test results of all scenarios through "Test batch runner" atanu 0 3,232 05-13-2011, 11:23 PM
Last Post: atanu
  Recovery scenarios anbarasu 0 1,788 10-30-2009, 06:40 PM
Last Post: anbarasu
  QTP-RECOVERY SCENARIO lakrajesh 2 4,156 07-06-2009, 07:36 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)