Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Brokenlinks
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi Everyone,

How to identify broken links on a page using vbscript not the checkpoints
Thanks in Advance

--Eswari
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
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
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
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
Reply
#4
Solved: 10 Years, 8 Months, 3 Weeks ago
See the below links:

Tarun's blog
http://knowledgeinbox.com/articles/qtp/h...-web-page/

Anish's blog
http://www.automationrepository.com/2012...using-qtp/

Regards,
Ankesh
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)