Hi, I am using Watir-webdriver with firefox. I have 2 problems . 1)Whenever I am trying to automate the process of placing mouse on a link by the following code. browser.link(:class,"tooltip").hover it is giving error as
[remote server] file:///C:/Users/MANIKA~1/AppData/Local/Temp/webdriver-profile20 120807-2444-1sgotbh/extensions/[email protected]/components/driver_component.js:6847:in `generateErrorForNativeEvents': Cannot perform native interaction: Could not load native events component. (Selenium::WebDriver::Error::InvalidElementStateError) from [remote server] file:///C:/Users/MANIKA~1/AppData/Local/Temp/webdri ver-profile20120807-2444-1sgotbh/extensions/[email protected]/components/driver_component.js:6887:in `unknown' from [remote server] file:///C:/Users/MANIKA~1/AppData/Local/Temp/webdri ver-profile20120807-2444-1sgotbh/extensions/[email protected]/components/command_processor.js:10055:in `unknown' from [remote server] file:///C:/Users/MANIKA~1/AppData/Local/Temp/webdri ver-profile20120807-2444-1sgotbh/extensions/[email protected]/components/command_processor.js:10060:in `unknown' from [remote server] file:///C:/Users/MANIKA~1/AppData/Local/Temp/webdri ver-profile20120807-2444-1sgotbh/extensions/[email protected]/components/command_processor.js:9998:in `unknown' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/remote/response.rb:52:in `assert_ok' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/remote/response.rb:15:in `initialize' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/remote/http/common.rb:59:in `new' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/remote/http/common.rb:59:in `create_response' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/remote/http/default.rb:59:in `request' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/remote/http/common.rb:40:in `call' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/remote/bridge.rb:598:in `raw_execute' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/remote/bridge.rb:576:in `execute' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/remote/bridge.rb:388:in `mouseMoveTo' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/common/mouse.rb:54:in `move_to' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/common/action_builder.rb:344:in `__send__' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/common/action_builder.rb:344:in `perform' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/common/action_builder.rb:343:in `each' from C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/common/action_builder.rb:343:in `perform' from C:/Ruby187/lib/ruby/gems/1.8/gems/watir-webdriver-0.6.1/lib/watir-webdriver/elements/element.rb:153:in `hover' from UserToolTip.rb:10 I have also tried with fire_event "onmouseover" , but didn't work either. 2)There are 3 attributes other than this to access the element. Those're cell,span and label. I couldn't able to access them.(Please let me know how to access these attributes). I have gone through documents available in watir tutorial and openQA. but couldn't able to find the answer. Help me to crack these.. Thank you. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
