def getobjectlist(self, window_name):
try:<EOL><INDENT>window_handle, name, app = self._get_window_handle(window_name, True)<EOL>object_list = self._get_appmap(window_handle, name, True)<EOL><DEDENT>except atomac._a11y.ErrorInvalidUIElement:<EOL><INDENT>self._windows = {}<EOL>window_handle, name, app = self._get_window_handle(window_name, True)<EOL>object_list = self._get_appmap(window_handle, name, True)<EOL><DEDENT>return object_list.keys()<EOL>
Get list of items in given GUI.

@param window_name: Window name to look for, either full name,
LDTP's name convention, or a Unix glob.
@type window_name: string

@return: list of items in LDTP naming convention.
@rtype: list