[Webtest] Someone really uses form locators?

Lisa Crispin webtest@lists.canoo.com
Tue, 06 Jul 2004 15:57:56 +0000

I use the index locator a fair amount.  I tried to use form locator once and couldn't get it to work anyway, can't remember why.


-------------- Original message from Marc Guillemot : -------------- 
> Hi, 
> does someone use form locators (the nested 
in a )? 
> 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 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 , 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 
> is executed. This has drawbacks. First, 
> if the field doesn't exist, then the error first comes with the . 
> Second, javascript actions that should 
> get executed between the and the don't "see" the 
> setted value. 
> I want to change this to a "normal" behavior. That is when 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