I've done it in two ways. Call ie.goto on the link that the menu item points
to, kind of cheating, but it works for testing one of my apps. The other
option is to fire a javascript event which generally brings up a hidden div
or something of the like.
ie.link(..).fire_event('onClick')

ie.link(..).click or

ie.link(..).fire_event('onClick')

If you have specific code that you can post, we can give more specific
answers.

-Charley

On 1/2/07, Balakrishna <[EMAIL PROTECTED]> wrote:

 Hello,

Anyone handled  javascript menu's using watir ??.. I'm sort of stuck at
this point, I need to click on a javascipt drop down menu, but not able to
click on the menu. Any ideas ?



Balu



_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to