[Webtest] Button tag support for Clickbutton
Dierk Koenig
webtest@lists.canoo.com
Thu, 18 Sep 2003 10:02:00 +0200
Hi,
I just found I didn't integrate the tests on this that Aatish
contributed in February - what a shame.
As far as the patch is concerned, it seems to me that
clickbutton.java relies on a not-recent build (?).
I promise to do something about the type=button issue.
As always - I promise no dates :-)
cheers
Mittie
> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Aatish Arora
> Sent: Donnerstag, 18. September 2003 7:52
> To: webtest@lists.canoo.com
> Subject: Re: [Webtest] Button tag support for Clickbutton
>
>
> Hi Ammann
>
> Heres a pacth for it ;)
>
> cheers!
> Aatish
>
> --- Ammann Kuno <Kuno.Ammann@comit.ch> wrote:
> > we are working a lot with buttons with type="button"
> > and i therefore was
> > looking in the mailings regarding problems/issues.
> > if i try to catch the
> > submit button everything is working fine, but with
> > the normal button i
> > do get the failure message (see below). does anyone
> > know what the
> > current state is, also regarding the broken issue
> > dicussion in
> >
> http://lists.canoo.com/pipermail/webtest/2003q1/000502.html
> > thx for your support
> > kuno
> >
> > my test html includes:
> > <input type="submit" name="buttonSubmit"
> > value="Submit">
> > <input type="BUTTON" name="doLinkButton" value="DO
> > onClick"
> >
> onClick="doLinkButton('WebTestExample','showPopUp');">
> >
> > my webtest xml:
> > <steps>
> >
> > &login;
> >
> > <invoke stepid="Invoke WebTestExample"
> >
> url="lear.servlet.MainServlet?OBC=ch.ubs.skp.lear.bc.WebTestExample&
> > FID=showEdit"/>
> > <clickbutton stepid="doLinkButton"
> > name="doLinkButton" />
> > </steps>
> >
> >
> > related webtest failure message:
> > com.canoo.webtest.engine.StepFailedException: Button
> > with name
> > <doLinkButton> and value <<not specified>> not
> > found!, Step: ClickButton
> > at
> >
> file:C:/Daten/QPtesting/webtest.canoo.com/lear/lear.xml:44:
> > with
> > (stepId="doLinkButton", name="doLinkButton",
> > stepType="clickbutton")
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com