Denis Parker
Answered On : Aug 7th, 2012
Hope, it is difficult to develop a script if the properties is unknown, but we can try with standard properties, like if property is a LINK then it can be attach the name or type property with "link" or html tag property with "A". Use the child object to get the information.
Code
Dim oDesc
Dim oChildren
Dim i
oDesc = Description.Create
oDesc("name").Value = "Link"
----We couldve left the oDesc object blank, To get all objects----
Set oChildren = Browser("title:=google.*").Page("title:=google.*).WebTable("html Tag:= TABLE").ChildObjects(oDesc)
----Now oChildren holds the Link collection----
----Run through the collection----
For I = 0 to oChildren.Count-1
----Select the specific Link----
oChildren(i).Click
Next
Login to rate this answer.