[Webtest] Why are setXxxx "delayed"?
Wed, 5 Nov 2003 16:57:51 +0100
the main issue here is locating the correct inputfield.
The current strategy does not have to deal at all with issues that
arise when more than one inputfield with the same name appears multiple
times on the page/in the same form/in multiple forms/etc.
An immediate setting would need to deal with it, forcing the tester
to give more information.
Currently we can delay the locating issue until we actually click,
having the logic in only one place.
However, I'm open to better solutions.
P.S. As always, backward compatibility is a mandatory.
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com]On Behalf Of Marc Guillemot
> Sent: Mittwoch, 5. November 2003 16:21
> To: WebTest@lists.canoo.com
> Subject: [Webtest] Why are setXxxx "delayed"?
> currently the real actions of the setXxxx tags (setcheckbox,
> setinputfield, ...)
> are delayed: the values are put in the forms only when the submit
> button is pressed.
> I think it's not as usefull as would it be done directly and I've
> therefore my
> own tasks doing this.
> Now my questions:
> - could the webtest tasks get changed in this way?
> - if not, would it be interesting to have both set of tags in the webtest
> WebTest mailing list