Hi, You could use tester.getServletResponse().getDocument() (where tester is your wicket tester instance)
which returns the html of the processed page as a string. Then you could test if this string contains the required text. Hope that helps, Regards - Richard Wilkinson Developer, jWeekend: OO & Java Technologies - Development and Training http://jWeekend.com Newgro wrote: > > Hi, > > i would like to test availability of components added in markup by usage > of <wicket:message> attribute. assertLabel is unusable. What else can i > do? I didn't found a hint after searching list and google. > > Thanks > Per > -- > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > ----- http://richard-wilkinson.co.uk My blog: http://richard-wilkinson.co.uk -- View this message in context: http://www.nabble.com/Which-assertions-are-possible-for-wicket%3Amessage--tp26026074p26026854.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
