[Wtr-general] Iterating through all options of a List Box which is again dynamic
Paul Carvalho
tester.paul at gmail.com
Fri Jan 12 10:10:23 EST 2007
You can use something similar to the following to get you started:
variable = ie.select_list( :id, /ListName/).getAllContents
On 12/01/07, sarita <forum-watir-users at openqa.org> wrote:
>
> I want to run a test, which'll create one sample record for each option in
> the List Box. Again the options in List Box is dynamic i.e, can be changed
> through another module. How to iterate the test till the last option in the
> listbox.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070112/ba044ee6/attachment.html
More information about the Wtr-general
mailing list