Tuesday, 11 February 2014

QTP 11.0 Menu's

QTP 11.0 Menu Commands File Menu: You can manage your test or Function library using the File Menu commands: Command Shortcut Key F... thumbnail 1 summary
QTP 11.0 Menu Commands
File Menu: You can manage your test or Function library using the File Menu commands:

Command
Shortcut Key
Function
File > New > Test
Ctrl+N
Creates a new test.
File > New > Business Component
Ctrl+Shift+N
Creates a new business component.
File > New > Scripted Component

Creates a new scripted component.
File > New > Application Area
Ctrl+Alt+N
Creates a new application area.
File > New > Function Library
Shift+Alt+N
Creates a new function library.
File > Open > Test
Ctrl+O
Opens an existing test.
File > Open > Business/Scripted Component
Ctrl+Shift+O
Opens an existing business or scripted component.
File > Open > Application Area
Ctrl+Alt+O
Opens an existing application area.
File > Open > Function Library
Shift+Alt+O
Opens an existing function library.
File > Close

Closes the active function library.
File > Close All Function Libraries

Closes all open function libraries.
File > Quality Center Connection

Opens the Quality Center Connection dialog box, enabling you to connect to a Quality Center project.
Tip: Double-click the Quality Center icon on the status bar to manage your connection.
Point to the Quality Center icon on the status bar to view connection information.
File > Quality Center Version Control

Provides a sub- menu of options for managing versions of QuickTest assets in Quality Center. The sub- menu is available only when you are connected to version-control enabled Quality Center project.
File > Save
Ctrl+S
Saves the active document.
File > Save As

Opens the relevant Save dialog box so you can save the open document.
File > Save Test with Resources

Saves a standalone copy of the current test together with its resource files.
File > Save All

Saves all open documents.
File > Enable Editing

Makes read-only function libraries editable.
File > Export Test to Zip File
Ctrl+Alt+S
Creates a zip file of the active document.
File > Import Test from Zip File
Ctrl+Alt+I
Imports a document from a zip file.
File > Convert to Scripted Component
Ctrl+Alt+C
Converts a business component to a scripted component.
File > Print
Ctrl+P
Prints the active document.
File > Print Preview

Displays the Keyword View as it will look when printed and enables you to modify the page setup.
File > Settings

Opens the Settings dialog box, enabling you to define settings for the open document. (Not relevant for function libraries)
File > Process Guidance Management

Opens the Process Guidance Management dialog box, enabling you to manage the list of processes that are available in QuickTest.
File > Associate Library '<Function Library Name>' with '<Document Name>'

Associates the active function library with the open document. (Available only from function libraries)
File > Recent Files

Lists the recently viewed files.
File > Exit

Closes the QuickTest session.
Note: Many of the File Menu commands are also available from the Standard toolbar.
Edit Menu: You can manage your test actions and your test or function library steps using the Edit menu commands:
Command
Shortcut Key
Function
Edit > Undo
Ctrl+Z
Reverses the last command or deletes the last entry you typed.
Edit > Redo
Ctrl+Y
Reverses the most recent operation of the Undo command.
Edit > Cut
Ctrl+X
Removes the selection from your document.
Edit > Copy
Ctrl+C
Copies the selection from your document.
Edit > Paste
Ctrl+V
Pastes the selection to your document.
Edit > Delete
Delete
Deletes the selection from your document.
Edit > Copy Documentation to Clipboard

Copies the content of the Documentation column of the Keyword View, enabling you to paste it in an external application.
Edit > Action > Split Action

Separates an action into two sibling actions or into parent-child nested actions.
Edit > Action > Rename Action
Shift+F2
Changes the name of an action.
Edit > Action > Delete Action

Enables you to remove the selected call to the action, or delete the action and its calls from the active test.
Edit > Action > Action Properties

Enables you to specify options, parameters, and associated object repositories for a stored action.
Edit > Action > Action Call Properties

Enables you to specify the number of run iterations according to the number of rows in the Data Table, and to define the values of input parameters and the storage location of output parameters.
Edit > Step Properties > Comment Properties
Ctrl+Enter; Alt+Enter
Opens the Comment Properties dialog box for a comment step. Available only when the selected step is a comment.
Edit > Step Properties > Object Properties
Ctrl+Enter; Alt+Enter
Opens the Object Properties dialog box for a selected object. Available only when the selected step contains a test object.
Edit > Step Properties > Checkpoint Properties

