[Webtest] [testSpec] ERROR (Step.java:333) - Cannot handle unexpected exception in step InvokePage at with (stepId="get local file"

webtest@lists.canoo.com webtest@lists.canoo.com
Mon, 10 May 2004 10:29:52 +0200

Hi CF,
I made numerous tests on your file and I don't understand why it doesn't work.
However, I suppose you don't want to make test with the "file" protocol and i
you configuration work perfectly with the "http" protocol.
I give you the test file (i build it from the "build" directory of canoo web test).

Good tests, Lezoul

<!--=========== Starting ===========-->
<project name="testYcebt.xml" basedir="." default="checkWebTest">

<property name="webtest.home" value="${basedir}"/>

<taskdef file="${webtest.home}\webtestTaskdefs.properties">
      <fileset dir="${webtest.home}" includes="**\lib\*.jar"/>

<target name="checkWebTest">
   <echo message="base dir is ${basedir}"/>
   <testSpec name="check calling and parsing a local file">
         protocol="http" />
            stepid="get local file"
            stepid="check the title is parsed correctly"
            text="Canoo WebTest Homepage" />
<!--=========== END ===========-->

Selon CF Wong <cf.wong@rogers.com>:

> Hi  Lezoul, as you suggested the problem might be caused by too many changes
> to the installTest.xml file and environment variables. I did re-install
> webtest (build 441) 
> and ant (1.5.4). However, I still ran into the same problem even the
> installTest.xml file has been changed as you suggested.
> I am enclosing displays of system variables, changed of xml file and error
> message below. I really appreciate your help in resloving this initial
> problem. 
> Thank you in advance.
> Best Regards,
> CF