Paul,

This is what watir recorder is returning when i record the menu item News menu. 
 

ie.goto('http://www.ceridian.com/corp/nav/1,2869,10923,00.html') -->   when i 
playback. it is directly opening the page from the url. 


but i need to click on the menu item and open through the menu. ( how the real 
user does). 
   

This is what i used to click 

ie.Link(:text, /"News"/).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'


FYI --> Same issue i solved with Rtaional Robot Using Low level recording. Not 
always rely on this utility.

Please hep me.

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

Reply via email to