You can use an approach similar to the Element#visible idea in the
user contributions portion of the wiki site if you really need to.
http://wiki.openqa.org/pages/viewpage.action?pageId=1119.

The ole object is there and you can query it to get the parent if need
be. Otherwise, using Watir 1.5.1.x you should be able to refer to your
input field directly.

-Charley

On 11/15/06, John Lolis <[EMAIL PROTECTED]> wrote:
> That is actually a really nice simple solution, I have no idea why I didn't 
> think of it. I decided to go with a simple parser. It looks for a certain 
> table, finds a sub stable by index, finds the length then attempts to locate 
> input fields within it.
>
> Thank you though, you got my brain thinking in a different direction.
>
> I'm still holding out hope that their is a way to find containing elements.
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.openqa.org/thread.jspa?threadID=5270&messageID=14678#14678
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to