[wtr-general] Re: 1.6.2 - browser.attach question

2008-12-01 Thread marekj
Lisa, I have not needed to run tests on Firefox but any day now I will so I am trying to see how I can make Firefox execution transparent to my tests. Watirloo is a pilot project look for me to make tests run on any browser and have a unified interface and then some extra helpers like radio_group a

[wtr-general] Re: 1.6.2 - browser.attach question

2008-11-29 Thread Lisa Crispin
Thanks, I'll look at your examples. Ideally we would like to be able to run the same suites on IE and Firefox. This looks like a lot of helpful info, I sure appreciate it. -- Lisa On Sat, Nov 29, 2008 at 1:16 AM, marekj <[EMAIL PROTECTED]> wrote: > Lisa, > I've encountered a smiliar problem. The

[wtr-general] Re: 1.6.2 - browser.attach question

2008-11-29 Thread Lisa Crispin
Thanks, Gavin, I will give this a try! -- Lisa On Fri, Nov 28, 2008 at 5:32 PM, Gavin Jefferies <[EMAIL PROTECTED]> wrote: > > Hi Lisa, > > If you want to have one browser shared among all your tests in the > suite then a global variable set up in a mixin class may be what you > are looking for:

[wtr-general] Re: 1.6.2 - browser.attach question

2008-11-29 Thread marekj
Lisa, I've encountered a smiliar problem. The issue is that IE has a class method .attach but not an instance method (not needed in my opinion) However FireWatir::Firefox.attach is only an instance method so you can only attach to the browser if you have an existing reference. If you are using IE t

[wtr-general] Re: 1.6.2 - browser.attach question

2008-11-28 Thread Gavin Jefferies
Hi Lisa, If you want to have one browser shared among all your tests in the suite then a global variable set up in a mixin class may be what you are looking for: module MySetup def setup if $br == nil $br = Watir::Browser.new end @br = $br end end Then use this module in y