[wtr-general] Watir fire_event that opens a modal dialog no wait needed

2009-07-29 Thread ghidu
Hello, Sorry for the previous message, the finger slipped onver SPACE :) I cannot open a modal dialog and return from it. This is waht I do: Thread.abort_on_exception = true t = Thread.new { button.fire_event("onmousedown") } t.kill It never reaches t. Firing the event onmouse down on butt

[wtr-general] Watir fire_event that opens a modal dialog no wait needed

2009-07-29 Thread ghidu
Hello, I cannot open a modal dialog and return from it. This is waht I do: Thread.abort_on_exception = true t = Thread.new { t[6].fire_event("onmousedown") puts "after event" sleep(1) # raise "Exception from thread" } puts "after thread" for i in (1..100) puts i end t1.