Hi, i have thought of doing that, but i also need to measure the time taken for the redirected page to load. So if i use this method the measurement might not be accurate. So i'm wondering if there are any other ways to do that.
Thanks! From: [EMAIL PROTECTED] To: [email protected] Subject: RE: [Webtest] How to verify title on the redirected page Date: Thu, 28 Aug 2008 06:57:38 -0500 Have you tried sleeping after you login to give the the redirected to page time to load? You can even retry for awhile instead of doing a hard sleep for a long time. <retry maxCount="60"> <sleep seconds="3"/> <verifyTitle text="Title of Redirected To page"/> </retry> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Ng Sent: Thursday, August 28, 2008 5:19 AM To: [email protected] Subject: [Webtest] How to verify title on the redirected page 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. Share your beautiful moments with Photo Gallery. Windows Live Photo Gallery _________________________________________________________________ Manage multiple email accounts with Windows Live Mail effortlessly. http://www.get.live.com/wl/all

