Thursday, September 2, 2010

Script to count the submit Buttons in Google page

Set obj = Description.Create()
obj("html tag").value = "INPUT"
obj("micclass").value = "WebButton"
obj("type").value = "submit"
Set webobj = Browser("name:=Google").Page("title:=Google").ChildObjects(obj)
msgbox(webobj.count)

No comments:

Post a Comment