[wtr-general] Re: Accessing global variables using FireWatir inconsistent...

2009-02-19 Thread Mark Anderson
I noticed recently that images don't mind you moving to another page, but most watir elements do. I would recommend you change your global_controls.rb to be methods: def search_field $ie.text_field(:name, q) end etc. This way, when you do search_field.set, it will actually go and find the

[wtr-general] Re: Accessing global variables using FireWatir inconsistent...

2009-02-19 Thread george.sand...@gmail.com
Great, I'll try that...thank you sir! On Feb 19, 11:21 am, Mark Anderson mander...@drillinginfo.com wrote: I noticed recently that images don't mind you moving to another page, but most watir elements do. I would recommend you change your global_controls.rb to be methods: def search_field  

[wtr-general] Re: Accessing global variables using FireWatir inconsistent...

2009-02-19 Thread george.sand...@gmail.com
Just to follow up...this works! On Feb 19, 11:45 am, george.sand...@gmail.com george.sand...@gmail.com wrote: Great, I'll try that...thank you sir! On Feb 19, 11:21 am, Mark Anderson mander...@drillinginfo.com wrote: I noticed recently that images don't mind you moving to another page,