Subcommand suggestion for 'field select'
Grzegorz Adam Hankiewicz <[email protected]> Wed, 30 Jul 2003 10:16:07 +0200
| Newsgroups | gmane.comp.web.tclwebtest |
|---|---|
| Message-ID | <[email protected]> |
When using [field select -index whatever], it would be nice if this returned the selected text. The purpose of this would be selecting something from the select at random, saving the text in a variable, and check that the selected text appears somewhere in the next web page after the form has been submited. It would be useful to avoid using many text constants in the test units (instead of a range and loop) and for forms which extract data from databases where you don't know the text. In the latter case some mechanism should be added to maybe let the user get the number of entries the select has, which could be checked against some value or used as limit for [field select -index [expr round(rand()*limit)] -- Grzegorz Adam Hankiewicz, [email protected] Tel: +34-94-472 35 89. eFaber SL, Maria Diaz de Haro, 68, 2 http://www.efaber.net/ 48920 Portugalete, Bizkaia (SPAIN) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01