[Webtest] continuing (tho different) install problems
webtest@lists.canoo.com
webtest@lists.canoo.com
Wed, 28 Jan 2004 22:31:00 +0000
I got a very experienced Java programmer (actually, my boss) to help me. We
tried the example from "simple examples to give you a jump start" just going
against a simple website. We keep getting the error below, even though we
have the url parameter and the stepid parameter. I'll put our sample and the
error message below. But what would really help is this:
Does anyone on this list have a simple, WORKING example that runs against any
public website that I can use just to see Canoo work one time? We are
getting a bit frustrated here, and my boss is ready to throw Canoo Webtest
out before we even started. I have heard a lot of Canoo success stories, it
can't be that hard to get it to work!
Here is the sample we tried (which is going against a publically available
site):
<project name="SimpleTest" basedir="." default="main">
<taskdef file="c:/canoo/webtestTaskdefs.properties">
<classpath>
<fileset dir="c:/canoo" includes="**/lib/*.jar"/>
</classpath>
</taskdef>
<target name="main">
<testSpec name="myTest">
<config
host="www.lauracohn.com"
port="8080"
protocol="http:"
basepath="." />
<steps>
<invoke stepid="step one"
url="index.html"
save="myResultPage" />
</steps>
</testSpec>
</target>
</project>
Here's the error we get:
Exception raised: com.canoo.webtest.engine.StepExecutionException: Required
para
meter url not set!, Step: InvokePage at
c:\canoo\doc\samples\LisaTest.xml:17: w
ith (stepId="<unknown>", url="null", stepType="invoke")
com.canoo.webtest.engine.
StepExecutionException: Required parameter url not set!, Step: InvokePage at
c:\
canoo\doc\samples\LisaTest.xml:17: with (stepId="<unknown>", url="null",
stepTy
pe="invoke")
> hi,
>
> > -----Original Message-----
> > box. Does
> > Canoo Webtest work in Windows XP? I can't see why it wouldn't.
>
> I myself have it running on XP.
>
> > ant -version shows I am using version 1.5.2. My java version is
> > 1.4.2. I
> > can't change that, because the apps I am testing need it.
>
> That is all fine.
>
> As the http://webtest.canoo.com/manual/install.html says in the
> "note:" section, the installtest with the file protocol sometimes
> fails. We also have a number of postings in the mailinglist
> that deal with this issue. In contrast to what is said on the
> webpage, it is a jdk issue.
>
> You best replace "file" protocol with "http" and invoke a
> well-known url in your intranet.
>
> cheers
> Mittie
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest