I've been trying to create my own custom step with little success. I jared
up a simple class that extends the Step class and implements the doExecute()
method. I took that jar, put it in the WEBTEST_HOME/lib directory and added
an entry to the webtestTaskdefs.properties file.

When I try to run the test I get the familiar ANT error:Could not create
task or type of type: verifyMyXPath

After several hours I decided to just take the verifyText entry: verifyText:
com.canoo.webtest.steps.verify.VerifyText  and copy it but rename the task
def to:

verifyMyText:com.canoo.webtest.steps.verify.VerifyText

When I referenced this in my test file I got the same error. It appears to
me that whatever I put in the webtestTaskDefs.properties file isn't being
honored. I'm using the latest development build: R_1681.

I was hoping someone could point out a fundamental step that I'm missing.

Thanks in advance,
Mark

Reply via email to