[wtr-general] Re: Watir simple field recorder

2011-04-26 Thread Babitha
I know Watir community does not like "recorders" - I read about it in Wikipedia. This script is not exactly a recorder per say. I would call it a "Object repository builder" - if that appeals better to the Watir community. It helps you get around the mundane task of using Firebug or Developer tool

[wtr-general] Re: very slow tag iterator

2011-04-26 Thread Chuck van der Linden
>>at first, both sample has same loop - one No they do NOT have the same loop. Yes they each have one loop, but in the first case you are iterating through the loop once for every checkbox in the system, and you are retrieving the ID and doing a regex compare, and then maybe doing a set. If the

Re: [wtr-general] Error opening new Firefox window with Watir-Webdriver

2011-04-26 Thread Abe Heward
Thanks for the info. Based on what I've seen on the blogosphere, upgrading from 1.9.1 to 1.9.2 is not pleasant. I'll report back my results once I get through it. Not going to be today, though, since I have a bunch of regression scripts to run in order to pass a release candidate. Not a good d

[wtr-general] Re: using drag_and_drop_on with watir-webdriver

2011-04-26 Thread marc
Jari, Thanks for the quick reply. I've added the issue to the tracker. Marc On Apr 26, 9:04 am, Jari Bakken wrote: > Hi, > > On Tue, Apr 26, 2011 at 2:42 PM, marc betts wrote: > > > browser.div(:id=>"some_div").element.drag_and_drop_on(browser.div(:id=>"som > > e_other_div").element) > > When y

Re: [wtr-general] using drag_and_drop_on with watir-webdriver

2011-04-26 Thread Jari Bakken
Hi, On Tue, Apr 26, 2011 at 2:42 PM, marc betts wrote: > > browser.div(:id=>"some_div").element.drag_and_drop_on(browser.div(:id=>"some_other_div").element) > When you call Watir::Element#element to fetch the underlying Selenium::WebDriver::Element instance, you're using a private API that was c

[wtr-general] using drag_and_drop_on with watir-webdriver

2011-04-26 Thread marc betts
One of the big things I like about watir-webdriver is the ability to drag and drop page elements. This works in version 0.2.0 and seems to have stopped working with version 0.2.1. I'm trying to figure out if this was by design, and if so, is there a better way to accomplish what I'm trying to do.

Re: [wtr-general] Error opening new Firefox window with Watir-Webdriver

2011-04-26 Thread Željko Filipin
On Tue, Apr 26, 2011 at 11:06 AM, Jari Bakken wrote: > Yes. Good to know, I did not know that. :) Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-genera

Re: [wtr-general] Error opening new Firefox window with Watir-Webdriver

2011-04-26 Thread Jari Bakken
On Tue, Apr 26, 2011 at 11:03 AM, Željko Filipin wrote: > On Tue, Apr 26, 2011 at 1:07 AM, Jari Bakken wrote: >> I would recommend upgrading to Ruby 1.9.2. > > Watir-webdriver works on ruby 1.9.2? > Yes. -- Before posting, please read http://watir.com/support. In short: search before you ask,

Re: [wtr-general] Error opening new Firefox window with Watir-Webdriver

2011-04-26 Thread Željko Filipin
On Tue, Apr 26, 2011 at 1:07 AM, Jari Bakken wrote: > I would recommend upgrading to Ruby 1.9.2. Watir-webdriver works on ruby 1.9.2? Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host viaqa.mobi conference on software testing - organizer -- Before posting,