Dim oDesc, oAllLinks, iNumberOfLinks
set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set oAllLinks = Browser("creationtime:=0").
Page("micclass:=Page").ChildObjects(oDesc)
iNumberOfLinks = aAllLinks.Count
msgbox iNumberOfLinks
SPONSORED LINKS


Comments :
0 comments to “Advanced QTP - Count the number of links & Objects in a web page by QTP?”
Post a Comment