[Webtest] WebTest doesn't work with Ant 1.6.0

Matt Raible webtest@lists.canoo.com
Thu, 18 Dec 2003 21:28:20 -0700


Any ideas?

C:\Source\appfuse\test\web\web-tests.xml:29: Task must be of type
"Step": invoke at C:\Source\appfus
e\test\web\login.xml:1:  is of type org.apache.tools.ant.UnknownElement

Line 29 is:

<canoo name="login">

Here's my webtestTaskdefs.properties file:

canoo=com.canoo.webtest.ant.TestSpecificationTask
config=com.canoo.webtest.engine.Configuration
steps=com.canoo.webtest.ant.TestStepSequence
followframe=com.canoo.webtest.steps.request.FollowFrame
clickbutton=com.canoo.webtest.steps.request.ClickButton
clicklink=com.canoo.webtest.steps.request.ClickLink
verifyxpath=com.canoo.webtest.steps.verify.VerifyXPath
verifylinks=com.canoo.webtest.steps.verify.VerifyLinks
verifycheckbox=com.canoo.webtest.steps.verify.VerifyCheckbox
invoke=com.canoo.webtest.steps.request.InvokePage
setinputfield=com.canoo.webtest.steps.SetInputField
setselectfield=com.canoo.webtest.steps.SetSelectField
setcheckbox=com.canoo.webtest.steps.SetCheckbox
verifyelement=com.canoo.webtest.steps.verify.VerifyHtmlElementNamed
verifyelementtext=com.canoo.webtest.steps.verify.VerifyElementText
verifyinputfield=com.canoo.webtest.steps.verify.VerifyInputField
verifyselectfield=com.canoo.webtest.steps.verify.VerifySelectField
verifytext=com.canoo.webtest.steps.verify.VerifyText
verifytextarea=com.canoo.webtest.steps.verify.VerifyElementText
verifytitle=com.canoo.webtest.steps.verify.VerifyElementText
storeregex=com.canoo.webtest.steps.StoreRegExMatch
storexpath=com.canoo.webtest.steps.StoreXPath
previousresponse=com.canoo.webtest.steps.PreviousResponse
not=com.canoo.webtest.ant.NotStep
repeat=com.canoo.webtest.ant.RepeatStep

Any help is appreciated,

Matt