[tclwebtest] Subcommand suggestion for 'field select'
Status: Abandoned
Brought to you by:
tils
From: Grzegorz A. H. <gr...@ef...> - 2003-07-30 08:17:45
|
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, gr...@ef.... Tel: +34-94-472 35 89. eFaber SL, Maria Diaz de Haro, 68, 2 http://www.efaber.net/ 48920 Portugalete, Bizkaia (SPAIN) |