Hi
What i do is create a main test page say "TestIndex"
Now say I have a page PageNeedingContext and it needs a context, I add this
to my TestIndex page
Page Needing Context
Now my test will be something like
@BeforeClass
public void init() {
pageTester = new PageTester("mypackage
if the page contains some injected services, how to use PageTester with this
kind of page? thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-test-ActivationRequestParameter-using-PageTester-tp3353447p3353466.html
Sent from the Tapestry - User mailing list arch
Hi
When I have to test a page with context parameter, I create another page say
Index which has a page link to this page along with the context
Page to Test
and then load Index page and click on the pagelink
Hope it helps
regards
Taha
On Sun, Jan 23, 2011 at 1:44 PM, Jun Tsai wrote:
> hi,