Hello everybody! I´m trying to get ride of an Windows
Security Alert... I was reading the faq and found the following
code:
[code]
require 'watir'
include Watir
require 'watir/windowhelper'
include Watir
require 'watir/windowhelper'
t = Thread.new(){
puts "Started thread for win helper"
system('winHelper_security.rb')
}
puts "Started thread for win helper"
system('winHelper_security.rb')
}
ie=IE.new()
m = Thread.new(ie) {
ie.goto('https://the_site_that_causes_the_security_alert')
}
m.join
t.join
m = Thread.new(ie) {
ie.goto('https://the_site_that_causes_the_security_alert')
}
m.join
t.join
# now resume normal watir
code
ie.text_field(:index,1).set('my_user_name')
ie.text_field(:index,1).set('my_user_name')
[/code]
But it´s not working... I've downloaded the latest WindowHelper.rb file
from CVS...
What could be the reason that this isn´t working?
My Ruby Version is 1.82 and Watir Version is 1.41
Thanks for all your help
Regards
Rodrigo julian Martin
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
