Canoo webtest
Hi all,
I want to run a webtest using Canoo. The test file looks like this:
<?xml version="1.0"?>
<!DOCTYPE project [
<!ENTITY config SYSTEM "config.xml">
]>
<project name="ExampleTest" basedir="." default="main">
<property name="webtest.home" value="C:/webtest"/>
<taskdef file="${webtest.home}/webtestTaskdefs.properties">
<classpath>
<fileset dir="${webtest.home}" includes="**/lib/*.jar"/>
<fileset dir="${webtest.home}" includes="**/lib/base/*.jar"/>
<fileset dir="${webtest.home}" includes="**/lib/build/*.jar"/>
<fileset dir="${webtest.home}" includes="**/lib/optional/*.jar"/>
</classpath>
</taskdef>
<target name="main">
<testSpec name="homePage">
<config
host="www.cse.scu.edu"
port="80"
protocol="http"
basepath="~jnoll/"
/>
<steps>
<invoke
stepid="get Home Page"
url="index.html"
/>
<verifytext
stepid="we should see my name."
text="Prof. John Noll"
/>
</steps>
</testSpec>
</target>
</project>
The problem is, that I get the following stacktrance:
C:\webtest>ant -buildfile test-canoo.xml
Buildfile: test-canoo.xml
BUILD FAILED
C:\webtest\test-canoo.xml:9: taskdef class com.canoo.webtest.steps.pdftest.VerifyPdfTextStep cannot be found
My environment variables:
ANT_HOME=C:\Apache Software Foundation\apache-ant-1.6.5
WEBTEST_HOME=C:\webtest
I hope somebody can help me :-)
Thanks in advance