We run automated watir tests remotely using psexec which allows us to
attach to a specific user's session. If the VM/workstation reboots and this user
is not logged back on the tests will fail due to not being able to open Internet
Explorer. 

Good luck figuring out what is going on. Scheduling it to run while
you're at the office, but have locked the computer or do whatever you do at
night might help you debug it. 

On Thu, 13 Oct 2011 08:23:43 -0700 (PDT),
sridhar wrote: 

> 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, sridharwrote:
> 
>> 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 [1]. In short: search before you ask, be nice.
[email protected] [2] http://groups.google.com/group/watir-general
[3] [email protected] [4]

  

Links:
------
[1]
http://watir.com/support
[2] mailto:[email protected]
[3]
http://groups.google.com/group/watir-general
[4]
mailto:[email protected]

-- 
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]

Reply via email to