Thursday, July 24, 2008

QTP Edit Menu Shortcut Keys



Edit Menu Commands
TabIndents the step according to the tab spacing defined in the Editor Options dialog box.
BackspaceOutdents the step (reduces the indentation) according to the tab spacing defined in the Editor Options dialog box.
CTRL+ZReverses the last command or deletes the last entry you typed.
CTRL+YReverses the action of the Undo command.
CTRL+XRemoves the selection from your document.
CTRL+CCopies the selection from your document.
CTRL+VPastes the selection to your document.
DELETEDeletes the selection from your document.
SHIFT+F2Changes the name of an action.
CTRL+ENTER; ALT+ENTEROpens the Comment Properties dialog box for a comment step.
CTRL+ENTER; ALT+ENTEROpens the Object Properties dialog box for a selected object.
CTRL+ENTER; ALT+ENTERDisplays the Report Properties dialog box for a report step.
CTRL+FSearches for a specified string.
CTRL+HSearches and replaces a specified string.
CTRL+GMoves the cursor to a particular line in the test.
CTRL+B     Creates bookmarks in your script for easy navigation.
CTRL+MComments out the current row, or selected rows.
CTRL+SHIFT+MRemoves the comment formatting from the current or selected rows.
ALT+GNavigates to the definition of the selected function.
CTRL+SPACECompletes the word when you type the beginning of a VBScript method or object.
CTRL+SHIFT+ SPACEDisplays the syntax of a method.
CTRL+WGenerates With statements for the action
displayed in the Expert View.
CTRL+SHIFT+WConverts any With statements in the action displayed in the Expert View to regular (single-line) VBScript statements.