Micro Focus QTP (UFT) Forums
Recovery Scenario - 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 Scenario (/Thread-Recovery-Scenario--2938)



Recovery Scenario - swetha.b - 01-07-2010

Hi All,

I just started using recovery scenario concept:

Here is what I did :
1) My application is built in .net and is a web based application.
2) In the attached screens : "Pop1" . This might occur depending on few conditions while I check any checkbox.
3) so I tried using recovery scenario to capture the dialog details.
4) But as you see in the screenshot : "recovery" Title and text are shown completely different to that of the original dialog window.

Was there anything I was missing??? Please provide some help

Thanks
Swetha


RE: Recovery Scenario - Saket - 01-07-2010

I think this is not a pop up window but a web page created as a modal dialog page making impression like a dialog window.
so in such case Pop up window trigger will not work. Not very sure but try using object state.


RE: Recovery Scenario - swetha.b - 01-08-2010

HI Saket,

I did try with the 'Object state' and QTP still doesnot seem to recognize the pop-up.
I put all the checkboxes in a loop and if any checkbox check throws this pop-up, QTP doesnt seem to do the trigger as described in the recovery scenario. Instead next check box is checked and loop continues so and so fore. I somewhere read in the QTP help files that in such a scenario the popup( object state) would be recognize once the check for all the checkboxes are done. But, in here after the loop is executed, next statement is executed without recovery check.

Code:
For i = 0 to 8

    Set chkcheckbox = browser("TalonPro Solutions").Page("TalonPro Solutions").Frame("Frame").WebTable("Property").WebCheckBox("html tag:= INPUT","type:= checkbox","Index:="&i)
     chkcheckbox.Set "ON"
        

Next
    
End If

browser("TalonPro Solutions_2").Page("TalonPro Soalutions").Image("Next").Click

any help can be provided?

thanks
swetha


RE: Recovery Scenario - azar80 - 01-10-2010

Hi Swetha

IN my next project I am working on dontnet and Vb applications which I never worked before. If possible, please do contact me @cul72guy@gmail.com. I can sure use your experience and knowledge to guide me in fulfilling my job responsibilities if you intend to help me out.

Thanks much
Regards
Sorry. wrong email addres. cul72guy@yahoo.com not gmail.

thanks


RE: Recovery Scenario - Saket - 01-11-2010

Hi azar80,

why dont you prefer to discuss the things here, so that it may be helpful for other also.


RE: Recovery Scenario - swetha.b - 01-12-2010

Hi saket,

I have installed QTP-AJAX support patch aslo. Thought this would detect the window/object. But, that was of no use. Anyother suggestion ?

Thanks
Swetha