Keyboard shortcuts for functional testing
You can use the keyboard shortcut keys to perform tasks in Functional Tester.
The keyboard shortcut keys include:
Underlined letter in a dialog box field label
Underlined letter in a menu command
Extended accelerator key, such as Alt, Ctrl, and Shift
Function keys F1 through F12
You can refer to the dialog boxes in Functional Tester to find the keyboard shortcuts. When you open a dialog box, press the Alt key to display the underlined letter in a field label. Most field labels show the letter of the keyboard shortcut underlined. For example, N is the shortcut key for the Project name field label in the Connect to a Functional Tester Project dialog box. In Functional Tester, press the Alt key, and the shortcut key to execute a command. For example, open the Connect to a Functional Tester Project dialog box, press ALT to display the keyboard shortcuts in the dialog box, and press ALT+P to move the insertion point to the Project name field in the Connect to a Functional Test Project dialog box.
You can refer to the menus in Functional Tester to find the keyboard shortcuts. A menu item shows the equivalent keyboard shortcut to the right of the menu item or the letter of the keyboard shortcut underlined. For example, F is the shortcut key for the File menu. In Functional Tester, press the Alt key, and then press the shortcut key to execute a command. For example, press ALT+F to open the File menu on the menu bar.
The following table describes the keyboard shortcuts:
Key Sequence Description File Menu Alt+F, N, R or Alt+ Shift+ N Create a new project. Alt+F, N, O Use all wizards including project wizards. Alt+F, J Connect to an existing Functional Tester project. Alt+F, C or Ctrl+ F 4 Close the script currently displayed in the Java Editor. Alt+F, L or Ctrl+ Shift + F4 Close all the scripts that are open in the Java Editor. Alt+F, S or Ctrl+ S Save any changes you made to the script currently displayed in the Java Editor. Alt+F, V Save the current Functional Tester script under another name. Alt+F, A Save the current file under another name and location. Alt+F, E or Ctrl+ Shift+ S Save all the scripts and files currently open. Alt+F , T Revert the contents of the Java Editor back to the contents of the saved file. Alt+F , F or F5 Refresh the content of the selected element with the local file system. When launched from no specific selection, the Refresh command refreshes all projects. Alt+F , P or Ctrl +P Print the currently active script. Alt+F , W Switch workspace. Alt+F , . (period) Open external file. Alt+F , I Import files from a file system directory into the workbench. Alt+F , O Export resources from the Workbench. Alt+F , R Open the property pages of the selected elements. Alt+F , number Display the names of projects you have most recently used. Alt+F , X Close Functional Tester. Edit Menu Alt+E , U or Ctrl +Z Cancel the last edit you made, if possible. Alt+E , R or Ctrl +Y Do the action of the last Undo action again. Alt+E , T or Ctrl +X Delete the selected characters and put them on the Clipboard. Alt+E , C or Ctrl +C Copy the selected characters to the Clipboard. Alt+E , P or Ctrl +V Insert at the cursor any characters that were previously cut or copied to the Clipboard. Alt+E , D or Delete Remove the selected characters on the Java Editor or the selected item in the Projects View. Alt+E , A or Ctrl +A Select all the characters in the currently displayed script or file. Alt+E , F , F or Ctrl +F Search for text in the current document or window. Alt+E , F , P or Ctrl +H Search for and substitute text in the current document or window. Alt+E , F , I or Ctrl +Shift +F Search for a string of text in a script and substitute an alternate string. Alt+E , N or Ctrl +K Find the next occurrence of the text selected in the Java Editor. Alt+E , V or Ctrl +Shift +K Find the previous occurrence of the text selected in the Java Editor. Alt+E , I or Ctrl +J Find the next occurrence of the text you type. Alt+E , M or Ctrl +Shift +J Find the previous occurrence of the text you type. Alt+E , K Insert a bookmark marker that points to a specific place in a script or file. Alt+E, S Associate a task with a specific location in a resource. Alt+E, R, F or Ctrl+Shift+Insert Smart Insert Mode. Alt+E, X, E or Alt+ Shift+ Up Quickly select an enclosing element in Java code in a syntax-aware way. Alt+E, X, N or Alt+ Shift+ Right Quickly select the next element in Java code in a syntax-aware way. Alt+E, X, P or Alt+ Shift+ Le f t Quickly select the previous element in Java code in a syntax-aware way. Alt+E, X, R or Alt+ Shift+ Dow n Quickly restore the last selection of an element in Java code in a syntax-aware way. Alt+E, O or F2 Display the value of a hover that would appear at the current cursor location. Alt+E, N or Ctrl+ Space Assist you when writing Java code or Javadoc comments. Alt+E, Q or Ctrl+ 1 Display solutions for certain problems underlined with a problem highlight line. Alt+E, H or Ctrl+ Shift+ Space Display parameter type information. Alt+E, O Changes the encoding of the currently shown text content to Default (inherited from container: CP1252), CP1252, ASCII, Latin 1, UTF-8, UTF-16 (big-endian), UTF-16 (little-endian), UTF-16, or Others. Source Menu The Source menu contains Eclipse menu items that are not applicable to Functional Tester. Refactor Menu The Refactor menu contains Eclipse menu items that are not applicable to Functional Tester. Navigate Menu The Navigate menu contains Eclipse menu items that are not applicable to Functional Tester. Search Menu The Search menu contains Eclipse menu items that are not applicable to Functional Tester. Project Menu The Project menu contains Eclipse menu items that are not applicable to Functional Tester. Run Menu The Run menu contains Eclipse menu items that are not applicable to Functional Tester except for the Test Object Inspector menu item. Alt+R, I Display test object information, such as parent hierarchy, inheritance hierarchy, test object properties, nonvalue properties, and method information. Script Menu Ctrl+Shift+F11 Play back the Functional Tester script currently displayed in the Java Editor. Shift+F11 Launch the current script and display the Test Debug Perspective, which provides information as the script debugs. Alt+I, S Record a Functional Tester script. Alt+I, N Start recording at the cursor location in the current script and start applications, insert verification points, and add script support functions. Alt+I, M Open the test object map associated with the current script. Alt+I, H Update the script's helper file (*ScriptHelper.java) to reflect changes made to the template for the selected test asset. Alt+I, V Display the Verification Point and Action wizard to insert a verification point in the current script at the cursor location. Alt+I, T Display the Insert a GUI Object into the Object Map wizard to add objects to the test object map. Alt+I, D Display the Data Drive Actions page of the Datapool Population wizard to select the objects in an application-under-test to data-drive an application. Alt+I, W Replace literal values with a datapool reference in a test script to add realistic data to an existing test script. Configure Menu Alt+C, C Display the Application Configuration Tool, which enables you to add and edit configuration information -- such as name, path, and other information that Functional Tester uses to start and run the application -- for the Java and HTML applications you want to test. Alt+C, E Display the Enable Java Environments (JVM)/Web Browsers for Testing dialog box, which you use to enable Java environments and browsers and to configure your JREs and browsers. Alt+C, O Display the Object Properties Configuration Tool, which enables you to configure the object recognition properties in the customized object library. Window Menu The Window menu contains Eclipse menu items that are not applicable to Functional Tester except for the Open Perspective and Preferences menu items. Alt+W, O Open a another perspective in the Functional Tester Debug window. Alt+W, P Customize Functional Tester by setting preferences for Functional Tester, Colors, Highlight, Operating System, Playback, Recorder, Workbench Preferences for Functional Tester, and Workbench Advanced Preferences for Functional Tester. You can also display the Team Preferences page, which enables you set preferences for Clear Case. Help Menu Alt+H, W Display the Welcome to Rational Software Delivery Platform page, which contains information that will help familiarize you with Functional Tester. Alt+H, U Display the Functional Tester Help. Alt+H, T Display a tips and tricks for Eclipse Java Development tools, Eclipse platform, and Eclipse plug-in development environment. Alt+H, C Display the cheat sheets. Alt+H, S, F Update products and download and install new features. Alt+H, S, M Manage the configuration of Functional Tester. Scan for updates for all installed features, add an extension location, view installation history, and show activities that caused the creation of the configuration. Alt+H, A Display information about the current version of IBM Rational Software Delivery Platform you are running.
Keyboard shortcuts in Script editor
The following table describes the keyboard shortcuts for the context menus in the simplify script editor:
Key sequence Description Ctrl+D Delete the test line
Keyboard shortcuts in Terminal-based applications window
Key sequence Description File Menu Alt+F Selects the file menu Ctrl+N Creates a new file Ctrl+O Opens an existing file Ctrl+S Saves the file Session Menu Alt+S Selects the session menu Ctrl+C Connects to session Ctrl+D Disconnects from session Ctrl+P Sets session preferences
To access the buttons at the bottom of the display in the Terminal-based applications window, press the Tab key to move the focus to the button that you want to select. Press the Space bar to select the button.