I want to know that how many checkboxes are present on the home page of www.gmail.com and also I want to check the checkbox is checked or not .....
My code is....
Set obj= Description.Create()
obj("name").value="PersistentCookie"
obj("html tag").value="INPUT"
obj("type").value="checkbox"
Set a = Browser("name:=Gmail.*","title:=Gmail.*").Page("title:=Gmail.*").Childobjects(obj)
MsgBox a.count
c =Browser("name:=Gmail.*", "title:=Gmail.*").Page("title:=Gmail.*").GetROProperty("checked")
MsgBox c
The value of c
is always "OFF" even i checked the checkbox (Remember me on this computer) and execute the above code but value of c
is always "OFF"
Please help me on this thanks in advance...
kindly reply on this..