Hi Francois,

Just like that, you made my day.  It worked, thank you.

Regards,
Rene

--- On Tue, 7/21/09, Fran coyy <franc...@gmail.com> wrote:

> From: Fran coyy <franc...@gmail.com>
> Subject: Re: [JWebUnit-users] I'm getting new session after second beginAt. 
> How do I solve this scenario?
> To: "Usage problems for JWebUnit" <jwebunit-users@lists.sourceforge.net>
> Date: Tuesday, July 21, 2009, 8:33 PM
> Hello, 
> 
> I think you could use the gotoPage() function, that allows
> to navigate to a target screen without restarting the
> session.
> 
> best wishes, 
> 
> Francois
> 
> On Tue, Jul 21, 2009 at 11:22 AM,
> Rene Palad <reneti...@yahoo.com>
> wrote:
> 
> 
> 
> I'm trying to upgrade jwebunit from 1.2 to latest but
> encountered the problem below:
> 
> 
> 
> During #setup, I go to login screen via #beginAt and fill
> up then submit for authentication.  And I needed another
> #beginAt in the actual testXXX method to navigate to my
> target screen.  But the second #beginAt led me to the login
> screen again due to no session which does not happen in
> jwebunit-1.2 (Is this due to switch from httpunit to
> htmlunit?).
> 
> 
> 
> 
> I read somewhere from this list that I needed to use
> clickLink and similar methods to navigate to my target
> screen (so as not to create a new browser session).  My
> problem is I couldn't do that since the navigation of
> the web app is via a third party javascript menu that uses
> submenus mouse hovering.  I also inspected the HTML (by
> dumpResponse/dumpHtml) and there's no useful URL links
> to navigate to my target screen.
> 
> 
> 
> 
> How do I solve this scenario where I at least need two
> beginAt in one testXXX method (login and screen navigation)?
>  Pls help, thanks!
> 
> 
> 
> Rene
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> Enter the BlackBerry Developer Challenge
> 
> This is your chance to win up to $100,000 in prizes! For a
> limited time,
> 
> vendors submitting new applications to BlackBerry App
> World(TM) will have
> 
> the opportunity to enter the BlackBerry Developer
> Challenge. See full prize
> 
> details at: http://p.sf.net/sfu/Challenge
> 
> _______________________________________________
> 
> JWebUnit-users mailing list
> 
> JWebUnit-users@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
> 
> 
> 
> 
> -----Inline Attachment Follows-----
> 
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a
> limited time, 
> vendors submitting new applications to BlackBerry App
> World(TM) will have
> the opportunity to enter the BlackBerry Developer
> Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> JWebUnit-users mailing list
> JWebUnit-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
> 

------------------------------------------------------------------------------
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to