public AbsPage zKeyboardShortcut(Shortcut shortcut) throws HarnessException { logger.info(myPageName() + " zKeyboardShortcut(" + shortcut + ")"); if (shortcut == null) throw new HarnessException("Shortcut cannot be null"); tracer.trace("Using the keyboard, press the " + shortcut.getKeys() + " keyboard shortcut"); AbsPage page = null; if (shortcut == Shortcut.S_ESCAPE) { // Close the window zKeyDown("27"); return page; } zTypeCharacters(shortcut.getKeys()); return (page); }