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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4fbdf9b95c83976b391aa6f395498b14?d=identicon&s=25 Kanji Yoshikawa (chutenro)
on 2008-11-10 23: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
up.

Thanks,

N
This topic is locked and can not be replied to.