yes, some xsl processing js functions are already supported by HtmlUnit
but as you see, not all. Please open an issue by HtmlUnit for that.

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


Robert Bodziony wrote:
> currently latest version of htmlunit is 2.0 and there isn't easy way to
> upgrade webtest with this version (as with latest builds of webtest are
> version 1.14)
> 
>  regards,
> Robert
>  
> 
> 2008/1/29, Test BCN <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> 
> 
>           Ooh, I just could log in, but I have a new error. In the
>           report I see that I could log in. I suppose this is an item
>           that is not yet supported by html-unit.
> 
>     What are the workaround options? Get the latest snapshot of htmlunit
>     and put it in the lib directory? Or can I turn this function off? It
>     looks like a non-important function to follow on with my test, but
>     as it fails, I can't do any actions on the resulting page, ¿Can't I?
>     Thanks
> 
> 
> 
>           Message
> 
>     JavaScript error loading page
>     http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true
>     <http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true>:
>     TypeError: Cannot find function transformNode. (script in
>     http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true
>     <http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true>
>     from (823, 58) to (0, 0)#852)
> 
> 
>           Location
> 
>     C:\software\FotocasaAreaPersonal\tests\areaPersonal\openAreaPersonal.xml
>     (line: 25)
> 
> 
>           Details
> 
>     javascript error  TypeError: Cannot find function transformNode.
>     (script in
>     http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true
>     <http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true>
>     from (823, 58) to (0, 0)#852)
>     line      852
>     javascript source 
>     failing line      <no source>
>     javascript call stack     TypeError: Cannot find function transformNode.
>     (script in
>     http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true
>     <http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true>
>     from (823, 58) to (0, 0)#852) at RenderNews(script in
>     http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true
>     <http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true>
>     from (823, 58) to (0, 0):852) at (script in
>     http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true
>     <http://www.fotocasa.es/user/user_personal_area.aspx?s42&rewrited=true>
>     from (823, 58) to (0, 0):868)
> 
> 
>     function RenderNews() {
>     846 var transform;
>     847
>     848 var xmlDoc = getDomFromXml('/rssnews.aspx');
>     849 var xslDoc = getDomFromXml('/portals/49/static/title_news.xsl');
>     850
>     851 if (typeof ActiveXObject != 'undefined') {
>     852 transform = xmlDoc.transformNode(xslDoc);
>     853 }
>     854 else {
> 
> 
> 
> 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to