Nov 18 2008 12:35 PM 9111 3 Count Number of Links y.sarwesh How to count the number of links in web page using QTP Script? Manoj KS Jul 22nd, 2011 This is for webpages...CodeSet Links = Browser("micclass:=Browser").Page("micclass:=Page"). Object.GetElementsByTagName("a") Msgbox "Total links: " & Links.Length harishmajithiya Profile Answers by harishmajithiya Questions by harishmajithiya Nov 27th, 2008 1) You can use Page checkpoint to find number of links in a web page.2) Following can also do the same task:Set oDesc = Description.Create()oDesc("micclass").Value = "Link"Set Link... Answer Question Select Best Answer
Nov 18 2008 12:35 PM 9111 3 Count Number of Links y.sarwesh How to count the number of links in web page using QTP Script? Manoj KS Jul 22nd, 2011 This is for webpages...CodeSet Links = Browser("micclass:=Browser").Page("micclass:=Page"). Object.GetElementsByTagName("a") Msgbox "Total links: " & Links.Length harishmajithiya Profile Answers by harishmajithiya Questions by harishmajithiya Nov 27th, 2008 1) You can use Page checkpoint to find number of links in a web page.2) Following can also do the same task:Set oDesc = Description.Create()oDesc("micclass").Value = "Link"Set Link... Answer Question Select Best Answer
Manoj KS Jul 22nd, 2011 This is for webpages...CodeSet Links = Browser("micclass:=Browser").Page("micclass:=Page"). Object.GetElementsByTagName("a") Msgbox "Total links: " & Links.Length
harishmajithiya Profile Answers by harishmajithiya Questions by harishmajithiya Nov 27th, 2008 1) You can use Page checkpoint to find number of links in a web page.2) Following can also do the same task:Set oDesc = Description.Create()oDesc("micclass").Value = "Link"Set Link...