How to use Quick Test Professional IDE?

This tutorial introduces the Quick Test Professional IDE

Launch UFT

To launch HP QTP, In Start Menu,

Choose Programs > Quick Test Professional Folder > Quick Test Professional or double click on the HP UFT icon

How to use QTP IDE

Add-in Manager

The first time you start Micro Focus UFT, the Add-in Manager dialog box opens.

It Displays a 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

How to use QTP IDE

The recommendation you select only the add-ins required for your particular Testing session. Because at times, different add-in interferes 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 is 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 checkbox. Click OK.

Start Page

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! an area to open new or existing documents.

How to use QTP IDE

Following are important components of the IDE

  1. Menu bar
  2. Properties window
  3. Document tab
  4. Solution Explorer
  5. Toolbox tab
  6. Output tab
  7. Active Screen
  8. 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” checkbox. 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

Solution Explorer

The Solution Explorer is a hierarchical tree of all actions and tests in the current test, with their references, events, and flows.

How to use QTP IDE

Through Function Library, you can create a code or function that can be used numerous times in your test.

How to use QTP IDE

Detailed information of the function will appear on the right side of the panel under “Properties” panel

Data Table

You can enter the data related to your test through data-tab from the menu-bar at the bottom of the window. This panel is the tree hierarchy of data sources that can be used with a test.

How to use QTP IDE

The “Action” tab gives details of test code.

How to use QTP IDE How to use QTP IDE

To view the errors encountered during performing Automation Testing, you can use the error tab from the bottom panel.

How to use QTP IDE

Move IDE Panes

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.

How to use QTP IDE