#29 Should have method to return a list of open windows.

open
nobody
None
5
2012-12-04
2007-04-04
Anonymous
No

It would be nice to have a method to return a list of open windows.

For example, if you use window() to attempt to get a window that is not open, it will throw a WindowNotFoundException with a list of open windows in the error message. Getting this list through a test case is not current possible, but would be nice to have.

For example, you have your program open with the following windows:
Main Window
Window A
Window B

you could make a call like getOpenWindows() and that would return ["Main Window", "Window A", "Window B"]

Discussion


Log in to post a comment.