Hi,
right now i run it inside eclipse as an ant task. This is my build file:
<project name="..." default="wt.full" basedir=".">
<property name="webtest.home" location="../../Canoo WebTest" />
<import file="${webtest.home}/webtest.xml"/>
<import file="${basedir}/environment/definition.xml" />
<import file="classPath.xml" />
<import file="cleanUp.xml" />
<import file="allTestCases.xml" />
<target name="wt.testInWork">
<antcall target="cleanUp" />
<antcall target="allTestCases" />
</target>
</project>
Inside the definition.xml file is the macro.
Marc Guillemot wrote:
>
> sounds like a classpath issue. How do you run your tests?
>
> Cheers,
> Marc.
> --
> Blog: http://mguillem.wordpress.com
>
>
> dariusch wrote:
>> Hello,
>>
>> i use a macrodef to use default canoo webtest configuration for each
>> testcase:
>>
>> <macrodef name="ui.testSpec">
>> <attribute name="name" />
>> <element name="ui.steps" />
>> <sequential>
>> <testSpec name="@{name}">
>> <config host="localhost"
>> port="8080"
>> protocol="http"
>> haltonfailure="false"
>> failureproperty="test.failure"
>> haltonerror="false"
>> errorproperty="test.error"
>> resultpath="results"
>> resultfile="results.xml"
>> summary="true"
>> saveresponse="true">
>> <header name="User-Agent" value="Gecko"
>> />
>> <header name="Accept" value="*/*" />
>> <option
>> name="ThrowExceptionOnFailingStatusCode" value="false" />
>> <option name="JavaScriptEnabled"
>> value="true" />
>> </config>
>> <steps>
>> <ui.steps />
>> </steps>
>> </testSpec>
>> </sequential>
>> </macrodef>
>>
>> after i update the new version i get this error:
>>
>>
>> .../definition.xml:6: java.lang.NoSuchMethodError:
>> org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/lang/Class;)I
>>
>> anybody has an idea?
>>
>> Thanks,
>> Dariusch
>>
>
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>
>
--
View this message in context:
http://www.nabble.com/Error-with-R_1700-tp16978241p16978506.html
Sent from the WebTest mailing list archive at Nabble.com.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest