12 messages in com.canoo.lists.webtest[Webtest] Re: locating button within ...
FromSent OnAttachments
andy johnson25 Apr 2005 12:39 
Marc Guillemot26 Apr 2005 00:43 
andy johnson26 Apr 2005 01:10 
Marc Guillemot26 Apr 2005 01:21 
andy johnson26 Apr 2005 05:28 
andy johnson26 Apr 2005 14:41 
Rajesh Menon26 Apr 2005 15:25 
Marc Guillemot27 Apr 2005 02:07 
andy johnson27 Apr 2005 06:35 
paul...@visi.com27 Apr 2005 07:12 
Rajesh Menon27 Apr 2005 12:59 
Marc Guillemot12 May 2005 01:39 
Subject:[Webtest] Re: locating button within form
From:Marc Guillemot (mgui@yahoo.fr)
Date:05/12/2005 01:39:50 AM
List:com.canoo.lists.webtest

The "index" property of the clickButton step is now available. The property is
used in addition to the name and label properties.

Marc.

paul@visi.com wrote:

I prefer the new (non-nested) syntax you are suggesting. With one question. If you specify an index, as in <selectForm ...whatever.../> <clickButton stepid="Submit the simple form" name="doIt" index="1"/>

will this cause the 2nd button in the form that has been selected to be clicked, regardless of the button name, or will it also check the button name? I thought i'd seen some recent mailings regarding the inability to click an (image) button that didn't have a name. If name/label/htmlid all become irrelevant when `index` is used, then this may also solve that other problem? i.e. any combination of name, label, htmlid, or index is will be sufficient to find the button.

-- Paul