[Webtest] bug (annoying feature?)

Dierk Koenig webtest@lists.canoo.com
Fri, 27 Sep 2002 09:29:01 +0200


Hi Christopher,

<clickbutton> supports the nested locator elements.
In your case the index locator helps, see
http://webtest.canoo.com/webtest/manual/syntax.html#27

cheers
Mittie

> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Christopher
> Painter-Wakefield
> Sent: Donnerstag, 26. September 2002 23:53
> To: webtest@lists.canoo.com
> Subject: [Webtest] bug (annoying feature?)
> 
> 
> Sorry if this has been addressed previously, I just joined the mailing
> list.
> 
> We have several form pages which can be somewhat long, so we put 
> our action
> buttons at the top and the bottom.  Webtest refuses to click these
> duplicate buttons, saying that it finds more than one.  We want both
> buttons to have the same label for obvious reasons, and we want them to
> have the same name so that we only have to check one request parameter in
> the server code.  Since both buttons are on the same form, have the same
> action, and the same label, they are to all intents and purposes the same
> button.  It would be nice if Webtest could recognize this case and just
> "click" the button.
> 
> Thanks,
> Christopher
> 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>