[Wtr-general] Problem with Security Alert
Rodrigo Julian Martin
rodrigo.martin at enratio.com
Tue Apr 11 09:14:15 EDT 2006
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'
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')
[/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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060411/7b1c2cd2/attachment.html
More information about the Wtr-general
mailing list