I get this error but my script does not use safariwatir at all... My script completes and I get given the "test run options:" but I dont know how to get at the executable file, where is it left? How can I resolve this error?
Test run options: --seed 3036
=== WARNING: Watir::Safari was not loadable
path/to/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/autoit/window.rb:20:in `initialize': unknown OLE server: `AutoItX3.Control' (WIN32OLERuntimeError)
HRESULT error code:0x800401f3
Invalid class string
plus loads of random stuff you dont want to read.
.
.
.
What does it normally look like when it completes an ocra file?
The error is produced by this code:
require 'watir'
browser = Watir::IE.new
browser.goto("www.amazon.co.uk")
if browser.text.downcase.include?("books")
puts "Woooooohooo"
else
puts "not found"
end
sleep 10
Im using ruby 1.9.2, Watir 2.0.1. IE 8 on windows XP but have tried it with Watir 1.9.2 as well and I get the same problem.