[Webtest] Someone really uses form locators?
Marc Guillemot
webtest@lists.canoo.com
Wed, 07 Jul 2004 10:31:19 +0200
Hi Mittie,
I know that the selftests provide sample usage but they are running even with "deactivated" locators.
Locally I've disabled the <locator> (always accepted, but nothing is done with them) and these tests continue to work.
Therefore I miss a webtest where a locator is *really* needed.
Marc.
Dierk Koenig wrote:
> Hi Marc,
>
> I'm currently on a customer's site and a quick and non-exhaustive
> search showed usages in 65 files.
>
> The selftests contain sample usages in the
> \selftests\tests\clickButton.xml and
> \selftests\tests\not.xml
>
> cheers
> Mittie
>
>
>>-----Original Message-----
>>From: webtest-admin@lists.canoo.com
>>[mailto:webtest-admin@lists.canoo.com]On Behalf Of Marc Guillemot
>>Sent: Dienstag, 6. Juli 2004 17:41
>>To: webtest@lists.canoo.com
>>Subject: [Webtest] Someone really uses form locators?
>>
>>
>>Hi,
>>
>>does someone use form locators (the nested <form> in a <clickbutton>)?
>>
>>
>>I'm performing some cleanup/refactoring, and I would like to
>>remove the "buffering feature" of form parameters. This
>>implies that form locators can't be nested in <clickbutton>
>>anymore. It seems that the self tests don't contain any
>>tests that really need these form locators as the test keep
>>running on my computer after my changes.
>>
>>So, the question again: does someone use form locators? If so,
>>I'd like to become some short tests (an html page with
>>the associated test) to add it to the selftests. Else... I think
>>that I can remove it totally.
>>
>>
>>Why these changes?
>>Currently a <setinputfield>, for instance, doesn't really set the
>>value of the specified input field, but stores it in a
>>temporary map. The value is really setted on the form first when
>>a <clickbutton> is executed. This has drawbacks. First,
>>if the field doesn't exist, then the error first comes with the
>><clickbutton>. Second, javascript actions that should
>>get executed between the <setinputfield> and the <clickbutton>
>>don't "see" the setted value.
>>I want to change this to a "normal" behavior. That is when
>><setinputfield> is called, then the value of the specified
>>field get setted.
>>
>>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
>