[Webtest] Clickbutton error using HtmlUnit-based WebTest
Lisa Crispin
webtest@lists.canoo.com
Thu, 11 Nov 2004 17:21:44 +0000
--NextPart_Webmail_9m3u9jl4l_12215_1100193704_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Hi Marc,
All right! This is great news.
I tried it out and it works fine. Thank you!
-- Lisa
-------------- Original message from Marc Guillemot <mguillemot@yahoo.fr>: --------------
> Hi Lisa,
>
> it's now fixed in CVS (CruiseControl should build it under number 560).
> I've added unit test and webtest, to be sure it will never fail again.
>
> Marc.
>
> Lisa Crispin wrote:
> > Using build 548, I am running a script that works fine in the
> > HTTPUnit-based WebTest.
> >
> > It gets this error now:
> > com.canoo.webtest.engine.StepFailedException: No button found, Step:
> > ClickButton at C:\java\eplan\test\WebTest\modules\acceptPlanDocs.xml:2:
> > with (stepId="accept the plan docs ", name="acceptDocs",
> > stepType="clickbutton")
> >
> > The HTML is:
> >
> >
> > The WebTest script has:
> > > > name="acceptDocs"/>
> >
> > Why doesn't it think this is a button? Other buttons do work but they
> > are type="submit". Seems like I had a problem with this once in the
> > HTTPUnit-based WebTest, but it has worked now for a long time (this
> > script runs every night).
> >
> > Thanks,
> > Lisa
> >
> >
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
--NextPart_Webmail_9m3u9jl4l_12215_1100193704_0
Content-Type: text/html
Content-Transfer-Encoding: 8bit
<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV>Hi Marc,</DIV>
<DIV>All right! This is great news.</DIV>
<DIV> </DIV>
<DIV>I tried it out and it works fine. Thank you!</DIV>
<DIV>-- Lisa</DIV><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message from Marc Guillemot <mguillemot@yahoo.fr>: -------------- <BR><BR><BR>> Hi Lisa, <BR>> <BR>> it's now fixed in CVS (CruiseControl should build it under number 560). <BR>> I've added unit test and webtest, to be sure it will never fail again. <BR>> <BR>> Marc. <BR>> <BR>> Lisa Crispin wrote: <BR>> > Using build 548, I am running a script that works fine in the <BR>> > HTTPUnit-based WebTest. <BR>> > <BR>> > It gets this error now: <BR>> > com.canoo.webtest.engine.StepFailedException: No button found, Step: <BR>> > ClickButton at C:\java\eplan\test\WebTest\modules\acceptPlanDocs.xml:2: <BR>> > with (stepId="accept the plan docs ", name="acceptDocs", <BR>> > stepType="clickbutton") <BR>> > <BR>> > The HTML is: <BR>> > <INPUT class=formbutton onclick="javascript: location.href = <BR>> > 'step4.jsp?submit=1';" type=button value="Accept <BR>> > Plan Documents" name=acceptDocs> <BR>> > <BR>> > The WebTest script has: <BR>> > <CLICKBUTTON <BR stepid="accept the plan docs ">> > name="acceptDocs"/> <BR>> > <BR>> > Why doesn't it think this is a button? Other buttons do work but they <BR>> > are type="submit". Seems like I had a problem with this once in the <BR>> > HTTPUnit-based WebTest, but it has worked now for a long time (this <BR>> > script runs every night). <BR>> > <BR>> > Thanks, <BR>> > Lisa <BR>> > <BR>> > <BR>> <BR>> _______________________________________________ <BR>> WebTest mailing list <BR>> WebTest@lists.canoo.com <BR>> http://lists.canoo.com/mailman/listinfo/webtest </BLOCKQUOTE>
<!-- END WEBMAIL STATIONERY -->
</body>
</html>
--NextPart_Webmail_9m3u9jl4l_12215_1100193704_0--