QTP Commands
QTP Commands are available in 3 ways.
1.Menu options
2.Tool Bar options
3.Short cut keys (for Some important operations only)
File menu: Through file menu user can create, save tests, open existing tests, export tests in zip format.
| Command | |
| New > Test | |
| New > Business Component | |
| New > Scripted Component | |
| New > Application Area | |
| New > Function Library | |
| Open > Test | |
| Open > Business/Scripted Component | |
| Open > Application Area | |
| Open > Function Library | |
| Close | |
| Close All Function Libraries | |
| Quality Center Connection | |
| Quality Center Version Control | |
| Save | |
| Save As | |
| Save Test with Resources | |
| Save All | |
| Enable Editing | |
| Export Test to Zip File | |
| Import Test from Zip File | |
| Convert to Scripted Component | |
| Print | |
| Print Preview | |
| Settings | |
| Process Guidance Management | |
| Associate Library '<Function Library Name>' with '<Document Name>' | |
| Recent Files | |
| Exit |
Edit Menu: It provides editing options and renaming, deleting and splitting actions.
| Command | |
| Undo | |
| Redo | |
| Cut | |
| Copy | |
| Paste | |
| Delete | |
| Copy Documentation to Clipboard | |
| Action > Split Action | |
| Action > Rename Action | |
| Action > Delete Action | |
| Action > Action Properties | |
| Action > Action Call Properties | |
| Step Properties > Comment Properties | |
| Step Properties > Object Properties | |
| Step Properties > Checkpoint Properties | |
| Step Properties > Output Value Properties | |
| Step Properties > Report Properties | |
| Find | |
| Replace | |
| Go To | |
| Bookmarks | |
| Advanced > Comment Block | |
| Advanced > Uncomment Block | |
| Advanced > Indent | |
| Advanced > Outdent | |
| Advanced > Go to Function Definition | |
| Advanced > Complete Word | |
| Advanced > Argument Info | |
| Advanced > Apply "With" to Script | |
| Advanced > Remove "With" Statements | |
| Optional Step |
View menu: Through this menu we can launch and close, active screen, Data Table, Debug viewer, information, missing resources etc.
Insert Menu: Through this menu user can inserting check points, out put values, synchronizing points.
In this menu step generator available, using this user can generate recordable and non-recordable scripts.
Through insert menu user can insert VB Script conditional and loop statements and transaction points (Start and End).
Through insert menu user can create new actions, call existing actions and copy existing actions.
Automation Menu:
This menu provides Record, Run options and Run setting options
Through this menu we can start normal recording, analog recording and Low level recording.
Through this menu we can stop recoding, running and also we run tests.
| Command | |
| Record | |
| Run | |
| Stop | |
| Run Current Action | |
| Run from Step | |
| Maintenance Run Mode | |
| Update Run Mode | |
| Analog Recording | |
| Low Level Recording | |
| Record and Run Settings | |
| Process Guidance List | |
| Results |
Resources Menu:
This menu provides object repository and recovery scenarios options.
Through this menu we can create /modify/delete objects information and we can associate repositories.
Through this menu we can create, modify and delete recovery scenarios.
| Command | |
| Object Repository | |
| Object Repository Manager | |
| Associate Repositories | |
| Map Repository Parameters | |
| Recovery Scenario Manager | |
| Associated Function Libraries |
Debug Menu:
This menu provides debug commands for step by step execution.
Through this menu we can insert/remove/break points.
Tools Menu:
This menu provides Tools settings option, view options and object identification configuration.
Through this menu we can set tool options as well as test pane view options.
In this menu object spy option available, through this we can get object's information.(Properties and values)
In this menu Virtual object option available; through this option we can create virtual objects.
| Command | |
| Options | |
| View Options | |
| Check Syntax | |
| Object Identification | |
| Object Spy | |
| Web Event Recording Configuration | |
| Data Driver | |
| Change Active Screen | |
| Virtual Objects > New Virtual Object | |
| Virtual Objects > Virtual Object Manager | |
| Customize |
Window Menu:
This menu provides QTP tool window style settings.
Help Menu:
This menu provides QTP help as well as VB Script help.
Through this menu we can contact technical support people and we can send feedback.
Through this menu we can check for updates and download or install directly.





