I think it is worth mentioning this. Out of all the scripts that were schedules to run, Some of the scripts that deal with Watir::Browser.start(url) passed and some failed. When it started failing all the subsequent scripts that deal with Watir::Browser.start(url). failed.
On Oct 13, 9:16 am, sridhar <[email protected]> wrote: > Yesterday, I scheduled my watir scripts to run at 3 AM. Today When i > came in the morning i saw that a bunch of scripts failed on > Watir::Browser.start(url). But when i ran those individual scripts > that failed one by one, they passed. Any idea why will it fail like > that? > > failed to create WIN32OLE object from `InternetExplorer.Application' > HRESULT error code:0x80004005 > Unspecified error (WIN32OLERuntimeError) > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.7.1/lib/watir/ie-class.rb: > 165:in `initialize' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.7.1/lib/watir/ie-class.rb: > 165:in `new' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.7.1/lib/watir/ie-class.rb: > 165:in `create_browser_window' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.7.1/lib/watir/ie-class.rb:89:in > `_new_window_init' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.7.1/lib/watir/ie-class.rb:79:in > `new_window' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.7.1/lib/watir/ie-class.rb: > 103:in `start_window' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.7.1/lib/watir/ie-class.rb:97:in > `start' > C:/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.7.1/lib/watir/browser.rb: > 71:in `start' > > Thanks, > Sridhar -- 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]
