Brokenlinks - 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: Brokenlinks (/Thread-Brokenlinks) |
Brokenlinks - Eswari - 09-28-2012 Hi Everyone, How to identify broken links on a page using vbscript not the checkpoints Thanks in Advance --Eswari RE: Brokenlinks - sshukla12 - 09-28-2012 Hi, Create a generic function which will capture all the links on the page using DP and perform click operation on thoes link and check if desired page is open or not. Let me know in case of any help required. Regards, Sankalp RE: Brokenlinks - ssvali - 09-28-2012 First get all the links count and URL by using DP Create a generic function to check the status of the each link by using xmlhttp object RE: Brokenlinks - Ankesh - 09-28-2012 See the below links: Tarun's blog http://knowledgeinbox.com/articles/qtp/how-to/web/checking-all-links-on-a-web-page/ Anish's blog http://www.automationrepository.com/2012/03/how-to-identify-broken-links-using-qtp/ Regards, Ankesh |