Someone unfortunately upgraded one of my PC's.  I was pleased to find
miost watir scripts still ran.  One did not.  It was the only one that
utilized two IE windows at the same time.  The code below demonstrates
the issue - it should open two IE windows and print DONE.

It does open the browsers but the second call does notr appear to
complete.  The browser shows completed but the call is still waiting.
I have attached the output below.

Same script runs as expected in IE6 and IE7.

require 'watir'
puts "Open #1"
ie1 = Watir::IE.new_process()
puts "Open #2"
ie2 = Watir::IE.new_process()
puts "DONE"

-------

C:\>"C:\IE8 test.rb"
Open #1
Open #2
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.4/./watir/waiter.rb:55:in
`wait_until':
 Timed out after 60.03 seconds. (Watir::Exception::TimeOutException)
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.4/./watir/
waiter.rb:76:in
`wait_until'
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.4/./watir/ie-
process.rb:20
:in `window'
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.4/./watir/ie.rb:
133:in `_n
ew_process_init'
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.4/./watir/ie.rb:
127:in `ne
w_process'
        from C:/IE8 test.rb:8

C:\>
--~--~---------~--~----~------------~-------~--~----~
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