show_all_objects returns nil and a bunch of text to stdout.  Is there anything 
that returns the output in array format?  (If not, it's off to Jira with me.)
  
---Michael B.



--------------------------------------------------------------------------------
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: March 15, 2006 10:50 AM
To: [email protected]
Subject: Re: [Wtr-general] Finding out the order of input elements?


You could parse the html.


On 3/15/06, Pekka Määttä <[EMAIL PROTECTED]> wrote:
Anyone? I got the idea of sending tab key presses to ie and checking
where the focus is, but it's kinda hacky..

-PM


>Message: 3
>Date: Tue, 07 Mar 2006 10:32:46 +0200
>From: Pekka M??tt? < [EMAIL PROTECTED]>
>Subject: [Wtr-general] Finding out the order of input elements?
>To: [email protected] 
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Hi,
>
>I'm new to Watir (and Ruby), so this may be a stupid question.... tried 
>searching around a bit, but with little success. So here goes:
>
>How do I find out if an input element precedes another or not?
>
>There does not seem to be a method for accessing all html inputs on page 
>at once, nor does not seem to be an index attribute or such in input
>objects. So I can get ordered lists of text fields, selects and buttons,
>but have no way of knowing if, for example, if a certain text field 
>element is defined before a certain button on a page. Or do I?
>
>TY in advance,
>
>-PM
>
>



_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


DevelopSense:  Software Testing in Plain English
http://www.developsense.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to