[Wtr-general] Windows Vista / IE 7 "RPC Server is Unavailable"
Lisa Crispin
lisa.crispin at gmail.com
Tue Dec 5 15:58:25 EST 2006
Hi,
I've searched the mailing list for this error but I'm not finding much that
helps me. Admittedly, I am over my head with this.
We have customers using IE7 so we'd like to run Watir tests on IE7. We set
up a machine with Windows Vista and IE7 (Why Windows Vista? Just because it
was there, I guess). I installed Ruby 1.8.5 with the one click installer
and used gem to install Watir 1.4.1. I can attach to an IE window fine with
irb and click buttons and so on in irb. However, the scripts fail with
errors like the ones below. They invoke the site URL fine, but then another
window seems to be trying to open, just hanging. When I close it, I get the
errors below. We tried turning off the tabs in IE7, that didn't help.
I tried some troubleshooting I found for older versions of windows with the
RPC Server error but nothing helps. I can manually use the app just fine
from this machine with IE7. We have other Windows machines set up the same
way as this one network-wise but they are XP.
Is anyone else using Windows Vista? The only problem I've seen on this
mailing list for IE7 is the modal dialog popup title being different. We
are not getting anywhere close to our modal dialog popups! The scripts
can't seem to click anything once they invoke the site (although I can do
it with irb).
Thanks
Lisa
EE
Finished in 84.735 seconds.
1) Error:
test_login(TC_Login):
WIN32OLERuntimeError: unknown property or method `document'
HRESULT error code:0x800706ba
The RPC server is unavailable.
c:/ruby/lib/ruby/gems/1.8/gems/watir- 1.4.1/./watir.rb:1336:in
`method_missin
g'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1336:in `document'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:899:in `getLink'
c:/ruby/lib/ruby/gems/1.8/gems/watir- 1.4.1/./watir.rb:2830:in
`initialize'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:570:in `new'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:570:in `link'
C:/Java/workspace/eplan/src/watir/scripts/simple/Login/../../../lib/Login/lo
gin.rb:56:in `login'
C:/Java/workspace/eplan/src/watir/scripts/simple/Login/../../../lib/Login/lo
gin.rb:78:in `fast401k_login'
C:/Java/workspace/eplan/src/watir/scripts/simple/Login/tc_login.rb:109:in `t
est_login'
2) Error:
test_login(TC_Login):
WIN32OLERuntimeError: unknown property or method `hWnd'
HRESULT error code:0x800706ba
The RPC server is unavailable.
C:/Java/workspace/eplan/src/watir/scripts/simple/Login/../../../lib/Utility/
ie_tools.rb:10:in `method_missing'
C:/Java/workspace/eplan/src/watir/scripts/simple/Login/../../../lib/Utility/
ie_tools.rb:10:in `stop_ie'
C:/Java/workspace/eplan/src/watir/scripts/simple/Login/tc_login.rb:115:in `t
eardown'
1 tests, 0 assertions, 0 failures, 2 errors
<http://lisa.crispin.home.att.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061205/f1202a47/attachment.html
More information about the Wtr-general
mailing list