[Webtest] custom step problem

ilfrin webtest@lists.canoo.com
Tue, 29 Jun 2004 12:59:08 +0200


Hi,

I'm implementing my own steps that I need, I encountered a problem
like this, when I start my script from within Eclipse it works well,
but when I recently ran it from command-line I got an error like this:

BUILD FAILED
C:\tools\eclipse\workspace\skrypt\webtest-build.xml:55: Following error occured
while executing this line
C:\tools\eclipse\workspace\skrypt\webtest-build.xml:59: Following error occured
while executing this line
C:\tools\eclipse\workspace\skrypt\webtest-build.xml:72: Following error occured
while executing this line
C:\tools\eclipse\workspace\skrypt\src\canoo\startpage.xml:7: Task must be of typ
e "Step": ilfrin at C:\tools\eclipse\workspace\skrypt\src\canoo\startpage.xml:10
:  is of type com.exorigo.canoo.extension.IlfrinStep

the step is defined like this in the test script :
 
      <taskdef file="${extension.taskdefs.file}">
            <classpath refid="exorigo.extension.classpath"/>
      </taskdef>  

and the class itself has an import of Step and inherits it,

...
import com.canoo.webtest.steps.Step;

public class IlfrinStep extends Step {
...
}

anyway it
must be ok because Eclipse wouldn't run it properly otherwise .. so
why command line execution fails ?


-- 

 ilfrin                          mailto:ilfrin@poczta.onet.pl