[Webtest] R1448 & Repeat step...?

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Tue, 12 Dec 2006 16:44:43 +0100


In this case this seems logic. Can you try with ant 1.6.5 (this is the 
version that is provided with WebTest)?

Marc.

Colin O'Brien wrote:
> Hi Marc,
> 
> Apologies, I didn't have the problem with 1428, it was with 1443... So
> to recap, I have the issue quoted with R_1443 and R_1448
> 
> Sorry for the confusion...
> 
> Regards,
> Colin.
> 
> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com] On Behalf Of Marc Guillemot
> Sent: 12 December 2006 15:33
> To: webtest@lists.canoo.com
> Subject: Re: [Webtest] R1448 & Repeat step...?
> 
> Hi Colin,
> 
> which Ant version do you use?
> 
> Use of IntrospectionHelper.getAddTextMethod() has been introduced in 
> build 1432. It's quite strange if you had already the problem with 1428.
> 
> Marc.
> 
> Colin O'Brien wrote:
>> Hi All,
>>
>>  
>>
>> I upgraded to 2.1 R1448 today and I'm getting the following error with
> 
>> the <repeat/> construct.
>>
>>  
>>
>> C:\canoo\TestSuites\RO_GUI_4.0_TCs_TestSuite.xml:165: The following 
>> error occurred while executing this line:
>>
>> java.lang.NoSuchMethodError: 
>>
> org.apache.tools.ant.IntrospectionHelper.getAddTextMethod()Ljava/lang/re
> flect/Method;
>>  
>>
>>  
>>
>> Repeat steps.
>>
>> <repeat description="Verify all Tabbed panes are available"
> count="${tabs}">
>>     <groovy description="Select a tab to verify">
>>
>>         def testTab = 'tab.' + step.webtestProperties['count']
>>
>>         step.webtestProperties['verifyMe'] = 
>> step.project.properties[testTab]
>>
>>     </groovy>
>>
>>     <verifyXPath
>>
>>         Description="Verify #{verifyMe} tab pane exists as a link"
>>
>>         xpath="//a[contains(.,'#{verifyMe}')]"
>>
>>         text="#{verifyMe}"
>>
>>     />
>>
>> </repeat>
>>
>>  
>>
>> Has something changed in this release.? I had the same issue with
> R1428
>>  
>>
>> Regards,
>>
>> Colin.