[Webtest] javascript support :(

Scot Hale webtest@lists.canoo.com
Wed, 26 Mar 2003 23:34:46 -0800


As Siegfried Göschl suggested to me, I added all the jars into my plugin's
"jars" directory and removed all the dependencies from the "plugins"
project.xml.  This ensured that the maven plugin was using all the libraries
intended by Canoo Webtest.

Try this and see if it works.  (note that you should not need to add any
jar's dependencies to you're specfic project's project.xml)

-Scot Hale


----- Original Message -----
From: "Aatish Arora" <a_aatish@yahoo.com>
To: <webtest@lists.canoo.com>
Sent: Wednesday, March 26, 2003 11:18 PM
Subject: Re: [Webtest] javascript support :(


> Hi all,
>
> Im facing a wierd problem.
> Im using the maven plugin for canoo, and have replaced
> the webtest jars with the new release supporting
> Javascript.
>
> I have configured my project.xml to include js.jar
> too!
> Buthe problem is when i run my tests this what i get
> as the output:
>
> webtest:test:
>     [echo] Starting Canoo Webtest ...
>     [echo] Processing C_TC_DFAP.xml
>     [echo] Including xerces/jars/xerces-2.0.2.jar
>     [echo] Including dbunit/jars/dbunit-1.4.jar
>     [echo] Including oracle/jars/oracle-jdbc.jar
>     [echo] Including /jars/
>     [echo] Including
> webtest/jars/httpunitWithJTidy.jar
>     [echo] Including webtest/jars/jcert.jar
>     [echo] Including webtest/jars/jnet.jar
>     [echo] Including webtest/jars/js.jar
>     [echo] Including webtest/jars/jsse.jar
>     [echo] Including webtest/jars/junit_3.7.jar
>     [echo] Including webtest/jars/mailapi.jar
>     [echo] Including webtest/jars/servlet.jar
>     [echo] Including webtest/jars/Tidy.jar
>     [echo] Including webtest/jars/xmlParserAPIs.jar
>     [java] Buildfile:
> D:\Icom\tests\scripts\canoo\webtest\TC_test.xml
>     [java]
>     [java] TC_test:
>     [java]  [testSpec] Rhino classes (js.jar) not
> found - Javascript disabled
>
>
> as it mentioned above it gives me an error that
> Javascript has been disabled!
> :(
>
> Help!
>
> Aatish
>
>
> --- Scot Hale <halesm@hotmail.com> wrote:
> > I believe webtest comes packaged with mozilla Rhino
> > javascript support, as
> > implemented by HttpUnit.
> >
> > It works a great majority of the time.
> >
> > If you want to remove javascript support, just
> > remove the js.jar from the
> > lib directory.
> >
> > ----- Original Message -----
> > From: "Charles Hudak" <CHudak@arrowheadgrp.com>
> > To: <webtest@lists.canoo.com>
> > Sent: Wednesday, March 26, 2003 4:22 PM
> > Subject: [Webtest] javascript support
> >
> >
> > > Hi,
> > >
> > > I searched the web and only found an old post
> > regarding Canoo and JS
> > > support. Is there any plan to support this in the
> > near future? What are
> > the
> > > alternative testing frameworks that support JS?
> > I'd prefer to use Canoo
> > > since the simple XML test files are about all my
> > QA folks can manage.
> > > _______________________________________________
> > > WebTest mailing list
> > > WebTest@lists.canoo.com
> > > http://lists.canoo.com/mailman/listinfo/webtest
> > >
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>