Hi!

I finally resolved it.  After a few more tests and "googling", we realized
the problem was the version of htmlunit.  We updated to 2.8  and everything
worked just fine.

Regards,
NH

On Wed, Dec 15, 2010 at 12:54 PM, Julien HENRY <henr...@yahoo.fr> wrote:

> Hi,
>
> I don't know how Wicket works but I guess this is a DHTML window.
> getPageSource() will return the page source (HTML) like a real browser
> (means
> what was downloaded from the server). So this is normal it doesn't contain
> dynamique elements.
>
> If you are using AJAX to display the window, you may need to change the
> refreshhandler (this topic was already discussed on this list).
>
> Regards,
>
> Julien
>
> >
> >De : NiceHobbit <nicehob...@gmail.com>
> >À : jwebunit-users@lists.sourceforge.net
> >Envoyé le : Mer 15 décembre 2010, 16h 37min 54s
> >Objet : [JWebUnit-users] Testing ModalWindow
> >
> >
> >Hi!
> >Has anyone tested or used jwebunit  with wicket?  After clicking the link
> that
> >enables the modal window, I want  to assert that some elements are present
> in
> >that modal window.  But I can't because I got the message that such
> element or
> >text is not present. I also noticed that the   tester.getPageSource();
> doesn't
> >
> >have the source code of the modal window.
> >
> >
> >Any comments will be useful =)
> >
> >BR
> >
> >
>
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> JWebUnit-users mailing list
> JWebUnit-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to