01-08-2010, 03:43 PM
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.
any help can be provided?
thanks
swetha
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