hey Jarmo and Zeljko, 

Recently we have faced the same or at least a very similar error using 1.9.3 
Ruby with Watir 4.0

There's no error message which points directly to the win32OLE object creation, 
however it seems the browser is not created as it is expected.

Here's our back trace, hope it will be enough:

Exception: Timeout::Error
Message: execution expired
Back Trace:
D:/B/ExpWebTrunkCucumber_201211122138/Ruby/Tests/EStar/cucumber/bundleGems/ruby/1.9.1/gems/watir-classic-3.2.0/lib/watir-classic/ie-class.rb:523:in
 `sleep'
D:/B/ExpWebTrunkCucumber_201211122138/Ruby/Tests/EStar/cucumber/bundleGems/ruby/1.9.1/gems/watir-classic-3.2.0/lib/watir-classic/ie-class.rb:523:in
 `block in wait'
D:/B/ExpWebTrunkCucumber_201211122138/Ruby/Tests/EStar/cucumber/bundleGems/ruby/1.9.1/gems/watir-classic-3.2.0/lib/watir-classic/ie-class.rb:520:in
 `wait'
D:/B/ExpWebTrunkCucumber_201211122138/Ruby/Tests/EStar/cucumber/bundleGems/ruby/1.9.1/gems/watir-classic-3.2.0/lib/watir-classic/ie-class.rb:365:in
 `goto'
D:/B/ExpWebTrunkCucumber_201211122138/Ruby/Tests/EStar/cucumber/bundleGems/ruby/1.9.1/gems/watir-classic-3.2.0/lib/watir-classic/ie-class.rb:96:in
 `_new_window_init'
D:/B/ExpWebTrunkCucumber_201211122138/Ruby/Tests/EStar/cucumber/bundleGems/ruby/1.9.1/gems/watir-classic-3.2.0/lib/watir-classic/ie-class.rb:90:in
 `initialize'

We call initialize in ie-class.rb from our framework with the following code:

    def initialize
        require 'watir'
        $ie = Watir::IE.new unless $ie
        $ie.set_fast_speed
        handle_popup
    end

Could please investigate it?

Thanks,
Andras

---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-classic/issues/44#issuecomment-11043095
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to