Hi,

normally I wait for an HtmlUnit release before to incorporate it in
WebTest. Currently this may take some time as HtmlUnit-1.14 has just
been released (but we surely don't want to wait as long as between
HtmlUnit-1.13 and 1.14).
On the other side WebTest can integrate a snapshot earlier - this has
already be done in the past - when it is "really" needed (really means
here that it would bring a lot of new features and/or that someone is
willing to do the job / pay for that). Concerning current snapshot of
HtmlUnit, there is an additional "problem": HtmlUnit has started its
migration to Java 5 and WebTest hasn't. I think that it would make sense
to have a last release, for instance 2.6 before switching WebTest to
Java 5 too.
Last solution: you can build your own WebTest version that already
includes a recent snapshot of HtmlUnit-2.0.

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com


Mescher,Mark wrote:
> Hello Marc,
> great that you have fixed this bug so fast. When will the new HtmlUnit
> be integrated in WebTest? Currently we are planning to rollout WebTest
> in our company and allocating some resources in our different teams to
> set up WebTest for our applications. An approximate Date would be great
> so we can schedule our roll out accordingly...
>  
> Bye
> Mark
> 
> ------------------------------------------------------------------------
> *Von:* [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] *Im Auftrag von *Robert Bodziony
> *Gesendet:* Montag, 21. Januar 2008 14:55
> *An:* [email protected]; Marc Guillemot
> *Betreff:* Re: AW: AW: [Webtest] Wicket Ajax Tabbed Pannel doesnt work
> with WebTest
> 
> No currently you can't drop Htmlunit 2.0 into latests builds of Webtest :(
>  Robert
> 
> 2008/1/21, Marc Guillemot <[EMAIL PROTECTED]
> <mailto:[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]>
>     [mailto:[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>] Im Auftrag von Marc Guillemot
>     > Gesendet: Freitag, 18. Januar 2008 14:56
>     > An: [email protected] <mailto:[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 <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]>
>     >> [mailto:[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>] Im Auftrag von Marc Guillemot
>     >> Gesendet: Donnerstag, 17. Januar 2008 11:24
>     >> An: [email protected] <mailto:[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
>     <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

Reply via email to