I've aded another taksdef with pdf steps description from webtest-1454.jar:
...
                            <tasks>
                                <taskdef
resource="webtest_base_relaxed.taskdef">
                                    <classpath
refid="maven.test.classpath"/>
                                </taskdef>
                                <taskdef
resource="webtest_pdftest_relaxed.taskdef">
                                    <classpath
refid="maven.test.classpath"/>
                                </taskdef>
...
and got error: Embedded error: taskdef A class needed by class
com.canoo.webtest.plugins.pdftest.PdfVerifyTextFieldStep cannot be found:
com/canoo/pdftest/testcase/PdfTextFieldExistsTestCase.
there is PdfTextFieldExistsTestCase.class in webtest-1454.jar, why it can
not be found?


mraible wrote:
> 
> Here's the part you'll need to change:
> 
>                                 <taskdef
> resource="webtest_base_relaxed.taskdef">
>                                     <classpath>
>                                         <path
> refid="maven.test.classpath"/>
>                                         <path
> location="src/main/resources"/>
>                                     </classpath>
>                                 </taskdef>
> 
> You should be able to pick a different "resource" that has PDF Tasks
> in it.  I'd look in the webtest.jar for a list of taskdefs.  Note: You
> may have to add PDF-handling dependencies to the maven-antrun-plugin
> that these tasks are defined in.
> 
> Matt
> 
> 

-- 
View this message in context: 
http://www.nabble.com/appfuse-2---webtest---verifypdftext-step-does-not-work-tf3333159s2369.html#a9769710
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to