[Wtr-general] javascript Menu

Charley Baker charley.baker at gmail.com
Tue Jan 2 17:35:37 EST 2007


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 <balakrishna.venkatappa at ionidea.com> 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070102/4825e2fc/attachment.html 


More information about the Wtr-general mailing list