[Wtr-development] [JIRA] Updated: (WTR-66) IE#Frame.show_frames doesn't work
Charley Baker (JIRA)
watirjira at gmail.com
Wed Oct 27 15:42:28 EDT 2010
[ http://jira.openqa.org/browse/WTR-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charley Baker updated WTR-66:
-----------------------------
Fix Version/s: (was: 1.6.7)
Soon
> 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
More information about the Wtr-development
mailing list