06-28-2011, 12:40 PM
(This post was last modified: 06-28-2011, 12:42 PM by Sukhvinder.)
I am stuck with one issue with my script. What I am doing is hitting a particular URL fetched from a excel sheet and then checking if this URL is returning a valid response page.
I need to report any error page returned by the browser on any URL hit (it could be 404 or 503). I am unable to get a handle of any error page i.e.
All I need is to identify that the browser has returned an error page and report it in my script, it should not matter whether it returns any error code.
Is there an element on the browser which notifies that an error page is returned which can be captured with QTP script?
Thanking in Anticipation
I need to report any error page returned by the browser on any URL hit (it could be 404 or 503). I am unable to get a handle of any error page i.e.
All I need is to identify that the browser has returned an error page and report it in my script, it should not matter whether it returns any error code.
Is there an element on the browser which notifies that an error page is returned which can be captured with QTP script?
Thanking in Anticipation