Hi GF,
it's not exactly answear for Your question but i find selenium family
very usefull.
But i don't know if it's an option for You.

Best greetings,
Paweł Wielgus.


2008/9/26 GF <[EMAIL PROTECTED]>:
> Hello
> I'm writing tests on application that uses Struts2.
> To test the actions, I use about a technique similar to the one
> described here http://itefforts.blogspot.com/2007/08/struts2-spring-junit.html
>
> I wish to do more and test the Jsp (and Tiles) output too.
> That code does this:
>
> response = new MockHttpServletResponse();
> ServletActionContext.setResponse(response);
>
> I can set:
> proxy.setExecuteResult(true);
>
> with Jsp junit tests continue to run smootly. (with Tiles, I have some
> errors, but i have still to work on them..)
> OK.
> In few words I want to get the output that Struts2 sends to the
> ServletResponse as a String and execute some tests on it.
>
> Any idea?
> thank you!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to