[Webtest] R1448 & Repeat step...?

Colin O'Brien Colin O'Brien" <colin.obrien@capetechnologies.com
Tue, 12 Dec 2006 14:52:07 -0000


This is a multi-part message in MIME format.

------=_NextPart_000_01BA_01C71DFD.1869D970
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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.
_________________________________________
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
_________________________________________
 



------=_NextPart_000_01BA_01C71DFD.1869D970
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C71DFD.1843B3D0">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	mso-ansi-language:EN-IE;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple style=3D'tab-interval:36.0pt'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'>Hi All,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'>I upgraded to 2.1 R1448 today and I&#8217;m getti=
ng
the following error with the &lt;repeat/&gt; construct&#8230;<o:p></o:p></s=
pan></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'>C:\canoo\TestSuites\RO_GUI_4.0_TCs_TestSuite.xml:=
165:
The following error occurred while executing this line:<o:p></o:p></span></=
font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 face=3DArial><span=
 lang=3DEN-IE
style=3D'font-size:10.0pt;font-family:Arial'>java.lang.NoSuchMethodError</s=
pan></font></span><font
size=3D2 face=3DArial><span lang=3DEN-IE style=3D'font-size:10.0pt;font-fam=
ily:Arial'>:
<span class=3DGramE>org.apache.tools.ant.IntrospectionHelper.getAddTextMeth=
od(</span>)Ljava/lang/reflect/Method;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'>Repeat steps&#8230;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'>&lt;repeat description=3D&quot;Verify all Tabbed =
panes
are available&quot; count=3D&quot;${tabs}&quot;&gt;<o:p></o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbs=
p; </span>&lt;groovy
description=3D&quot;Select a tab to verify&quot;&gt;<o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
class=3DGramE>def</span> testTab =3D 'tab.' + step.webtestProperties['count=
']<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
class=3DGramE>step.webtestProperties[</span>'verifyMe'] =3D
step.project.properties[testTab]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbs=
p;
</span>&lt;/groovy&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbs=
p;
</span>&lt;verifyXPath<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;
</span>Description=3D&quot;Verify <span class=3DGramE>#{</span>verifyMe} ta=
b pane
exists as a link&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
class=3DSpellE><span class=3DGramE>xpath</span></span>=3D&quot;//a[contains=
(.,'#{verifyMe}')]&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
class=3DGramE>text</span>=3D&quot;#{verifyMe}&quot;<o:p></o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbs=
p; </span>/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'>&lt;/repeat&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'>Has something changed in this release&#8230;? I h=
ad
the same issue with R1428</span></font><font size=3D2 face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'><o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'>Regards,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-IE style=
=3D'font-size:
10.0pt;font-family:Arial'>Colin.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>_________________________________________<o:p></o:=
p></span></font></b></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>Colin O&#8217;Brien<o:p></o:p></span></font></b></=
p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>QA Manager<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:8.0pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>CAPE Technologies,<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>Maple House, Temple Road, Blackrock, Co. Dublin<o:=
p></o:p></span></font></b></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:8.0pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>e: colin.obrien@capetechnologies.com</span></font>=
</b><b
style=3D'mso-bidi-font-weight:normal'><font size=3D1 color=3Dsilver face=3D=
Verdana><span
lang=3DEN-IE style=3D'font-size:8.0pt;font-family:Verdana;mso-bidi-font-fam=
ily:
Arial;color:silver;font-weight:bold;mso-bidi-font-weight:normal;mso-no-proo=
f:
yes'><o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>p: +353 1 4003 900</span></font></b><span lang=3DE=
N-IE
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>f: +353 1 4003 901<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>w: http://www.capetechnologies.com<o:p></o:p></spa=
n></font></b></p>

<p class=3DMsoNormal><b style=3D'mso-bidi-font-weight:normal'><font size=3D1
color=3Dsilver face=3DVerdana><span lang=3DEN-IE style=3D'font-size:7.5pt;f=
ont-family:
Verdana;mso-bidi-font-family:Arial;color:silver;font-weight:bold;mso-bidi-f=
ont-weight:
normal;mso-no-proof:yes'>_________________________________________<o:p></o:=
p></span></font></b></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span lang=3DE=
N-IE
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_01BA_01C71DFD.1869D970--