No currently you can't drop Htmlunit 2.0 into latests builds of Webtest :(
 Robert

2008/1/21, Marc Guillemot <[EMAIL PROTECTED]>:
>
> Hi Mark,
>
> ok, this was due to a bug (regression?) in HtmlUnit-1.14 on
> XMLElement.getAttribute. This is now fixed in HtmlUnit sources.
>
> I don't know if HtmlUnit snapshots can currently be easily dropped in
> WebTest's lib dir due to the major changes in HtmlUnit (move to Java 5,
> ...). If this is not possible, you would have to build WebTest by
> yourself.
>
> Cheers,
> Marc.
> --
> Blog: http://mguillem.wordpress.com
>
>
> Mescher,Mark wrote:
> > Hello Marc,
> > according to your tip I have modified my test:
> >
> >         <invoke description="Tabstart" url="
> http://wicketstuff.org/wicket13/ajax/tabbed-panel.1"/>
> >         <verifyXPath xpath="string(//[EMAIL PROTECTED]'tabs7']/div[2])"
> text="This is tab-panel 1" />
> >         <clickLink description="Click link: second tab" label="second
> tab"/>
> >         <sleep seconds="2"/>
> >         <verifyXPath xpath="string(//[EMAIL PROTECTED]'tabs7']/div[2])"
> text="This is tab-panel 2" />
> >
> > But it still doesnt work, the actual value is always "tab 1".
> > What do you think of this?
> >
> > Thanks!
> >
> > Mark
> >
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Im Auftrag von Marc Guillemot
> > Gesendet: Freitag, 18. Januar 2008 14:56
> > An: [email protected]
> > Betreff: Re: AW: [Webtest] Wicket Ajax Tabbed Pannel doesnt work with
> WebTest
> >
> > 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.14works 
> >> 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
> > _______________________________________________
> > WebTest mailing list
> > [email protected]
> > http://lists.canoo.com/mailman/listinfo/webtest
> >
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>

Reply via email to