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">
<classpath>
<fileset dir="${webtest.home}" includes="**\lib\*.jar"/>
</classpath>
</taskdef>
<target name="checkWebTest">
<echo message="base dir is ${basedir}"/>
<testSpec name="check calling and parsing a local file">
<config
host="webtest.canoo.com"
port="80"
basepath="/"
saveresponse="true"
protocol="http" />
<steps>
<invoke
stepid="get local file"
url="webtest"/>
<verifytitle
stepid="check the title is parsed correctly"
text="Canoo WebTest Homepage" />
</steps>
</testSpec>
</target>
</project>
<!--=========== END ===========-->
Selon CF Wong <cf.w...@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