Thank you for the help David.  It looks like for now I will just have to try and work-around the frame issue... probably won't be too bad.  I would post some actual code but I am writing this for use with a company intranet, so it wouldn't do much good anyway.

Ciao,
--Tyler

On 5/31/06, David Schmidt <[EMAIL PROTECTED]> wrote:
Tyler,

I know this isn't supported right now.  I did some investigation and I
don't see a "navigate" function in the frame's OLE object (which is used
by the base IE object in "goto").

I even tried to do a raw substitute in the IE document that contains the
frameset, but was unable to find an element that IE would let me modify
that would include the frame src string.

There *may* be a way to substitute a frame source, but I've not been
able to find a way yet.

To find which methods work with different elements you can do
"<element>.methods.sort", or if the method is an OLE method being sent
to IE you can do things like "<element>.document.ole_methods" to see
what IE will let you do.

Hope that helps,

David

Tyler Prete wrote:
> I am trying to get a frame on a page to load a specific page, i.e.
> $ie.frame(:name, 'name').goto(' http://specificsite.com'
> <http://specificsite.com%27>), but when I do this I get a
> NoMethodError.  I know that show_all_objects works within a frame, as
> well as most of the interactive methods (text_field, button, click,
> etc), but is there anyway to know which ones will work and which ones
> won't without trying it?  Also, is there another way to do what I am
> trying to do?
>
> Thanks,
> --Tyler


_______________________________________________
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