Hi

To develop unit test of pages that requires context parameters values, i use
to create an input page that contains pagelinks with context
parameter values set to the values i want to test. Then i use pagetester to
render the input page, and call the click method to trigger the different
links.



2010/6/7 Khalid EL BOUKHARI <elboukh...@gmail.com>

> Thanks for your response. Sorry my question wasn't clair. What I want to
> ask
> for is :
> This redirection is done with a return class in my java file. The
> correspondig "tml" file is empty (just <html></html> ).
> In my Junit test file I create a "Document" who gets my page but it return
> an application exception:
> Document myIndexPage = pageTester.renderPage("Index").
>
> "index.tml" is the redirection page.
>



-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com

Reply via email to