On Wed, Feb 8, 2012 at 4:53 PM, brazz <[email protected]> wrote:
> After working successfully with wicket for some time, I'm now trying ot set
> up regression tests with fitnesse and the help of WicketTester functionality
> or in combination with selenium if functionality of WicketTester does not
> fulfill my needs (probably i won't do it with selenium as i already tried
> and fought with the productivity problems that came along).
>
> Here a few questions on WicketTester functionality:
> - Is it possible to assert that a e.g. pdf/excel/tiff download succeeded?

tester.getLastResponse().getBinaryContent()

> - Is it possible to assert that a e.g. pdf/excel/tiff download succeeded
> after click e.g. on a custom DefaultDataTable?
The same. Click the link and assert the binary content.

> - Is it possible to simulate paging and assert results on a DataTable after
> paging?

just click the navigation links and then assert that the datatable
contains the proper rows (models)

>
> I had a look on the Basic WicketTester classes and "enhancedwickettester"
> but couldn't find any classes that are capable of doing this.
>
> Any hints on other testing strategies would also be appreciated.
>
> Thanks in advance!
>
>
>
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/WicketTester-functionalities-tp4369673p4369673.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to