Now i expect that the browser should go to Inbox Jsp. Thew title of that JSp is "Inbox" only. When i say assertEquals("Inbox",webResponse.getTitle)()); The test fails. So any one knows what could be the problem.
Did you notice that form.submit() returns a new WebResponse?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: May 10, 2005
Hi, Yah i have already tried that. But the real problem is, after submitting the logonForm page, the control goes to Check_password_expiry.jsp page. After that it has to go to Inbox page. But through test case i am unable to go to Inbox page. So how to forward the control to Inbox page? Pls any help.