Shortcut Function Keys:
F1
|
Click on the Respective Method it will displays the Help. (QTP Help)
| |
F2
|
Resource
|
Rename the Object in Object Repository
|
F3
|
Automation
|
Starts a recording session.
|
F4
|
Automation
|
Stop the Recording or run session (You can also define a shortcut key or key combination. See Setting Run Testing Options.)
|
F5
|
Automation
|
Run the Script (Starts a run session from the beginning or from the line at which the session was paused.)
|
F6
|
& Resource
|
Navigate and Learn in object repository manager
|
F7
|
Insert Menu
|
Opens the Step Generator
|
F8
|
Insert Menu
|
New Step in Keyword View
|
F9
|
Debug
|
Insert/Remove breakpoints
|
F10
|
Debug
|
Step Over (Runs only the current line of the script. When the current line calls a method, the method is performed in its entirety, but is not displayed in the view. )
|
F11
|
Debug
|
Step
Into (Runs only the current line of the script. If the current line
calls a method, the method is displayed in the view but is not
performed. )
|
F12
|
Insert Menu
|
For
Standard Checkpoint (Opens the Checkpoint Properties dialog box,
enabling you to create a standard checkpoint for an object or a table.
Note:
From the menu option, context-menu option, or toolbar button, you can
also insert other types of checkpoints, if available. )
|
F8; Insert
|
Insert
|
Inserts a new step in the Keyword View.
|
Shortcut Shift Key Combinations:
Shift+F2
|
Edit Menu
|
Changes the name of an action.
|
Shift+F8
|
Insert Menu
|
New Step after block of statement (Inserts a new step after a conditional or loop block in the Keyword View.)
|
Shift+F11
|
Debug
|
Step out (Runs to the end of the method then pauses the run session. (Available only after running a method using Step Into))
|
Shift+Alt+F3
|
Automation
|
Starts recording in Analog Recording mode.
|
Shift+Alt+F12
|
Insert Menu
| |
Shift+Alt+N
|
File Menu
|
Creates a New Function Library
|
Shift+Alt+O
|
File Menu
|
Opens an existing Function Library
|
Shift+Ctrl+F9
|
Debug
|
Clear all breakpoints
|
Shift+Altl+F12
|
Insert Menu
|
Opens the Add Existing Output Value dialog box, enabling you to create a standard output value for an object or a table.
Note:
From the menu option, context-menu option, or toolbar button, you can
also insert other types of output values, if available. )
|
Shortcut Ctrl Key Combinations:
Ctrl+B
|
Edit Menu
|
Bookmarks (Creates bookmarks in your script for easy navigation.)
| |
Ctrl+C
|
Edit & Resource
|
Copy (Copies the selection from your document.)
| |
Ctrl+F
|
Edit & Resource
|
Find (Searches for a specified string.)
| |
Ctrl+G
|
Edit Menu
|
Go to (Moves the cursor to a particular line in the test.)
| |
Ctrl+H
|
Edit Menu
|
Replace (Searches and replaces a specified string.)
| |
Ctrl+M
|
Edit Menu
|
Make the Comment Block (Comments out the current row, or selected rows.)
| |
Ctrl+N
|
File & Resource
|
Creates a New Test
| |
Ctrl+O
|
File & Resource
|
Opens an Existing Test
| |
Ctrl+P
|
File Menu
|
Print
| |
Ctrl+R
|
Resource
|
Opens the Object Repository window, which displays a tree containing all objects in the current test or component.
| |
Ctrl+S
|
File & Resource
|
Saves the active document.
| |
Ctrl+T
|
Debug
|
Add to watch (Adds the selected item in the Watch tab.)
| |
Ctrl+V
|
Edit & Resource
|
Paste (Pastes the selection to your document.)
| |
Ctrl+W
|
Edit Menu
|
Apply
With to Script (Generates With statements for the action displayed in
the Expert View, and enables IntelliSense within With statements.)
| |
Ctrl+X
|
Edit & Resource
|
Cut (Removes the selection from your document.)
| |
Ctrl+Y
|
Edit & Resource
|
Redo (Reverses the most recent operation of the Undo command.)
| |
Ctrl+Z
|
Edit & Resource
|
Undo (Reverses the last command or deletes the last entry you typed.)
| |
Ctrl+F4
|
Resource
|
Close the Object Repository Manager
| |
Ctrl+F5
|
Automation
|
Run from step (Starts a run session from the selected step.)
| |
Ctrl+F7
|
Tools Menu
|
Check the Syntax of the active document / script.
| |
Ctrl+F9
|
Debug
|
Enable/Disable Breakpoint in the test.
| |
Ctrl+F10
|
Debug
|
Run to Step.(Runs until the current step.)
| |
Ctrl+F12
|
Insert Menu
|
For
Standard Output Values. (Opens the Output Value Properties dialog box,
enabling you to create a standard output value for an object or a table.
Note: From the menu option, context-menu option, or toolbar button, you can also insert other types of output values, if available.)
| |
Ctrl+ Page Up or Page Down
|
Toggles between the Keyword and Expert View.
| ||
Ctrl+Enter; Alt+Enter
|
Edit Menu
|
Opens the Comment Properties dialog box for a comment step. Available only when the selected step is a comment.
|
Ctrl+Enter; Alt+Enter
|
Edit Menu
|
Opens the Object Properties dialog box for a selected object. Available only when the selected step contains a test object.
|
Ctrl+Enter; Alt+Enter
|
Edit Menu
|
Displays the Report Properties dialog box for a report step. Available only when the selected step is a Reporter. ReportEvent step.
|
Ctrl+Shift+F3
|
Automation
|
Starts recording in Analog Recording mode.
|
Ctrl+Shift+F9
|
Debug
|
Deletes all breakpoints in the test.
|
Ctrl+Shift+M
|
Edit Menu
|
Uncomment Block (Removes the comment formatting from the current or selected rows.)
|
Ctrl+Shift+N
|
File Menu
|
Creates a New Business Component
|
Ctrl+Shift+O
|
File Menu
|
Opens an existing business or scripted component
|
Ctrl+Shift+W
|
Edit Menu
|
Remove
With statements (Converts any With statements in the action displayed
in the Expert View to regular (single-line) VBScript statements. )
|
Ctrl+Shift+Space
|
Edit Menu
|
Displays the syntax of a method.
|
Ctrl+Alt+C
|
File Menu
|
Converts a business component to a scripted component.
|
Ctrl+Alt+I
|
Imports a document from a zip file.
| |
Ctrl+Alt+M
|
File Menu
|
Export test to Zip file
|
Ctrl+Alt+N
|
File Menu
|
Creates a New Application Area
|
Ctrl+Alt+O
|
File Menu
|
Opens an existing Application Area
|
Ctrl+Alt+S
|
File Menu
|
Creates a zip file of the active document.
|
Ctrl+Space
|
Edit Menu
|
Completes the word when you type the beginning of a VBScript method or object.
|
Alt+G
|
Edit Menu
|
Go to Function Definition (Navigates to the definition of the selected function.)
|
Alt +F12
|
Insert Menu
|
Opens the Add Existing Checkpoint dialog box, enabling you to insert an existing checkpoint for an object or a table.
Note: From the menu option, context-menu option, or toolbar button, you can also insert other types of checkpoints, if available.
|
Delete
|
Edit & Resource
|
Deletes the selection from your document.
|
Tab
|
Indents the step according to the tab spacing defined in the Editor Options dialog box.
| |
Backspace
|
Out dents the step (reduces the indentation) according to the tab spacing defined in the Editor Options dialog box.
|
Already Menu wise shortcut keys are available in the QTP help.
Navigation: Ã Open qtp help
à Type in search edit box: shortcut keys <press enter>
à Under the edit box displays topic wise, in that click à for menu items.
Note: in every sub menu again their menu short cut keys are there observe that.
ex: if open ObjRep in that again menu's are there. Here also OR menu commands have shortcut keys.
Data Table Menu Commands
You can perform the following Data Table
menu commands by right-clicking in a Data Table cell or pressing the
corresponding shortcut keys when one or more cells are selected in the
Data Table:
Command
|
Shortcut Key
|
Function
|
Edit > Cut
|
Ctrl+X
|
Cuts the table selection and puts it on the Clipboard.
|
Edit > Copy
|
Ctrl+C
|
Copies the table selection and puts it on the Clipboard.
|
Edit > Paste
|
Ctrl+V
|
Pastes the contents of the Clipboard to the current table selection.
|
Edit > Clear > Contents
|
Ctrl+Del
|
Clears the contents from the current selection.
|
Edit > Insert
|
Ctrl+I
|
Inserts
empty cells at the location of the current selection. Cells adjacent to
the insertion are shifted to make room for the new cells.
|
Edit > Delete
|
Ctrl+K
|
Deletes the current selection. Cells adjacent to the deleted cells are shifted to fill the space left by the vacated cells.
|
Edit > Fill Right
|
Ctrl+R
|
Copies data in the left-most cell of the selected range to all cells to the right of it, within the selected range.
|
Edit > Fill Down
|
Ctrl+D
|
Copies data in the top cell of the selected range to all cells below it within the selected range.
|
Edit > Find
|
Ctrl+F
|
Finds
a cell containing specified text. You can search the table by row or
column and specify to match case or find entire cells only.
|
Edit > Replace
|
Ctrl+H
|
Finds
a cell containing specified text and replaces it with different text.
You can search the table by row or column and specify to match case
and/or to find entire cells only. You can also replace all.
|
Data > Recalc
|
F9
|
Recalculates the selected data in the Data Table.
|
Switch between Data Table sheets
|
Ctrl+Page Up/Page Down
|
Switches through the Data Table sheets when the Data Table is in focus.
|
Other Quick Test Commands
Option
|
Shortcut Key
|
Function
|
Switch between Keyword View and Expert View
|
Ctrl+Page Up / Page Down
|
Toggles between the Keyword View and Expert View.
|
Switch between open documents
|
Ctrl+Tab
|
Changes the display to another open document type.
|
Open context menu
|
Shift+F10,
or press the Application Key ( ) [Microsoft Natural Keyboard only]
|
Opens the context menu for the selected step data cell in the Data Table.
|
Expand all branches
|
*
[on the numeric keypad] |
Expands all branches in the Keyword View.
|
Expand branch
|
+
[on the numeric keypad] |
Expands the selected item branch and all branches below it in the Keyword View.
|
Collapse branch
|
-
[on the numeric keypad] |
Collapses the selected item branch and all branches below it in the Keyword View.
|
Open the Item or Operation list
|
Shift+F4 or Space, when the Item or Operation column is selected in the Keyword View.
|
Opens the Item or Operation list in the Keyword View, when the Item or Operation column is selected.
|