How to verify 404 http error code with QTP/UFT?
Question ID: 105337
0
0

I have a test scenario something like this:
we open a non-existent URL that will give pagenotfound (404 at backend) and then after few sec, it will be redirect to the home page of the website.
How can I automate this 404 and redirection concept?

Marked as spam
Posted by (Questions: 45, Answers: 1)
Asked on March 20, 2014 8:41 pm
82 views
Answers (1)
0
Private answer

Have you tried to do a check the Browser(''zz'').Page(''zz'').getROProperty(''text) to see if there is a 404

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on March 20, 2014 8:44 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top