[Webtest] clickbutton with button tag
webtest@lists.canoo.com
webtest@lists.canoo.com
Tue, 6 Aug 2002 11:52:38 -0500
Mittie wrote:
>> Maybe it is possible to <invoke> the form with predefined
parameters(?).
I don't think using invoke will be real practical for us.
Thanks, though. It is helpful to know all of that.
-----Original Message-----
From: Dierk Koenig [mailto:dierk.koenig@canoo.com]
Sent: Tuesday, August 06, 2002 11:36 AM
To: webtest@lists.canoo.com
Subject: [Webtest] clickbutton with button tag
Hi Erik,
it is weird, but <clickbutton> does not find the <button> tag, although
this
is
proper html 4.0.
Reason is, that we relay the call to httpunit's
WebForm.getSubmitButtons()
method
that in turn only looks for the input type submit and not for button
tags.
Fixing this requires looking for the latest httpunit changes and
eventually
updating or otherwise submitting some changes to httpunit itself.
I will follow up, but I cannot promise a date.
Meanwhile you will not be able to use <clickbutton> in your example.
Changing the webapp to using the input type=3Dsubmit style would do the
trick but is like a step backwards from the webapp perspective.
Maybe it is possible to <invoke> the form with predefined parameters(?).
cheers
Mittie
> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of
> Erik.Ostermueller@alltel.com
> Sent: Dienstag, 6. August 2002 17:31
> To: webtest@lists.canoo.com
> Subject: RE: [Webtest] cruisecontrol
>
>
> The doc for <clickbutton> shows that it supports
> html like this:
>
> <INPUT type=3D"submit" value=3D"doIt" />
>
>
> My html button looks a bit different:
> <button type=3D"submit" ID=3D"idSearchButton" CLASS=3D"button">
> Search
> </button>
>
> What should my <clickbutton> look like for the above html?
>
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest