Thank you Robert but the code for _javascript_ Modal Windows
doesn't work here...
I still can't get rid of this
security alert...
In fact, with this code...
[code]
require 'watir'
include Watir
require 'WindowHelper'
include Watir
require 'WindowHelper'
t = Thread.new(){
puts "Started thread for win helper"
system('winHelper_security.rb')
}
ie=IE.new()
m = Thread.new(ie){
ie.goto('https://www.mercadolistage.com/jms/mla/reg?')
}
m.join
t.join
# now resume normal watir code
ie.text_field(:index,1).set('my_name_here')
puts "Started thread for win helper"
system('winHelper_security.rb')
}
ie=IE.new()
m = Thread.new(ie){
ie.goto('https://www.mercadolistage.com/jms/mla/reg?')
}
m.join
t.join
# now resume normal watir code
ie.text_field(:index,1).set('my_name_here')
[/code]
I see that the "No" button gets highlighted, like when you hit tab... Which
doesn't happen if I didn't use the code.. So I guess the modal windows IS
accessed, but the keys {tab} {tab} {space} aren´t sent...
Sorry if i'm being a little repetitive, but I don't know what more to try...
Thanks in Advance,
Rodrigo Julian Martín.
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
