Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find out error pages using QTP
#1
Hi All,

In our project, developers have recently changed the hard coded values href of links to some generalized urls. Now the requirement is that we need to validate the links of all web pages if they navigate to right url or will lead to any error pages. This can be done through Web Link validator tool but it can work on only static links and that too it cannot detect custom error pages (eg: browser title is Custom 404 error page). Through qtp, we can get the info about the links that are leading to custom error pages provided a page given.

To achieve the same, in the given page, the qtp fetches all links, opens each link in new window validates for the correctness of it and closes the new window. Since a page can contain some hundreds of links we are thinking to use Web validator link tool in our script which can do the operation in the back ground.

Not sure how to do this, just wanted to check if any such option is available. If anyone has experienced this issue, request you to share the details.

Thx in adv,

Sams
Reply
#2
We need to find out that whether the link is broken or not.

Please thru the below

https://www.learnqtp.com/how-to-identify...ks-in-qtp/

thanks
ssvali
Reply
#3
Hi

Will it able to find even custom error 404 pages also?
Reply
#4
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pages and Frames adding _1, _2, _3... zunebuggy 1 2,216 05-30-2017, 12:17 AM
Last Post: Vichu M J
  How to find and change text in PDF document using QTP UFT automation VBscript alexwhite 0 12,435 02-18-2017, 04:20 AM
Last Post: alexwhite
  Unable to find Application Area In QTP Jyobtech 0 2,454 01-10-2015, 04:03 AM
Last Post: Jyobtech
  I want to compare string present on two pages excellentpawan 3 4,130 07-23-2013, 02:33 PM
Last Post: ssvali
  Verify images get properly loaded or not(Broken Images) in respective pages nilanjans 4 4,931 01-17-2013, 10:51 AM
Last Post: nilanjans

Forum Jump:


Users browsing this thread: 1 Guest(s)