Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-07 Thread Lonny Eachus
For what it's worth, I think that is a great idea. Lonny Eachus == Subject: Re: [Wtr-general] Proposal for supporting multiple attributes From: "Bret Pettichord" &l

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-07 Thread Bret Pettichord
On 6/7/06, Lillis, Dara <[EMAIL PROTECTED]> wrote: Disclaimer: I am not familiar with the background discussions so please let me know if I'm completely missing the point. but...   it would make sense to me to aim to have everything default to 0-based indexing. Ruby has 0-based indexing (fo

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-07 Thread Lillis, Dara
ready, so I'd prefer to not have to remember when I need to use which indexing. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret PettichordSent: Wednesday, June 07, 2006 10:57 AMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] Proposal for supporting multiple

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-07 Thread Bret Pettichord
On 6/7/06, Zeljko Filipin <[EMAIL PROTECTED]> wrote: Are you going to make :index 0 based? I remember there was a discussion about it. I think it would be nice to offer the option of 0 or 1 based indexing. The 1 based indexing is particularly awkward when working with tables. But i have no immedia

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-07 Thread Boyt, Darrel
3:39 -0600 Subject: Re: [Wtr-general] Proposal for supporting multiple attributes xpath is also very unreadable. As a side note, one of my clients has recognized the value of good html. When something is missing an id , we add an hour, per build, per testcase for manual testing of the appli

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-07 Thread Zeljko Filipin
On 6/7/06, Bret Pettichord <[EMAIL PROTECTED]> wrote: I am planning to add multiple attribute support to Watir. +1 In effect, set of attributes would have an :index of 1 unless something else werespecified.Are you going to make :index 0 based? I remember there was a discussion about it. __

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-06 Thread Paul Rogers
see the value, of automation, and writing html that is easily testable   Paul - Original Message - From: Bret Pettichord To: wtr-general@rubyforge.org Sent: Tuesday, June 06, 2006 9:56 PM Subject: Re: [Wtr-general] Proposal for supporting multiple attributes On 6/6

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-06 Thread Bret Pettichord
On 6/6/06, Angrez Singh <[EMAIL PROTECTED]> wrote: Can't XPath functionality be used to access elements using multiple attributes? This is already there. >  ie.div(:class => "MenuItem", :text => "Pulverize").clickThis translates to:ie.div(:xpath, "//[EMAIL PROTECTED] = 'MenuItem' and @text = 'Pulv

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-06 Thread Angrez Singh
Hi Bret,Can't XPath functionality be used to access elements using multiple attributes? This is already there. >  ie.div(:class => "MenuItem", :text => "Pulverize").clickThis translates to:ie.div(:xpath, "//[EMAIL PROTECTED] = 'MenuItem' and @text = 'Pulverize']).clickI think XPath provides much mo

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-06 Thread Andrew McFarlane
-general@rubyforge.org >To: wtr-general@rubyforge.org >Subject: [Wtr-general] Proposal for supporting multiple attributes >Date: Tue, 6 Jun 2006 17:54:07 -0500 > >I am planning to add multiple attribute support to Watir. For example: > > ie.div(:class => "MenuItem&qu

[Wtr-general] Proposal for supporting multiple attributes

2006-06-06 Thread Bret Pettichord
I am planning to add multiple attribute support to Watir. For example:  ie.div(:class => "MenuItem", :text => "Pulverize").click The old syntax would continue to be supported.   ie.div(:text, "Pulverize").clickMoreover, you could now also specify single attributes using this new"hash" syntax. Thus