Howdy,
Does your select box appear as a Popup?
If my assumption is correct you can use something like this:
@ie.link(:text, "link to JS Pop Up").click
ie2 = IE.attach(:title, "Title of the Pop Up")
assert(ie2.selectBox(:name, "search_clientid").exists?)
assert(ie2.selectBox(:name, "search_clientid").enabled?)
ie2.selectBox( :name , "search_clientid").select("advertiser")
ie2.image(:src , /save_button.gif/).click {In your application
this may not be an image so your treat it as a link}
I hope this helps. If I am way off base could you provide a bit more
detail about the behavior?
Welcome to WATIR!
Carl
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general