recovery scenarios available in QTP - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: recovery scenarios available in QTP (/Thread-recovery-scenarios-available-in-QTP) Pages:
1
2
|
recovery scenarios available in QTP - Shahin - 06-12-2008 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 RE: recovery scenarios available in QTP - niranjan - 06-12-2008 Did you go thru User Guide? RE: recovery scenarios available in QTP - somisays - 06-12-2008 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. RE: recovery scenarios available in QTP - Shahin - 06-13-2008 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 RE: recovery scenarios available in QTP - niranjan - 06-13-2008 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) RE: recovery scenarios available in QTP - somisays - 06-14-2008 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. RE: recovery scenarios available in QTP - Shahin - 06-16-2008 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 RE: recovery scenarios available in QTP - niranjan - 06-16-2008 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. RE: recovery scenarios available in QTP - Shahin - 06-17-2008 Thanks a lot ! Shahin RE: recovery scenarios available in QTP - pranjal - 09-15-2009 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) |