QTP screen can be divided into following five parts:
1) Test Pane
2) Active Screen
3) Data Table
4) Debug Viewer Pane
5) Tool Options
2) Active Screen
3) Data Table
4) Debug Viewer Pane
5) Tool Options
Test Pane
Test pane is an area provided by QTP, which is used for developing, viewing and modifying the test script. It represents the Test script in following two views.
Expert view: represents the script in VB script format.
Keyboard View: represents the scripts using a graphical user interface, which are further, divided, into four parts like 1) Item 2) Operation 3) Value 4) Documentation
Active Screen
Provides a snapshot of your application as it appeared when you performed a certain step during a recording session. (You can display the Active Screen by choosing View > Active Screen, or by clicking the Active Screen button.)
Data Table
Assists you in parameterizing your test. (You can display the Data Table pane by choosing View > Data Table, or by clicking the Data Table button
.)
Debug Viewer
Assists you in debugging your test. The Debug Viewer pane contains the Watch, Variables, and Command tabs. (The Debug Viewer pane is not displayed when you open QuickTest for the first time. You can display the Debug Viewer by choosing View > Debug Viewer.)
Missing Resources
Provides a list of the resources that are specified in your test but cannot be found, such as missing Recovery Scenarios and missing Function Libraries. (The Missing Resources pane is not displayed when you open QuickTest for the first time. You can display the Missing Resources pane by choosing View > Missing Resources, or by clicking the Missing Resources button.)
Information
Displays a list of syntax errors found in your test and function library scripts. (You can display the Information pane by choosing View > Information.)
QTP Commands
The following tables gives a list of QTP Commands.
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 is available, through this we can get object’s information.(Properties and values)
In this menu Virtual object option is 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.
Note:
Note:
These QTP Commands can be executed from:
1.Menu Bar options
2.Tool Bar options
3.Short cut keys (for Some important operations only)
No comments:
Post a Comment