[Webtest] Clickbutton with index not working
Lisa Crispin
webtest@lists.canoo.com
Thu, 11 Nov 2004 21:08:06 +0000
--NextPart_Webmail_9m3u9jl4l_23423_1100207286_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
I'm getting the following error running a script which works in the HTTPUnit-based WebTest. I'm using build 560.
C:\java\eplan\build.xml:901: Following error occured while executing this line
C:\java\eplan\test\WebTest\SmokeTest\EmployeeEnrollTest.xml:23: The <clickbutton
> type doesn't support the nested "index" element.
This line number 23 in that file is just the testSpec, but I think it must actually be complaining about this:
<clickbutton stepid="Click search"
label="Search..." >
<index value="5"/>
</clickbutton>
The doc shows this is still supported, has it been deprecated? I can work around it, but I'm just curious.
thanks,
Lisa
--NextPart_Webmail_9m3u9jl4l_23423_1100207286_0
Content-Type: text/html
Content-Transfer-Encoding: 8bit
<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV>I'm getting the following error running a script which works in the HTTPUnit-based WebTest. I'm using build 560.</DIV>
<DIV> </DIV>
<DIV>C:\java\eplan\build.xml:901: Following error occured while executing this line<BR>C:\java\eplan\test\WebTest\SmokeTest\EmployeeEnrollTest.xml:23: The <clickbutton<BR>> type doesn't support the nested "index" element.</DIV>
<DIV> </DIV>
<DIV>This line number 23 in that file is just the testSpec, but I think it must actually be complaining about this:</DIV>
<DIV> </DIV>
<DIV> <clickbutton stepid="Click search"<BR> label="Search..." ><BR> <index value="5"/><BR> </clickbutton><BR></DIV>
<DIV>The doc shows this is still supported, has it been deprecated? I can work around it, but I'm just curious.</DIV>
<DIV>thanks,</DIV>
<DIV>Lisa</DIV>
<!-- END WEBMAIL STATIONERY -->
</body>
</html>
--NextPart_Webmail_9m3u9jl4l_23423_1100207286_0--