Jevon,

After some digging around I see that the ui was built using GWT. I've done some 
quick reading on GWT and looks like it too is using HtmlUnit. Has anyone had 
success testing GWT with jWebUnit?

Eric

-----Original Message-----
From: Eric Jelinek [mailto:ejeli...@hotels.com] 
Sent: Monday, January 24, 2011 2:43 PM
To: Usage problems for JWebUnit
Subject: Re: [JWebUnit-users] Full Page DOM

Jevon,

I'm using both FF3.6 and CR8. Client-side js. I do have access to all of the 
code, both client and server. I've been writing my tests in intellij 10 and I 
hit my break point, dumpout getPageSource to a text file and browse through it 
to find elements, xpaths, etc.

I'll take a closer look at the js code to see which steps are firing.

Thanks for your help

Eric

-----Original Message-----
From: Jevon Wright [mailto:je...@jevon.org] 
Sent: Saturday, January 22, 2011 5:51 AM
To: Usage problems for JWebUnit
Subject: Re: [JWebUnit-users] Full Page DOM

Hi Eric, a few ideas:

- What browser are you using to view source?
- Do you use client-side Javascript or server-side code to populate
"controlPanelMenu"?
- Can you access the source code of the application to try and
pinpoint the problem?

As far as I know, in Firefox the "view source" only displays the page
source at load, and not after any client-side modifications, unless
you are viewing selection source.

Hope this helps,
Jevon

On Sat, Jan 22, 2011 at 11:38 AM, Eric Jelinek <ejeli...@hotels.com> wrote:
> All,
>
>
>
> I'm running into an issue where I ask for the page source, getPageSource()
> and I get one value, yet when I view the source of the page I'm getting not
> only what I'd expect with getPageSource but I'm getting much more. As an
> example:
>
>
>
> getPageSource()
>
> <html>
>
> <head>some stuff...</head>
>
> <body>
>
> <div id="head></div>
>
> <div id="controlPanelMenu"></div>
>
> <div id="footer"></div>
>
> </body>
>
> </html>
>
>
>
> View source
>
> <html>
>
> <head>some stuff...</head>
>
> <body>
>
> <div id="head></div>
>
> <div id="controlPanelMenu">
>
> All kinds of html and stuff in here that I can actually see on the page and
> interact with firebug.
>
> </div>
>
> <div id="footer"></div>
>
> </body>
>
> </html>
>
>
>
> Any ideas on how to get to the "All kinds of html and stuff..."?
>
>
>
> Thanks in advance
>
> Eric Jelinek
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> JWebUnit-users mailing list
> JWebUnit-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to