Opens the relevant Checkpoint Properties dialog box for a selected object. Available only when the selected step is a checkpoint step.
Edit > Step Properties > Output Value Properties

Opens the relevant Output Value Properties dialog box for a selected object. Available only when the selected step is an output value step.
Edit > Step Properties > Report Properties
Ctrl+Enter; Alt+Enter
Displays the Report Properties dialog box for a report step. Available only when the selected step is a Reporter.ReportEvent step.
Edit > Find
Ctrl+F
Searches for a specified string.
Edit > Replace
Ctrl+H
Searches and replaces a specified string.
Edit > Go To
Ctrl+G
Moves the cursor to a particular line in the test.
Edit > Bookmarks
Ctrl+B
Creates bookmarks in your script for easy navigation.
Edit > Advanced > Comment Block
Ctrl+M
Comments out the current row, or selected rows.
Edit > Advanced > Uncomment Block
Ctrl+Shift+M
Removes the comment formatting from the current or selected rows.
Edit > Advanced > Indent
Tab
Indents the step according to the tab spacing defined in the Editor Options dialog box.
Edit > Advanced > Outdent
Backspace
Outdents the step (reduces the indentation) according to the tab spacing defined in the Editor Options dialog box.
Edit > Advanced > Go to Function Definition
Alt+G
Navigates to the definition of the selected function.
Edit > Advanced > Complete Word
Ctrl+Space
Completes the word when you type the beginning of a VBScript method or object.
Edit > Advanced > Argument Info
Ctrl+Shift+Space
Displays the syntax of a method.
Edit > Advanced > Apply "With" to Script
Ctrl+W
Generates With statements for the action displayed in the Expert View, and enables IntelliSense within With statements.
Edit > Advanced > Remove "With" Statements
Ctrl+Shift+W
Converts any With statements in the action displayed in the Expert View to regular (single-line) VBScript statements.
Edit > Optional Step

Inserts an optional step (a step that is not required to successfully complete a run session).
Note: Many of the Edit menu commands are also available from the Edit toolbar.

View Menu: You can manage the way that QuickTest is displayed on your screen using the View menu commands:
Command
Function
View > Start Page
Opens the Start Page. (Enabled only when the Start Page is closed)
View > Active Screen
Displays the Active Screen. (Relevant only for tests)
View > Available Keywords
Shows and hides the Available Keywords Pane.
View > Data Table
Displays the Data Table. (Relevant only for tests)
View > Debug Viewer
Shows and hides the Debug Viewer Pane.
View > Information
Shows and hides the Information Pane.
View > Missing Resources
Shows and hides the Missing Resources Pane.
View > Process Guidance
Shows and hides the Process Guidance Panes.
View > Resources
Shows and hides the Resources Pane.
View > Test Flow
Shows and hides the Test Flow Pane. (Relevant only for tests)
View > To Do
Shows and hides the To Do Pane.
View > Expand All
Expands all steps in the Keyword View.
View > Collapse All
Collapses all steps in the Keyword View.
View > Keyword View
Displays the Keyword View if the Expert View is displayed. (Relevant only for tests)
View > Expert View
Displays the Expert View if the Keyword View is displayed. (Relevant only for tests)
View > Toolbars
Enables you to show and hide QuickTest toolbars.
View > Window Theme
Enables you to select a theme to apply to your QuickTest window.

Note: Some of the View menu commands are also available from the View toolbar.

Insert Menu: You can insert various types of test and function library steps using the Insert menu commands:
Command
Shortcut Key
Function
Insert > Checkpoint > Existing Checkpoint
Alt +F12
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.
Insert > Checkpoint > Standard Checkpoint
F12
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.
Insert > Output Value > Existing Output Value
Shift+Ctrl+
F12
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.
Insert > Output Value > Standard Output Value
Ctrl+F12
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.
Insert > Step Generator
F7
Opens the Step Generator.
Insert > Function Definition Generator

Opens the Function Definition Generator.
Insert > Synchronization Point

Inserts a synchronization point in the test, instructing QuickTest to pause the test until the object property value is achieved (or times out).
Insert > New Step
F8; Insert
Inserts a new step in the Keyword View.
Insert > New Step After Block
Shift+F8
Inserts a new step after a conditional or loop block in the Keyword View.
Insert > Operation

