Hi,
I'm a new to webtest. I have a test which i need to verify the title on the
redirected page i.e.
I have a login page which i click to login, it will go to e.g. page A and then
redirect to page B.
It takes ard 1min plus for the page to be redirected to page B. I want to
verify the title on page B.
But when i run my webtest, it verifies the title on page A.
I have set auto refresh true... not sure what else i should be doing.
The redirect code is as follow:
<SCRIPT LANGUAGE="JavaScript">
<!--
function redirectTo(){
var nextURL = "www.test.com....etc";
location = nextURL;
}
//put a delay so that WA.GIF image will be logged in apache logs or else the
page will redirect too fast.
setTimeout("redirectTo()",100);
//->
</SCRIPT>
Please help.
Thanks.
_________________________________________________________________
Manage multiple email accounts with Windows Live Mail effortlessly.
http://www.get.live.com/wl/all