> Then found that the iFrame in the page does not have a "name" value but do
> have an "id" value.
> HTML Document     name=               id=newworkdropdown
> src=/prweb/PRServlet?pyActivity=
> PegaSample.GetWorkPoolClass

You can also read C:\watir\watir.rb.  In there you'll find

# Typical usage:
        #
        #   ie.frame(:index, 1)
        #   ie.frame(:name , 'main_frame')
        #   ie.frame('main_frame')        # in this case, just a name
is supplied

so it looks like right now you can't get to a frame by "id", but you
*can* get there by index.  Maybe that will do the job for you.  
Alternatively, get your developers to put a name on their frame.

In the meantime, you might try to talk someone on the list into adding
frame access by id (Paul?) or tackle it yourself.

-Chris

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

Reply via email to