Inserts an operation (function) step in a component.
Insert > Comment

Inserts a Comment step in the Keyword View.
Insert > Report

Inserts a Reporter step in the Keyword View, instructing QuickTest to report an event to the Test Results.
Insert > Conditional Statement

Inserts an If...Then, ElseIf...Then, or Else statement according to your selection.
Loop Statement

Inserts a While...Wend, For...Next, Do...While, or Do...Until statement according to your selection.
Insert > Call to New Action

Creates a new action and inserts it in the specified location.
Insert > Call to Copy of Action

Inserts a call to an editable copy of an existing action.
Insert > Call to Existing Action

Inserts a call to an existing reusable action.
Insert > Call to WinRunner

Inserts a call to a WinRunner test or user-defined function.
(Available only if WinRunner is installed on the QuickTest computer)
Insert > Start Transaction

Inserts a StartTransaction step in the test, marking the beginning of the transaction to be timed.
(Relevant only if the test includes transactions to be used by LoadRunner or Business Availability Center)
Insert > End Transaction

Inserts an EndTransaction step in the test, marking the end of the transaction to be timed.
(Relevant only if the test includes transactions to be used by LoadRunner or Business Availability Center)
Note:  Some of the Insert menu commands are also available from the Insert toolbar.
Automation Menu:  You can manage your record and run sessions using the Automation menu commands:
Command
Shortcut Key
Function
Automation > Record
F3
Starts a recording session.
Automation > Run
F5
Starts a run session from the beginning or from the line at which the session was paused.
Automation > Stop
F4 (You can also define a shortcut key or key combination. See Setting Run Testing Options.)
Stops the recording or run session.
Automation > Run Current Action

Runs only the active action.
Automation > Run from Step
Ctrl+F5
Starts a run session from the selected step.
Automation > Maintenance Run Mode

Starts a run session during which the Maintenance Run Mode wizard opens for steps that failed because an object was not found in the application (if applicable).
Automation > Update Run Mode

Starts a run session to update test object descriptions and other options (if applicable).
Automation > Analog Recording
Shift+Alt+F3
Starts recording in Analog Recording mode.
Automation > Low Level Recording
Ctrl+Shift
+F3
Starts recording in Low Level Recording mode.
Automation > Record and Run Settings

Opens the Record and Run Settings dialog box, enabling you to define browser preferences for recording and running your test.
Automation > Process Guidance List

Lists the processes that are available for the current document type and for the currently loaded QuickTest add-ins, enabling you to open them.
Automation > Results

Enables you to view results for a test run session.

Note: Some of the Automation menu commands are also available from the Automation toolbar.

Resources Menu: You can manage your object repositories and other resources using the Resources menu commands:
Command
Shortcut Key
Function
Resources > Object Repository
Ctrl+R
Opens the Object Repository window, which displays a tree containing all objects in the current test or component.
Resources > Object Repository Manager

Opens the Object Repository Manager dialog box, enabling you to open and modify multiple shared object repositories.
Resources > Associate Repositories

Opens the Associate Repositories dialog box, enabling you to manage the object repository associations for the test.
Resources > Map Repository Parameters

Opens the Map Repository Parameters dialog box, enabling you to map repository parameters, as needed.
Resources > Recovery Scenario Manager

Opens the Recovery Scenario Manager dialog box.
Resources > Associated Function Libraries

Lists the function libraries associated with the active document, enabling you to open them.
Note: The Object Repository menu command is also available from the Automation toolbar.
Debug Menu: You can debug the steps in your test and any associated function library using the Debug menu commands:

Command
Shortcut Key
Function
Debug > Pause

Pauses the debug session.
Debug > Step Into
F11
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.
Debug > Step Over
F10
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.
Debug > Step Out
Shift+F11
Runs to the end of the method then pauses the run session. (Available only after running a method using Step Into)
Debug > Run to Step
Ctrl+F10
Runs until the current step.
Debug > Debug from Step

