verifyText is very bad for AJAX apps as it works on the content sent by the server for the original response.
you should try verifyXPath for instance, which works on the current state of the page. Cheers, Marc. -- Blog: http://mguillem.wordpress.com Mescher,Mark wrote: > Hello Marc, > I have now installed the latest available build R_1649. Now there is no error > for the sleep-Step anymore, but the verifyTextStep, which should test the > text placed on the second tab, still fails. > Any more suggestions? > > Bye > > Mark > > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot > Gesendet: Donnerstag, 17. Januar 2008 11:24 > An: [email protected] > Betreff: Re: [Webtest] Wicket Ajax Tabbed Pannel doesnt work with WebTest > > Hi, > > upgrade to latest build: according to HtmlUnit users, HtmlUnit-1.14 works > fine with Wicket. > > Cheers, > Marc. > -- > Blog: http://mguillem.wordpress.com > > > Mescher,Mark wrote: >> Hello, >> we are testing our web-application (based on Apache Wicket) with >> WebTest 2.5. Since now we were able to test all elements of our page. >> But now we detected a problem with the wicket ajax tabbed panel. After >> clicking a tab, we implemented a sleep with 2 seconds and get the following >> error: >> >> ScriptEnging - runtimeError:message=[ActiveXObject Error: no value for >> Microsoft.XMLDOM.] >> >> You can simply test it by your own, the Wicket-Demo-Pages doesnt work >> with webtest too. Here is a simple test which reproduces the error: >> >> <invoke description="Tabstart" >> url="http://wicketstuff.org/wicket13/ajax/tabbed-panel.1"/> >> <verifyText text="This is tab-panel 1" /> >> <clickLink description="Click link: second tab" label="second tab"/> >> <sleep seconds="2"/> >> <verifyText text="This is tab-panel 2" /> >> >> Does anyone know this problem and has a solution / workaround for this? >> >> Thanx in advance >> >> Mark >> > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

