watir .. new_process .. and IE8 (beta 2)

7 views
Skip to first unread message

Paul Denize

unread,
Feb 19, 2009, 8:03:34 PM2/19/09
to Watir General
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:\>

Bret Pettichord

unread,
Feb 19, 2009, 8:46:44 PM2/19/09
to watir-...@googlegroups.com
Could you please log your report in Jira?

Bret

Al Snow

unread,
Feb 19, 2009, 9:27:45 PM2/19/09
to watir-...@googlegroups.com
Paul,
     It works on Vista/64.
FYI,
Al Snow
Agile Software Automation JumpStart/Turnaround Architect
My Blog of Links: http://the-neatest-stuff.blogspot.com/
Linkedin: http://www.linkedin.com/in/alsnow
Google Talk: jasnow1
Twitter: jasnow


> Date: Thu, 19 Feb 2009 17:03:34 -0800
> Subject: [wtr-general] watir .. new_process .. and IE8 (beta 2)
> From: paul....@datacom.co.nz
> To: watir-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages