Forum: Ruby Trouble with a dropdown menu on a web page (Watir?)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kanji Y. (Guest)
on 2008-11-11 00:47
I'm trying to select two items in two dropdown menus that are
semi-connected in the page.

When you select an option on the first menu it changes the options in
the second menu.  The problem is that when I directly send the selection
in the first menu, like:

ie.select_list(:name, "form-sub-main").select "Hamburger"

The second menu doesn't change.  It stays blank as though I had never
selected anything, so I can't send the next command to the second menu.

Any ideas?  I thought I would send keystrokes to the first menu or
something as that always works, but I don't know the syntax to set that


This topic is locked and can not be replied to.