I am loading a form with an embedded table using Ajax. I am having
trouble "locating elements" that are part of the form. I tried re-
reading the dom and waiting using the following:

    @b=Watir::Browser.attach(:title,'sample')
    @b.wait()

but I am still not able to locate any of the elements. For example:

@b.text_field(:name, 'order_ref[1]').set('OE123')

and I get the error:

Watir::Exception::UnknownObjectException: Unable to locate element,
using :name, "order_ref[1]"

I can inspect that element with Firebug and the name is fine. I tried
also using id, but I get the same error. Any help with this is much
appreciated.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com

To unsubscribe, reply using "remove me" as the subject.

Reply via email to