I tried running the code below and got the following error:
 
Started thread for win helper
ruby: No such file or directory -- winHelper_security.rb (LoadError)
 
I uploaded both files attached and saved them into the said directory on  my machine =\


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tuyet Cong-Ton-Nu
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