I'm having the same problem.
 
I've verified the 2 files are in the location you refered to. I recently installed Watir 1.4 and WindowHelper.rb is already there but I've copied winHelper_security.rb
 
The error message is :
 
Started thread for win helper
ruby: No such file or directory -- winHelper_security.rb (LoadError)
 
Any ideas?


From: Tuyet Cong-Ton-Nu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 5:42 PM
To: [email protected]
Subject: [Wtr-general] Security Alert pop up

You need these 2 attached files that will make it work;

You need to put both in the C:\ruby\lib\ruby\site_ruby\1.8\watir directory

 I don’t think they are in the 1.3 version (probably in tarball).

Also add the code below, it works great for me.

 

require 'watir'
include Watir
require 'watir/windowhelper'
 
t = Thread.new(){
    puts "Started thread for win helper"
    system('ruby winHelper_security.rb')
}
 
ie=IE.new()
m = Thread.new(ie) {
  ie.goto("https://www.mysite.com")  
}
m.join
t.join

 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to