Hi,

Thanks for the response. I tried running this example
and I got the following error

Regards
Guru


C:\watir\examples>mouse_over.rb
## Beginning of Example:  FortLewis.edu

Step 1: go to the test site:  http://www.fortlewis.edu
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1979:in
`object_exist_check': Unable to
locate object, using text and       Prospective
Students       (Watir::Exception
::UnknownObjectException)
        from
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2120:in
`fireEvent'
        from C:/watir/examples/mouse_over.rb:16

--- [EMAIL PROTECTED] wrote:

> If you mean the dropdown or flyout menus that are
> activated with a mouseover, 
> then not exactly. You can use the "fire_event"
> method to cause the menus to 
> appear, but can only access the links if they are
> declared on the page. (To see 
> how to fake it, check the watir_bonus/examples
> directory and run 
> the "mouse_over.rb" example for an example.) If the
> links are declared in a 
> JavaScript file that is not currently loaded in the
> DOM, like on this page: 
> http://www.cbc.ca (do a mouse over on "RADIO" at the
> top), Watir doesn't seem 
> to support that yet.
> 
> -Jonathan
> 
> Quoting Guru Subramanyam <[EMAIL PROTECTED]>:
> 
> > 
> > Hi,
> > 
> > I'm currently evaluating Watir for automating our
> Web
> > based application. I would like to know if Watir
> > supports Javascript menus.
> > 
> > Thanks in advance
> > Guru
> > _______________________________________________
> > Wtr-general mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/wtr-general
> > 
> 
> 
> 
> 
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to