which Ant version? can you test with webtest.sh?

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com

dariusch wrote:
> with ant directly on a mac.
> 
> 
> 
> Marc Guillemot wrote:
>> with ant directly or with webtest.sh?
>>
>> Marc.
>> -- 
>> Blog: http://mguillem.wordpress.com
>>
>>
>> dariusch wrote:
>>> Hi,
>>>
>>> i run it from the command, but same error occur
>>>
>>> :-((
>>>
>>>
>>>
>>> Marc Guillemot wrote:
>>>> can you try to run it from the command line?
>>>>
>>>> Cheers,
>>>> Marc.
>>>> -- 
>>>> Blog: http://mguillem.wordpress.com
>>>>
>>>>
>>>> dariusch wrote:
>>>>> 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>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 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
>>>>>>
>>>>>>
>>>> _______________________________________________
>>>> WebTest mailing list
>>>> [email protected]
>>>> http://lists.canoo.com/mailman/listinfo/webtest
>>>>
>>>>
>> _______________________________________________
>> WebTest mailing list
>> [email protected]
>> http://lists.canoo.com/mailman/listinfo/webtest
>>
>>
> 



_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to