[Wtr-general] goto statment problem under thread (win32 ruby and watir)
Park, Chong SuhX
chong.suhx.park at intel.com
Tue Oct 17 13:10:32 EDT 2006
Does anyone know have any idea on go around problem from running into
blocking condition with "goto" statement under thread something like
below?
require 'watir'
require 'win32/process'
include Win32
include Watir
Thread.new {
puts "Hello"
ie = IE.new
ie.goto("http://google.com")
ie.close
puts "Life is wonderful thing"
}
If you comment out ie.goto("http://google.com") statement, whatever
the statement below works fine but as long as there is a goto statement,
nothing its below works. Any help of suggestion would be greatly
appreciated
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061017/00e14a44/attachment-0001.html
More information about the Wtr-general
mailing list