Trupti Jethva's Blog
Doing something is always better than nothing.
Pages
Home
About the Blog
Wednesday, March 30, 2011
QTP: Find No. of Links on Page
To find the number of links on Page Using QTP:
Set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set Links = Browser("Browser").Page("Page").ChildObjects(oDesc)
NumberOfLinks = Links.Count()
Msgbox NumberOfLinks
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment