[Webtest] [dev] Locators
Marc Guillemot
webtest@lists.canoo.com
Thu, 25 Nov 2004 10:19:53 +0100
in fact a step to select current form exists since 29.10.04. It's not documented because it isn't "webtested" and I had
forgotten that I added it.
<selectform name="myForm"/>
or
<selectform index="2"/>
Documentation should really be updated, it would perhaps help me to remember what I've already done. ;-)
Marc.
Dierk Koenig wrote:
> I fully agree.
>
> Actually, I thought about the very same issue and
> didn't submit a selftest because I wasn't sure about the
> solution.
> For the naming of the step I would like to express that
> it is not a self-sufficient "set" but changes the
> scope of the trailing steps. How about "withForm ..."?
>
> There is one remaining issue (admittedly conceived):
> multiple buttons in same form with same properties
> (name,value) but different onclick-handlers.
> This is where we would need the button index.
>
> cheers
> Mittie
>
>
>>-----Original Message-----
>>From: webtest-admin@lists.canoo.com
>>[mailto:webtest-admin@lists.canoo.com]On Behalf Of Marc Guillemot
>>Sent: Montag, 22. November 2004 9:58
>>To: webtest@lists.canoo.com
>>Subject: [Webtest] [dev] Locators
>>
>>
>>Hi Mittie,
>>
>>I've seen your commit "show need for locators" preparing for
>>re-introduction of locators. I (now ;-)) agree with the
>>need of the <index> locator for a button but I propose an other
>>solution instead of the form locator. The old form
>>locator only allowed to locate a form when clicking on a button.
>>This was fully ok as there was no need to have the form
>>"located" before as the set inputs were buffered. This isn't the
>>case anymore because actions are performed directly on
>>the form. This introduce the need for a "locateform" (or
>>"selectcurrentform") step that can be used before a <setXXXX>
>>or before a <clickbutton> making the nested form locator useless.
>>Is this ok for you?
>>
>>Marc.
>>_______________________________________________
>>WebTest mailing list
>>WebTest@lists.canoo.com
>>http://lists.canoo.com/mailman/listinfo/webtest
>>
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>