[ http://jira.openqa.org/browse/WTR-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19971#action_19971 ]
Zeljko commented on WTR-66: --------------------------- I vote for removing all show* methods. > IE#Frame.show_frames doesn't work > --------------------------------- > > Key: WTR-66 > URL: http://jira.openqa.org/browse/WTR-66 > Project: Watir > Issue Type: Bug > Components: Frame > Affects Versions: 1.5.0/1.5.1 > Environment: Watir 1.5.0.993 on Branch: modal_dialog > Reporter: David Schmidt > Fix For: Soon > > > Frame.show_frames no longer works. Since frames may contain sub-frames, the > "show_frames" method (and probably other "show" methods) should be in module > Container rather than class IE: > irb(main):101:0> ie.frame('Main').show_all_frames > NoMethodError: undefined method `show_all_frames' for > #<Watir::Frame:0x2ec5d08> > from (irb):101 > from ♥:0 > After moving show methods to module Container it works fine: > irb(main):004:0> ie.frame('Main').show_frames > there are 6 frames > frame index: 1 name: navigator > frame index: 2 name: cookies > frame index: 3 name: Header > frame index: 4 name: workarea > frame index: 5 name: IFSCommArea > frame index: 6 name: toolbar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Wtr-development mailing list Wtr-development@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development