[Wtr-general] Windows Vista / IE 7 "RPC Server is Unavailable"

Charley Baker charley.baker at gmail.com
Wed Dec 6 17:13:03 EST 2006


Hi Lisa,

  I haven't worked with Vista and IE7, I'm trying to get a box set up with
that now. Your report gave me a nudge to set it up. The rpc server errors
you're seeing are due to closing the browser, which unfortunately doesn't
give a good indication of what's going wrong. I don't think the problem is
with Vista and IE7.

 The fact that it's working in irb and not in the scripts, points to a
possible problem with the scripts. Can you send some snippets of code from
the failing scripts or more information?

 Even though you haven't gotten this far: Watir 1.4.1 won't work with modal
dialogs, you'd need to use the latest development gem for 1.5.1:
http://wiki.openqa.org/display/WTR/Development+Builds

 And Ruby 1.8.2 to work with the modified version of win32ole.so.

-Charley
On 12/5/06, Lisa Crispin <lisa.crispin at gmail.com> wrote:
>
> 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>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061206/6fb2fb5a/attachment-0001.html 


More information about the Wtr-general mailing list