![]() |
no. of links in a webpage - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: no. of links in a webpage (/Thread-no-of-links-in-a-webpage) |
no. of links in a webpage - vamshi_g - 10-28-2008 Hi, Can anyone reply with the descriptive programming how to get the no. of links in a web page with and without using child objects. bye, vamshi RE: no. of links in a webpage - krishnas.tester - 10-28-2008 Hi, If its WebPage, there should be a table in that page. i.e. every web page is having webtables, so u can find row count for that table. its nothing but no of links in that page I hope you know how to get rowcount from webtable using descriptive programming. just try it and let me know the result Regards KrishDeep Chennai RE: no. of links in a webpage - stevol - 10-28-2008 hi, here an example with ChildObjects: Code: Dim brow, pag, descrLink, objLink, NoOfLink RE: no. of links in a webpage - vamshi_g - 10-29-2008 Hi, Thanks for giving the reply. Is there any chance of writing code without childobjects? bye, vamshi |