[Webtest] Problem with a nested index tag

webtest@lists.canoo.com webtest@lists.canoo.com
Fri, 13 Sep 2002 17:30:51 +1000


This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C25B4A.9E3D24F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I'm currently trying to implement using an index tag on the <setinputfield>
tag, but I keep beating my head against a brick wall. If I want to be able
to have the nested index tag, is there any extra code I have to add other
than

    public void addIndex(IndexLocator locator) {
        fIndexLocator = locator;
    }

What I get out of ant is:
	Class com.canoo.webtest.steps.SetInputField doesn't support the nested
"index" element.

I've been staring and staring at how it's done in ClickButton, but I can't
see anything other than this.

(By the way, I'm trying to implement support for multiple input text fields
with the same name on a form to pass in an array of parameters).

Daniel Sheppard
daniels@pronto.com.au
eCommerce Developer
Pronto Software Pty Ltd
Phone: +61-3-9887-7770   Fax: +61-3-9887-7779


------=_NextPart_000_0000_01C25B4A.9E3D24F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DWindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.5762.3">
<TITLE>Problem with a nested index tag</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>I'm currently trying to implement using an index tag =
on the &lt;setinputfield&gt; tag, but I keep beating my head against a =
brick wall. If I want to be able to have the nested index tag, is there =
any extra code I have to add other than</FONT></P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; public void addIndex(IndexLocator =
locator) {</FONT>

<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fIndexLocator =3D locator;</FONT>

<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; }</FONT>
</P>

<P><FONT SIZE=3D2>What I get out of ant is:</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>Class =
com.canoo.webtest.steps.SetInputField doesn't support the nested =
&quot;index&quot; element.</FONT>
</P>

<P><FONT SIZE=3D2>I've been staring and staring at how it's done in =
ClickButton, but I can't see anything other than this.</FONT>
</P>

<P><FONT SIZE=3D2>(By the way, I'm trying to implement support for =
multiple input text fields with the same name on a form to pass in an =
array of parameters).</FONT></P>

<P><FONT SIZE=3D2>Daniel Sheppard</FONT>

<BR><FONT SIZE=3D2>daniels@pronto.com.au</FONT>

<BR><FONT SIZE=3D2>eCommerce Developer</FONT>

<BR><FONT SIZE=3D2>Pronto Software Pty Ltd</FONT>

<BR><FONT SIZE=3D2>Phone: +61-3-9887-7770&nbsp;&nbsp; Fax: =
+61-3-9887-7779</FONT>

<BR><FONT SIZE=3D2>&nbsp;</FONT>
</P>

</BODY>
</HTML>
------=_NextPart_000_0000_01C25B4A.9E3D24F0--