Re: HttpUnit and Ajax

Marc Guillemot <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
I have to slow down your enthusiasm from my experience with HtmlUnit.
AJAX per itself (ie XMLHttpRequest) is not very complicated. The problem
is that AJAX libraries uses tons of other JavaScript features that need
to be implemented too.

I migrated WebTest from HttpUnit to HtmlUnit in 2004 due particularly to
HttpUnit's lack of JS support. Nevertheless now when I look back at the
state of HtmlUnit JS support in 2004 I see that it is only a small part
of what is now supported which is still not enough to support all AJAX
libraries.
This should give you an idea of the work that awaits you... or motivate
you to contribute to HtmlUnit ;-)

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com


Wolfgang Fahl - BITPlan wrote:
> Marco,
> 
> you wrote:
>> I googled but I couldn't find any information saying HttpUnit supports
>> Ajax testing. Does HttpUnit really support it? If yes, is there any
>> website where I can find an article that illustrates it?
> You are kindly invited to help making httpunit Ajax ready.
> The stable basis for this support is available. The heavy Javascript use
> of Ajax and the dynamic approach of changing things on the client side
> make it necessary to adapt httpunit to these new requirements (looked from 
> the point of 2002-2004 when the main development of httpunit took place). 
> 
> It's a work than can be broken down into steps. A good start would be a 
> very small Ajax example that does not work with httpunit  to allow for the 
> analysis why it fails. 
> 
> Yours
> 
> WolfgangBITPlan - smart solutions
> Pater-Delp-Str. 1, D-47877 Willich-Schiefbahn
> Tel. +49 1805 - BITPLAN / +49 1805 248 752, Fax +49 2154 
> 811-481
> Web: http://www.bitplan.de
> bitplan GmbH, Willich - HRB 6820 Krefeld, VAT-ID: 
> 10258040584, Geschäftsführer: Wolfgang Fahl
> Mit BITPlan effizient zum Erfolg: http://www.bitplan.de
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Httpunit-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/httpunit-develop
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.