Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find out error pages using QTP
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
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


Messages In This Thread
How to find out error pages using QTP - by sams001 - 12-13-2012, 11:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pages and Frames adding _1, _2, _3... zunebuggy 1 1,654 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,050 02-18-2017, 04:20 AM
Last Post: alexwhite
  Unable to find Application Area In QTP Jyobtech 0 2,142 01-10-2015, 04:03 AM
Last Post: Jyobtech
  I want to compare string present on two pages excellentpawan 3 3,457 07-23-2013, 02:33 PM
Last Post: ssvali
  Verify images get properly loaded or not(Broken Images) in respective pages nilanjans 4 4,048 01-17-2013, 10:51 AM
Last Post: nilanjans

Forum Jump:


Users browsing this thread: 2 Guest(s)