I have window vista,and currently install:
 Ruby 1.8.6
 Watir 1.6.1

I have the similar problem as this user describe below:

http://groups.google.com/group/watir-general/msg/d3d29a6346980a2c

I have something like this
=======================================================
$LOAD_PATH.unshift 'c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2'
# 11-21-2008

require 'watir'
include Watir

ie=Watir::IE.new

ie.goto "http://www.msn.com";
========================================================
After I make the change as you suggest:

----------------------------------------------------------------------------------------------------------------
      require 'watir'
-->  require 'watir/ie'
      include Watir

      ie=Watir::IE.new
      ie.goto "http://www.msn.com";
----------------------------------------------------------------------------------------------------------------

The script ran, but first open a first IE new window blank page
"about:blank", then open the second window "www.msn.com" but the
script stop running after "www.msn.com" is finished loading from the
second open window. and this is what I get:

*******************************************************
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
366:in `method_missing': GoBack (WIN32OLERuntimeError)
    OLE error code:80004005 in <Unknown>
      <No Description>
    HRESULT error code:0x80020009
      Exception occurred.       from c:/ruby/lib/ruby/gems/1.8/gems/
watir-1.6.2/lib/watir/ie-class.rb:366:in `back'
        from C:/Users/tlai/Desktop/Tuan Folder new/script/K8 us/Final ver/
rb24C3.tmp:52
Complete(1)
*******************************************************

Please help! =) I have been spending day after day to figure what is
wrong... Thank you so much!



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

Reply via email to