I'm not really familiar with the DWR framework, but looking at the
webpage, I assume that the problem is that since it is a Java integrated
framework, it doesn't give you much opportunity to handle the JavaScript
code in isolation (like with rhino).
One thing that you could do is introduce your testing functions into the
HTML of the page directly, and then have it crawl around in the DOM
firing events. It would take some trial and error to get right, and
might be difficult to maintain as your Java code changes, but it would
give you full access to the generated code.
There are also things like: http://www.croczilla.com/jssh/ , but would
only work for mozilla.
I've never tried it, but the debuggers like venkmann and drosera might
also allow you insert code.
-Seth
On Tue, 2007-09-11 at 19:24 -0300, Samuel Cardoso wrote:
> Hi,
>
> I would like to test my Ajax applications, is there any solution?
> The problem is that i'm using DWR Ajax, i just can't use some basic
> test functions because this framework is too high level.
>
> Thanks for any help!
>
> Samuel Cardoso
> sam...@gm...
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gmod-ajax mailing list
> Gmo...@li...
> https://lists.sourceforge.net/lists/listinfo/gmod-ajax
|