http://www.hanselman.com/blog/ClickingAJavaScriptDialogUsingWatir.aspx
On 4/10/06, Rodrigo Julian Martin <
[EMAIL PROTECTED]> wrote:
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't = Thread.new(){
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# now resume normal watir code
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.41Thanks for all your helpRegardsRodrigo julian Martin
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
