Hi Marc -

I've been keeping an eye on issue WT-375 (Responses generated by Ajax 
components aren't picked up by Webtest) and I was really hoping incorporating 
the new HTMLUnit build into Webtest would do the trick.

Unfortunately, I get the same result with this newest release.  HTMLUnit still 
doesn't recognize responses generated by ajaxy things, and I can't really get 
very far in the debugger with HTMLUnit.

I'll run everything else I have against it and let you know if I see anything 
odd.

Thanks,
Suzanne

> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: [Webtest] WebTest upgraded to HtmlUnit 2.1
> Date: Tue, 29 Apr 2008 17:12:23 +0200
> 
> Hi,
> 
> it took me far longer than I originally expected to incorporate
> HtmlUnit-2.1 and to ensure that everything works almost as previously,
> but now this is done: build 1700 is based on HtmlUnit-2.1
> 
> *Warning: possible fixes needed in XPath usage*
> 
> HtmlUnit doesn't use Jaxen with a custom document navigator anymore for
> XPath processing but Xalan with standard DOM node navigation. This has
> different consequences:
> 
> - shortcuts to verify text content of a node don't work anymore
> ex: //tr[td = '2.1'] should be replaced for instance with //tr[td/text()
> = '2.1']
> 
> - spaces are not trimmed in text
> ex: if the text of the above td is "  2.1", the XPath expression should
> be changed to //tr[td/text() = '  2.1']. Alternatively you can use the
> wt:cleanText function //tr[wt:cleanText(td) = '2.1']
> 
> - syntax check is less forgiving: I've seen some cases of invalid xpath
> expressions (for instance with a ")" instead of a "]") that were
> accepted previously but that are not accepted anymore.
> 
> Your feedback is welcome.
> 
> Happy testing,
> Marc.
> -- 
> Blog: http://mguillem.wordpress.com
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest

_________________________________________________________________
Express yourself wherever you are. Mobilize!
http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=en-US?ocid=TAG_APRIL

Reply via email to