Re: [Wtr-general] New Watir User Guide (beta)

2007-05-19 Thread Željko Filipin
On 5/18/07, Chris McMahon [EMAIL PROTECTED] wrote: include Watir (it's magic anyway, it won't hurt) ie = IE.new (let people see a blank browser) I have just checked my test suite, and I have only one ie = Watir::IE.new After that i just use ie variable. I guess that others may have

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-19 Thread jim_matt
I do the same sort of thing now except that I normally do $br = Water::IE.new in one place. I do this for the time I might want to point $br to FireFox and run the same script with it. Jim Matthews - Original Message - From: Željko Filipin To: wtr-general@rubyforge.org

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-19 Thread jim_matt
Since I now normally do a separate $br = Watir::IE I do a '.new' and then a 'goto' elsewhere. In this case it brings up 'about:blank' and does not have to wait for a lot of junk to load. If you are not on a LAN that has access to WWW, then you will wait a long time for

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

2007-05-19 Thread Brian Marick
I played around with win32-utils code, but I was getting odd results. (It appeared that the fork() was really exec()ing the program in a subprocess, rather than continuing the subprogram from the point of the fork.) So I went back to popen. I ran into a further problem. One button press

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

2007-05-19 Thread Chris McMahon
You might be interested in my venerable Perl controller below. It launches a ruby script using system(1,), which returns control to the calling process. A short explanation of how system() does this is here: http://perlmonks.org/?node_id=547218 use warnings; use strict; use Win32::GuiTest