Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Showing posts with label qtp help commands. Show all posts
Showing posts with label qtp help commands. Show all posts

Data Table Menu Commands In QTP

What are : 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.

Windows & Help Menu Commands In QTP

Window Menu Commands


You can perform the following Window menu commands:




Command

Function

Cascade

Displays the open documents cascaded.

Tile Horizontally

Displays the open documents one above the other.

Tile Vertically

Displays the open documents side-by-side.

Close All Function Libraries

Closes all open function libraries.

open files section

Lists the documents that are currently open in the QuickTest session.

Windows

Opens the Windows dialog box, enabling you to manage your open document windows.

Help Menu Commands


You can perform the following Help menu commands:




Command

Shortcut Key

Function

QuickTest Professional Help

F1

Opens the QuickTest Professional Help.

Printer-Friendly Documentation

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

QuickTest Professional Tutorial

Opens the QuickTest Professional tutorial, which teaches you basic QuickTest skills and shows you how to start testing your applications.

What's New

Opens the What's New in QuickTest Professional Help.

Product Feature Movies

Enables you to view movies illustrating various QuickTest features.

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.)


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.


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.


Check for Updates

Checks online for any available updates to QuickTest Professional. You can choose which updates you want to download and (optionally) install.

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.


About QuickTest Professional

Displays information about the installed version of QuickTest Professional.




Debug Menu Commands In QTP

Debug Menu Commands


You can debug the steps in your component and any associated function library using the following Debug menu commands:


Sl No
Command

Shortcut Key

Function

1

Pause

Pauses the debug session.

2

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.

3

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.

4

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)
 5
Run to Step

Ctrl+F10

Runs until the current step.
 6
Debug from Step

Runs from the selected step instead of the start of the component.
 7
Add to Watch

Ctrl+T

Adds the selected item to the Watch tab.

8

Insert/Remove Breakpoint

F9

Sets or clears a breakpoint in the component.

9

Enable/Disable Breakpoint

Ctrl+F9

Enables or disables a breakpoint in the component.

10

Clear All Breakpoints

Ctrl+Shift+F9

Deletes all breakpoints in the component.

11

Enable/Disable All Breakpoints

Enables or disables all breakpoints in the component.



Some of the Debug commands are also available from the Debug toolbar.

Resources Menu Commands In QTP

Resources Menu Commands


You can manage your object repositories and other resources using the following Resources menu commands:




Command

Shortcut Key

Function

1
Object Repository

Ctrl+R

Opens the Object Repository window, which displays a tree containing all objects in the current test or component.

2

Object Repository Manager

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

3

Associate Repositories

Opens the Associate Repositories dialog box, enabling you to manage the object repository associations for the test.

4

Map Repository Parameters

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

Opens the Recovery Scenario Manager dialog box.
 6
Associated Function Libraries

Lists the function libraries associated with the active document, enabling you to open them.



The Object Repository menu command is also available from the Automation toolbar.


For gaining more insights in the automation using QTP log on to below url :
Automation Testing Using QTP

Insert Menu Commands In QTP

Insert Menu Commands


You can insert various types of component and function library steps using the following Insert menu commands:



Sl No
Command

Shortcut Key

Function

1

Checkpoint > Standard Checkpoint

F12

Opens the Checkpoint Properties dialog box, enabling you to create a standard checkpoint for an object.

2

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.

3

Step Generator

F7

Opens the Step Generator. (Relevant only for function libraries)

4

Function Definition Generator

Opens the Function Definition Generator. (Relevant only for function libraries)
 5
New Step

F8; Insert

Inserts a new step in the Keyword View.

6

Operation

Inserts an operation (function) step in a component.

7

Comment

Inserts a Comment step in the Keyword View.



Some of the Insert menu commands are also available from the Insert toolbar.

View Menu Commands In QTP

View Menu Commands


You can manage the way that QuickTest is displayed on your screen using the following View menu commands:




Command

Function
1
Start Page

Opens the Start Page. (Enabled only when the Start Page is closed)

2

Active Screen

Displays the Active Screen. (Relevant only for tests)

3

Available Keywords

Shows and hides the Available Keywords Pane.

4

Data Table

Displays the Data Table. (Relevant only for tests)
 5
Debug Viewer

Shows and hides the Debug Viewer Pane.
 6
Information

Shows and hides the Information Pane.
 7
Missing Resources

Shows and hides the Missing Resources Pane.

8

Process Guidance

Shows and hides the Process Guidance Panes.

9

Resources

Shows and hides the Resources Pane.

10

Test Flow

Shows and hides the Test Flow Pane. (Relevant only for tests)

11

To Do

Shows and hides the To Do Pane.
 12
Expand All

Expands all steps in the Keyword View.
 13
Collapse All

