Set desc=description.Create
desc("type").value="checkbox"
set x=browser("name:=Gmail.*").page("title:=Gmail.*").webtable("name:=t").ChildObjects(desc)
c=x.count
print "No of Mails in Gmail deleted are "&c
For i=0 to c-1
x(i).Set "ON"
Next
browser("name:=Gmail.*").page("title:=Gmail.*").WebButton("name:=Delete Forever","Index:=0").Click
No comments:
Post a Comment