This tutorial introduces the Quick Test Professional IDE
To launch QTP, In Start Menu,
The first time you start QTP, the Add-in Manager dialog box opens.
It Displays list of all installed add-in. You can select the add-in you want to load for the test and click "OK". You can later add or remove an Add-in after QTP has launched. For now stick to default and move ahead
Recommendation you select only the add-ins required for your particular Testing session . Because at times , different add-in interfere with each other degrading object identification and QTP's performance. QTP will remember the add-ins you load so that the next time you open QTP the add-ins you selected in the previous session are selected by default. Also, If you do not want this dialog box to open the next time you start QTP clear the Show on startup check box. Click OK.
The Start Page describes the new features in the current release-including links to more information about these features. It also provides links to Process Guidance, a tool that offers best practices for working with QTP. You can open a document from the list of Recently Used Files, or you can click the buttons in the Welcome! area to open new or existing documents.
Following are important components of the IDE
- Menu bar
- Properties window
- Document tab
- Solution Explorer
- Toolbox tab
- Output tab
- Active Screen
- Data tab
If you do not want QTP to display the Start Page when you next open QTP ,select the "Don't show the Start Page window on startup" check box. When you select this option, the Start Page is also automatically hidden for the current QTP session as soon as you open another QTP document. To display the Start Page again, select View > Start
The Solution Explorer is an hierarchial tree of all actions and tests in the current test, with their references, events and flows.
Detailed information of the function will appear on the right side of the panel under "Properties" panel
To view the errors encountered during performing Automation Testing, you can use the error tab from the bottom panel.
You can move the QTP window panes to suit your own personal preferences.
Say we want to Move the Solution Explorer.
In the QTP window, drag the title bar of the Solution Explorer.
As you drag the pane, markers are displayed in the active pane and on each edge of the QTP window.
Drag the Solution Explorer and hold the cursor over the various markers. A shaded area is displayed, indicating the new location of the pane. Let's move it to Top. Release the mouse button. The Solution Explorer Pane snaps into place and is displayed as a new pane in the shaded area.