i use aptana radrails plugin in eclipse. Try run such script:

require 'watir'
ie=Watir::IE.new

ie.goto("http://ec2-50-16-62-110.compute-1.amazonaws.com:9100/bobsworld/system/LogonForm.do")
ie.text_field(:name, "username").set("bobdb")
ie.text_field(:name, "password").set("bobdb")
ie.select_list(:name, "language").select("English")
ie.button(:name, "logon_action").click

ie.goto("http://ec2-50-16-62-110.compute-1.amazonaws.com:9100/bobsworld/system/LogonForm.do")
ie.text_field(:name, "username").set("bobdb")
ie.text_field(:name, "password").set("bobdb")
ie.select_list(:name, "language").select("English")
ie.button(:name, "logon_action").click

if ie.contains_text("Glossary Of Terms")
  puts ("Test passed")
else
puts ("Test failed")
end

ie.link(:text, "BobsWorld").click
ie.link(:text, "Enterprise Resource Planning").click
ie.link(:text, "Manufacturing").click
ie.link(:text, "Manufacturing Data Management").click
ie.link(:text, "Master Data").click
ie.link(:text, "Task").click
ie1=Watir::IE.attach(:title, 'Task')

Get error:
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:299:in
`method_missing': unknown property or method: `title' (NoMethodError)
    HRESULT error code:0x80020006
      Unknown name.
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:299:in
`block in _find_all'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:250:in
`block in each'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:249:in
`each'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:249:in
`each'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:288:in
`_find_all'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:282:in
`_find'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:757:in
`block in attach_browser_window'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/module.rb:10:in
`block in until_with_timeout'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/wait.rb:18:in
`until'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/module.rb:10:in
`until_with_timeout'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:756:in
`attach_browser_window'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:157:in
`_attach_init'
  from
E:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/ie-class.rb:151:in
`attach'
  from file.rb:28:in `<main>'

-- 
Posted via http://www.ruby-forum.com/.