RE: [Wtr-general] Frames problem
Actually, ie.frame(...).forms.show and ie.frame(...).frames.show don't seem to work. I get "NoMethodError: undefined method..." for these two. Darrel Boyt Systems Analyst Anteon Corporation Montgomery, Alabama -Original Message- From: Boyt, Darrel Sent: Friday, September 02, 2005 10:51 AM To: 'wtr-general@rubyforge.org' Subject: Thanks, Bret. Works as advertised! Darrel Boyt Systems Analyst Anteon Corporation Montgomery, Alabama At 11:30 AM 9/2/2005, Bret Pettichord wrote: >No. I basically agree. We just haven't gotten there yet. > >For now, try these: > > ie.frame(...).divs.show > ie.frame(...).forms.show > ie.frame(...).frames.show > ie.frame(...).images.show > ie.frame(...).labels.show > ie.frame(...).links.show > ie.frame(...).spans.show > ... > >These should work in 1.4.x and earlier, too. > >I plan to fill out this list with ie.frame(...).elements.show, which >will work like *.show_all_objects. > >(In HEAD, these commands will work with any object. In 1.4.x, they only >work with frames and forms and cells and ie and divs and spans and >paragraphs.) > >Bret > > >_ > Bret Pettichord > www.pettichord.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Frames problem
At 08:45 AM 9/2/2005, Boyt, Darrel wrote: My thinking about frames doesn't seem to be in line with Watir's implementation. My thinking is that a frameset is basically a container of frames that are separate web pages and that the methods I can access with "ie" I should be able to access with "ie.frame(:index, 1)". I'm looking for things that tell me about the page like .url, .html, and the "show" methods (.show_divs, .show_forms, .show_frames, .show_images, .show_labels, .show_links, .show_spans, .show_tables). Am I way off in left field on this??? No. I basically agree. We just haven't gotten there yet. For now, try these: ie.frame(...).divs.show ie.frame(...).forms.show ie.frame(...).frames.show ie.frame(...).images.show ie.frame(...).labels.show ie.frame(...).links.show ie.frame(...).spans.show ... These should work in 1.4.x and earlier, too. I plan to fill out this list with ie.frame(...).elements.show, which will work like *.show_all_objects. (In HEAD, these commands will work with any object. In 1.4.x, they only work with frames and forms and cells and ie and divs and spans and paragraphs.) Bret _ Bret Pettichord www.pettichord.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Frames problem
At 05:50 PM 9/1/2005, Bret Pettichord wrote: >You should. I just fixed this now. Get tonight's tarball. Great! show_all_objects works for frames, now! Thanks! My thinking about frames doesn't seem to be in line with Watir's implementation. My thinking is that a frameset is basically a container of frames that are separate web pages and that the methods I can access with "ie" I should be able to access with "ie.frame(:index, 1)". I'm looking for things that tell me about the page like .url, .html, and the "show" methods (.show_divs, .show_forms, .show_frames, .show_images, .show_labels, .show_links, .show_spans, .show_tables). Am I way off in left field on this??? Darrel Boyt Systems Analyst Anteon Corporation Montgomery, Alabama ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Frames problem
At 03:05 PM 9/1/2005, Boyt, Darrel wrote: I am having difficulty showing objects in frames. Shouldn't I be able to do something like ie.frame("topFrame").show_all_objects? I can access objects (linkes, etc.) if I know what I'm looking for, but I can't seem to be able to use the Watir's "show" methods in IRB. You should. I just fixed this now. Get tonight's tarball. _ Bret Pettichord www.pettichord.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Frames problem
I am having difficulty showing objects in frames. Shouldn't I be able to do something like ie.frame("topFrame").show_all_objects? I can access objects (linkes, etc.) if I know what I'm looking for, but I can't seem to be able to use the Watir's "show" methods in IRB. Something else I noticed is that once I click on a link in a frame that loads new pages in the other frames, the "src" doesn't change when I call ie.show_all_objects...it shows the same filenames as before the link was clicked. Am I missing something here or is something wrong??? For what it's worth, I'm using the tarball from CVS I downloaded yesterday. AAARGH!!! I'm just a *wee* bit frustrated! Darrel Boyt Systems Analyst Anteon Corporation Montgomery, Alabama ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general