[Webtest] R1448 & Repeat step...?

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


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/reflect/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.
> 
> *_________________________________________*
> 
> *Colin O’Brien*
> 
> *QA Manager*
> 
> * *
> 
> *CAPE Technologies,*
> 
> *Maple House, Temple Road, Blackrock, Co. Dublin*
> 
> * *
> 
> *e: colin.obrien@capetechnologies.com***
> 
> *p: +353 1 4003 900*
> 
> *f: +353 1 4003 901*
> 
> *w: http://www.capetechnologies.com*
> 
> *_________________________________________*
> 
>  
>