Re: [tclwebtest] Subcommand suggestion for 'field select'
Status: Abandoned
Brought to you by:
tils
From: Tilmann S. <ti...@ti...> - 2003-08-23 03:04:10
|
* Grzegorz Adam Hankiewicz <gr...@ef...> [20030730 10:18]: > 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. Sounds useful. It seems a little bit complicated to insert a return value especially for one variant of the field command, maybe doing something like this in the test would be sufficient: field select -index whatever set selected_text [field get_selected_text] However, the selected_text attribute is not yet implemented - I'll try to remember it and see if I can add it one day (or somebody else is faster ;-) cheers, til -- http://tsinger.com |