Trupti Jethva's Blog
Doing something is always better than nothing.
Pages
(Move to ...)
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
‹
›
Home
View web version
No comments:
Post a Comment