[Webtest] zkoss and canoo
Diana Baumgartner
Diana Baumgartner" <baumgartner@tembit.de
Wed, 21 Nov 2007 15:26:06 +0100
Hi Marc,
I use the actual build, means build1639 containing
commons-httpclient-3.0.1.jar and htmlunit-1.13.jar. I guess the
"browser-engine" emulated via httpclient an htmlunit can't cope with
javascript functionality used in zkoss?
As I described in my last mail, one can see that webtest fails loading
/zk/html/boot.js of zkoss (http://zkoss.org/) which is the main
zkoss-client functionality.
But what I'm confused about is the error messages I got:
---
com.gargoylesoftware.htmlunit.ScriptException: unsupported protocol:
> 'javascript'
---
Unsupported protocol?
Marc, it would be really helpful if you would try to open a zkoss site
within your testsystem. For example just invoke url:
http://zkoss.org/zkdemo/userguide/
And tell me if your system can cope with those zkoss elements, because
I'm not sure if I do have the appropriate configuration..
Thanks a lot!
Diana
=20
-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com] On Behalf Of Marc Guillemot
Sent: Mittwoch, 21. November 2007 15:03
To: webtest@lists.canoo.com
Subject: Re: [Webtest] zkoss and canoo
Hi Diana,
which WebTest build do you use?
Cheers,
Marc.
--=20
Blog: http://mguillem.wordpress.com
Diana Baumgartner wrote:
> Hi everybody,
>=20
> =20
>=20
> does anybody know if the actual version of canoo is working with zkoss
> components?
>=20
> =20
>=20
> I did try to test my zkoss application with canoo but got following
error:
>=20
> =20
>=20
> -------
>=20
> <failure filename=3D"D:\Boehringer\WS\Datec\build.xml" line=3D"1045"
> message=3D"JavaScript error loading page
> http://localhost:8080/datec/mainMenu.html: Wrapped
> com.gargoylesoftware.htmlunit.ScriptException: unsupported protocol:
> 'javascript'
(http://localhost:8080/datec/zkau/web/js/zk/html/boot.js#796)">
>=20
> <detail name=3D"javascript error"><![CDATA[Wrapped
> com.gargoylesoftware.htmlunit.ScriptException: unsupported protocol:
> 'javascript'
>
(http://localhost:8080/datec/zkau/web/js/zk/html/boot.js#796)]]></detail
>
>=20
> <detail name=3D"line"><![CDATA[-1]]></detail>
>=20
> <detail name=3D"javascript
source"><![CDATA[if(!window.zk){
>=20
> if(!window.Boot_progressbox){
>=20
> window.Boot_progressbox=3Dfunction(id,_2,x,y){
>=20
> var n=3Ddocument.createElement("DIV");
>=20
> document.body.appendChild(n);
>=20
> var _6=3D"<div id=3D\""+id+"\"
>
style=3D\"left:"+x+"px;top:"+y+"px;"+"position:absolute;z-index:79000;bac=
k
ground-color:#FFF0C8;"+"white-space:nowrap;border:1px
> solid #77a;padding:6px;\">"+"<img alt=3D\".\"
> src=3D\""+zk.getUpdateURI("/web/zk/img/progress.gif")+"\"/>
"+_2+"</div>";
>=20
> zk._setOuterHTML(n,_6);
>=20
> return $e(id);
>=20
> };
>=20
> ....
>=20
> -------
>=20
> =20
>=20
> Thanks for any reply!
>=20
> =20
>=20
> Diana
>=20
> =20
>=20
> =20
>=20
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest