has anyone seen this error before?
I get the error below when trying to open a modal dialog in IE7 and IE8
with Watir.Now the Bizarre thing about this error is that the code works
fine on the machines where the code was written and we are unable to
replicate this error on those machines. We have tested this item
successfuly in IE7 and IE8 and we have been running it for 2 months
until we hit this snafu.
This error only happens on 2 new machines with IE7 and IE8
puts TimeStr() + "Waiting For " +
waits = waits + 1
end # begin
This bit of code runs fairly well and usually exits after 5 seconds,but
we get the error on our run machine.our loop exits after 30 secons
without the modal window and the script just dies.
locate': Modal Dialog not found. Timeout = 2.0 (Watir::Exception::NoMatchingWindowFoundException) from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/modal_dialog.rb:86:ininitialize’
new' from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/container.rb:186:inmodal_dialog’