Re: [Wtr-general] Controlling IE popups with stock Watir: simplest way?

2007-05-19 Thread Brian Marick
d_keys self end private def do_await_window @autoit.WinWait @title, "" end def do_send_keys @keys.each do | key | sleep 1 # Just to watch it happen. @autoit.Send key end end end if $0 == __FILE__ title = ARGV[0] keys = ARG

Re: [Wtr-general] Controlling IE popups with stock Watir: simplest way?

2007-05-17 Thread Brian Marick
n3 uses fork(), so it doesn't work on Windows. - Brian Marick, independent consultant Mostly on agile methods with a testing slant www.exampler.com, www.exampler.com/blog ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org

Re: [Wtr-general] Controlling IE popups with stock Watir: simplest way?

2007-05-17 Thread Brian Marick
;t have to have an executable ruby file (and know where to find it). You can just require a watcher file and do the work without any implicit or explicit exec. - Brian Marick, independent consultant Mostly on agile methods with a testing slant www.exampler.com, www.exampler.com/blog

[Wtr-general] Controlling IE popups with stock Watir: simplest way?

2007-05-16 Thread Brian Marick
end_keys @keys.each do | key | sleep 1 # Just to watch it happen. @autoit.Send key end end def do_leave_dropping File.open(@dropping_file, "w") do | io | io.puts("Finished at #{Time.now}.") end end end if $0 == __FILE