i have same problem
ruby 1.8.7/win7/ie9

i try to investigate
in element.rb
206        begin
207          @original_color ||= style.backgroundColor
208          style.backgroundColor = @container.activeObjectHighLightColor
209        rescue
210          @original_color = nil
211        end

when i comment line 209 and 210
result
C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.8.1/lib/watir/element.rb:208:in 
`method_missing':  (WIN32OLERuntimeError)
    OLE error code:0 in <Unknown>
      <No Description>
    HRESULT error code:0x80020003
      Member not found.
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.8.1/lib/watir/element.rb:208:in 
`highlight'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.8.1/lib/watir/input_elements.rb:370:in 
`set'
        from test_hightlit.rb:9

-- 
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]

Reply via email to