Runs from the selected step instead of the start of the test.
Debug > Add to Watch
Ctrl+T
Adds the selected item to the Watch tab.
Debug > Insert/Remove Breakpoint
F9
Sets or clears a breakpoint in the test.
Debug > Enable/Disable Breakpoint
Ctrl+F9
Enables or disables a breakpoint in the test.
Debug > Clear All Breakpoints
Ctrl+Shift+F9
Deletes all breakpoints in the test.
Debug > Enable/Disable All Breakpoints

Enables or disables all breakpoints in the test.
Note: Some of the Debug commands are also available from the Debug toolbar.

Tool Menu: You can perform the Tools menu commands:
Command
Shortcut Key
Function
Tool > Options

Opens the Options dialog box, enabling you to modify global testing options.
Tool > View Options

Opens the Editor Options dialog box, enabling you to customize how tests and function libraries are displayed in the Expert View and Function Library windows.
Tool > Check Syntax
Ctrl+F7
Checks the syntax of the active document.
Tool > Object Identification

Opens the Object Identification dialog box, enabling you to specify how QuickTest identifies a particular test object.
Tool > Object Spy

Opens the Object Spy dialog box, enabling you to view the native properties and operations of any object in an open application, as well as the test object hierarchy, identification properties, and operations of the test object that QuickTest uses to represent that object.
Tool > Web Event Recording Configuration

Opens the Web Event Recording Configuration dialog box, enabling you to specify a recording configuration level. (Relevant for tests only)
Tool > Data Driver

Opens the Data Driver dialog box, which displays the default Constants list for the action. (Relevant for tests only)
Tool > Change Active Screen

Replaces the previously recorded Active Screen with the selected Active Screen. (Relevant for tests only)
Tool > Virtual Objects > New Virtual Object

Opens the Virtual Object Wizard, enabling you to teach QuickTest to recognize an area of your application as a standard test object.
Tool > Virtual Objects > Virtual Object Manager

Opens the Virtual object Manager, enabling you to manage all of the virtual object collections defined on your computer.
Tool > Customize

Opens the Customize dialog box, which enables you to customize toolbars and menus, and create new menus.
Note: Some of the Tools menu commands are also available from the Tools toolbar.
Window Menu: You can perform the Window menu commands:
Command
Function
Window > Cascade
Displays the open documents cascaded.
Window > Tile Horizontally
Displays the open documents one above the other.
Window > Tile Vertically
Displays the open documents side-by-side.
Window > Close All Function Libraries
Closes all open function libraries.
open files section
Lists the documents that are currently open in the QuickTest session.
Window > Windows
Opens the Windows dialog box, enabling you to manage your open document windows.

Help Menu: You can perform the Help menu commands:

Command
Shortcut Key
Function
Help > QuickTest Professional Help
F1
Opens the QuickTest Professional Help.
Help > Printer-Friendly Documentation

Opens a page that provides links to printer-friendly versions of all QuickTest documentation, in Adobe Acrobat Reader (PDF) format.
Help > QuickTest Professional Tutorial

Opens the QuickTest Professional tutorial, which teaches you basic QuickTest skills and shows you how to start testing your applications.
Help > What's New

Opens the What's New in QuickTest Professional Help.
Help > Product Feature Movies

Enables you to view movies illustrating various QuickTest features.
Help > Troubleshooting & Knowledge Base

Opens the Troubleshooting area of the HP Software Support Web site, enabling you to select from several self-help troubleshooting options, including a product-specific knowledge base articles. (Requires login.)
Help > HP Software Support

Opens the HP Software Support Web site. This site enables you to browse the HP Support Knowledge Base and add your own articles. You can also post to and search user discussion forums, submit support requests, download patches and updated documentation, and more.
Help > Send Feedback and Win!

Opens the HP QuickTest Professional Send Feedback and Win Web site, where you can answer surveys about QuickTest and become eligible to win prizes in special prize drawings.
Help > Check for Updates

Checks online for any available updates to QuickTest Professional. You can choose which updates you want to download and (optionally) install.
Help > HP QuickTest Professional Software Web Page

Uses your default Web browser to access the HP QuickTest Professional software Web page within the HP corporate Web site. This site provides you with overview information, data sheets, demos and white papers about QuickTest as well as access to other technical resources.
Help > About QuickTest Professional

Displays information about the installed version of QuickTest Professional.

Note: Most of the 30 % Questions Asked in the QTP Menu Commands in the Certification.

No comments

Post a Comment