I am using watir+ruby for my test application
I have used the following code to select “My services”
browser.link(:xpath
,"/html/body/div[3]/ul/li[4]/a").fire_event(“onmouseover”)
But I am not able to select the menu item “My Peergroups”.
I tried “browser.link” with the menu item xpath but I am getting the
following error
“c:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.5.2/lib/watir-webdriver/elements/element.rb:426:in
method_missing': undefined method
set’ for #Watir::Anchor:0x17efc68
(NoMethodError)from C:/Documents and
Settings/nnair/workspace/MDRapp/MDRpg1.rb:12:in `’”