Hi There,
We have a couple of watir scripts that are run as regression suite on a CI
server (cruise control).
Have installed Ruby 1.8.6.26 and watir 1.6 with IE7.
System specification ; windows server 2003 edition, 500gb, 4gb RAM

All the scripts are made independent and hence we have a start_browser and
browser.close at setup and teardown.
After a while, i find that ie keeps hanging and am not able to proceed
unless i close the browser manually and yet i see that the ie process is not
being killed.
This leads us to lot of RPC server unavailable errors:

When the suite is run again, i get a lot of these errors:

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.6.2/lib/watir/ie-class.rb:167:in
`initialize'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:167:in
`new'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:167:in
`create_browser_window'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:91:in
`_new_window_init'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:81:in
`new_window'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:105:in
`start_window'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:99:in
`start'
c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/browser.rb:71:in
`start'

Have tried one of the 3 solutions that Bret has mentioned i.e,
Create an additional IE. As long as this lives, the IE server will continue
to live and you can close and create IE windows without worry.

Inspite of having done this, i get the errors. We cannot completely avoid
opening and closing of browsers as more and more scripts are added to the
regression suite.
What could be the reason for ie to hang and how can that be avoided?

Regards,
Pallavi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to