Collapses all steps in the Keyword View.

14

Keyword View

Displays the Keyword View if the Expert View is displayed. (Relevant only for tests)

15

Expert View

Displays the Expert View if the Keyword View is displayed. (Relevant only for tests)
 16
Toolbars

Enables you to show and hide QuickTest toolbars.
 17
Window Theme

Enables you to select a theme to apply to your QuickTest window.



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

Edit Menu Commands In QTP

Edit Menu Commands


You can manage your component or function library steps using the following Edit menu commands:




Command

Shortcut Key

Function

1

Undo

Ctrl+Z

Reverses the last command or deletes the last entry you typed.

2

Redo

Ctrl+Y

Reverses the most recent operation of the Undo command.

3

Cut

Ctrl+X

Removes the selection from your document.

4

Copy

Ctrl+C

Copies the selection from your document.

5

Paste

Ctrl+V

Pastes the selection to your document.

6

Delete

Delete

Deletes the selection from your document.
 7
Copy Documentation to Clipboard

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

8

Action > Split Action

Separates an action into two sibling actions or into parent-child nested actions.
 9
Action > Rename Action

Shift+F2

Changes the name of an action.

10

Action > Delete Action

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

Enables you to specify options, parameters, and associated object repositories for a stored action.
 12
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.
 13
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.
 14
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.
 15
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.
 16.
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.
 17
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.

18

Find

Ctrl+F

Searches for a specified string.

19

Replace

Ctrl+H

Searches and replaces a specified string.

20

Go To

Ctrl+G

Moves the cursor to a particular line in the component.
 21
Bookmarks

Ctrl+B

Creates bookmarks in your script for easy navigation.

22

Advanced > Comment Block

Ctrl+M

Comments out the current row, or selected rows.

23

Advanced > Uncomment Block

Ctrl+Shift+M

Removes the comment formatting from the current or selected rows.

24

Advanced > Indent

Tab

Indents the step according to the tab spacing defined in the Editor Options dialog box.

25

Advanced > Outdent

Backspace

Outdents the step (reduces the indentation) according to the tab spacing defined in the Editor Options dialog box.
 26
Advanced > Go to Function Definition

Alt+G

Navigates to the definition of the selected function.
 27
Advanced > Complete Word

Ctrl+Space

Completes the word when you type the beginning of a VBScript method or object.
 28
Advanced > Argument Info

Ctrl+Shift+Space

Displays the syntax of a method.
 29
Advanced > Apply "With" to Script

Ctrl+W

Generates With statements for the action displayed in the Expert View, and enables IntelliSense within With statements.
 30
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.
 31
Optional Step

Inserts an optional step (a step that is not required to successfully complete a run session).



Many of the Edit menu commands are also available from the Edit toolbar.

File Menu Commands In QTP

File Menu Commands


You can manage your component, application area, or function library using the following File menu commands:



Sl No
Command

Shortcut Key

Function

1.

New > Test

Ctrl+N

Creates a new test.

2.

New > Business Component

Ctrl+Shift+N

Creates a new business component.

3.

New > Scripted Component

Creates a new scripted component.

4.

New > Application Area

Ctrl+Alt+N

Creates a new application area.

5.

New > Function Library

Shift+Alt+N

Creates a new function library.

6.

Open > Test

Ctrl+O

Opens an existing test.

7.

Open > Business/Scripted Component

Ctrl+Shift+O

Opens an existing business or scripted component.

8.

Open > Application Area

Ctrl+Alt+O

Opens an existing application area.

9.

Open > Function Library

Shift+Alt+O

Opens an existing function library.
 10.
Close

Closes the active function library.
 11.
Close All Function Libraries

Closes all open function libraries.

12.

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.



 13.
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.

14.

Save

Ctrl+S

Saves the active document.
 15.
Save As

Opens the relevant Save dialog box so you can save the open document.

16.

Save Test with Resources

Saves a standalone copy of the current test together with its resource files.

17.

Save All

Saves all open documents.

18.

Enable Editing

Makes read-only function libraries editable.
 19.
Export Test to Zip File

Ctrl+Alt+S

Creates a zip file of the active document.
 20.
Import Test from Zip File

Ctrl+Alt+I

Imports a document from a zip file.
 21.
Convert to Scripted Component

Ctrl+Alt+C

Converts a business component to a scripted component.

22.

Print

Ctrl+P

Prints the active document.
 23.
Print Preview

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

24.

Settings

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

Opens the Process Guidance Management dialog box, enabling you to manage the list of processes that are available in QuickTest.
 26.
Change Application Area

Enables you to associate the component with a different application area.
 27.
Associate Library '' with ''

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

Lists the recently viewed files.
 29.
Exit

Closes the QuickTest session.



Many of the File menu commands are also available from the Standard toolbar.