Helo,

   I am having an issue to click on the drop down menu from DHTML Menu. Please 
can you provide some help.

This is what i am doing -->
Steps

1) Open the Url with link.
2) pass the login info
3) From home selected the " Self" dynamic Html Menu - it is clicking correctly 
with the following code - this is an example website
   ie.link(:text,/"Self"/).fireEvent("onMouseOver")
       Self has 2 drop down menu items.
              Self line by customer
              Self line by Admin 
4) Issue when i try to click on Self line by customer or  Self line by Admin

      ie.Link(:text, /"Self line by customer"/).fire_event("onmouseover") 

Recieved this error

Watir::Exception::UnknownObjectException: Unable to locate object, using text 
and (?-mix:Self line by customer)
    c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:2414:in 
`assert_exists'
    c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:2643:in 
`enabled?'
    c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:2418:in 
`assert_enabled'
    c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:2613:in 
`fireEvent'
    Portal.rb:24:in `test_recorded'

and also tried 

ie.div(:id, "Life Event Enrollment").fire_event("onmouseover") 

recieing the same rror.

Please can you help me,

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

Reply via email to