Hi Ale,
Try following the example on http://jwebunit.sourceforge.net/, in particular
you should be extending WebTestCase. You can then use assertTextPresent()
directly.
Cheers
Jevon
On Tue, Jun 15, 2010 at 2:22 AM, Alessandra Grande <
alessandra_gra...@yahoo.it> wrote:
> Hi, i am develop my test class:
>
> public class WebTestCaseTextArea extends TestCase {
> private WebTester tester;
> ...
> }
>
>
> but i want text content of web page after call ajax and so if i am doing
>
> tester.assertTextPresent("myTextAfterCallAjax");
> don't work...
> Please help me...
>
> Thanks.
> Ale
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> JWebUnit-users mailing list
> JWebUnit-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users