You may want to try clickLinkWithText("Logoff"); (if its an actual link on the page.)
You may be getting an entire new session somehow. Nick > -----Original Message----- > From: Bill Siggelkow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 22, 2004 5:53 AM > To: [EMAIL PROTECTED] > Subject: Re: [Jwebunit-users] Unable to logoff (session not > invalidating) in test > > > Good question ... if I run my test scenario manually Tomcat show the > session being created and then removed; however, when I run the > scenario using JWebUnit the session does not get removed when the test > is complete. Odd part about it; the response I get after either > "clicking" the logoff link or going to the logoff page is correct (it > indicates that the user is not logged on by rendering a LogOn link). > Right now I am shelving this problem until I have more time ... thanks > for the ideas. > > > On Wed, 22 Sep 2004 09:45:38 +0200, Olaf Kock > <[EMAIL PROTECTED]> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Bill Siggelkow wrote: > > > > | I have written a basic test that works as written; > however, I noticed > > | that the test always leaves a session open on the container; even > > | though I wrote the test to click the "Logoff" link; > > > > Is it a not-invalidated session (e.g. the user is still > logged on) or is > > it possible that the user session is invalidated but the following > > request - perhaps for an image embedded in the page - forces the > > creation of a new, logged-out, session for the user? > > > > Olaf > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.2 (MingW32) > > > > iD8DBQFBUS2grOvgD3EqpS4RArWAAJ900O8Y5GkA4WeZrI0oiK1IF7tB8wCfXjYK > > al+nlb66MVnE1hj60g7f6pw= > > =fXHh > > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > Project Admins to receive an Apple iPod Mini FREE for your > judgement on > > who ports your project to Linux PPC the best. Sponsored by IBM. > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > _______________________________________________ > > Jwebunit-users mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your > judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Jwebunit-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > - - - - - - This e-mail message is intended only for the use of the individual or entity identified in the alias address of this message and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this e-mail message is strictly prohibited. If you have received this e-mail message in error, please notify the sender immediately by reply e-mail and delete this message from your system. Thank you. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Jwebunit-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jwebunit-users