07-06-2009, 06:47 PM
Hi
Try the below script....It would fetch the checkbox count
Thanks
Try the below script....It would fetch the checkbox count
Code:
Browser("Google").Page("Google").Link("Preferences").Click
Set obj_ChkDesc = Description.Create
obj_ChkDesc("html tag").value = "INPUT"
obj_ChkDesc("type").value = "checkbox"
Set AllChkBoxes = Browser("Google").Page("Google").ChildObjects(obj_ChkDesc)
msgbox AllChkBoxes.count
Thanks