Monday, May 9, 2011

Anatomy Of QTP

For simple understanding of QTP I have divided QTP in the following parts   

1.Test Pane:
Test pane is an area provided by QTP, which is used for developing, viewing, and modifying the test screen. It represents the test scripts in two views
(a). Expert view: It represents the script in VB script format
(b). Key word view: Keyword view represents the script using a graphical user interface (GUI) which is further divided in to four parts.
Ø      Item
Ø      Operation Value
Ø      Documentation

2.Active Screen:
Active screen is an area provided by QTP, which holds the snapshots of each and every script statements and used for the following.
Ø      Easily understanding the script
Ø      Easily enhancing the script.

3.Data-Table:
The date table is originally called as formula1 sheet developed by third party and integrated with QTP.
·               It is used for holding the test data
·               It isolates the test script from the data source.
·               It provides the facility to import the test data from different data sources like excel         files, data base and flat files (a file with out having format)
·               It allows the user to interact with the data directly

Qtp have two data tables
a)Global Data table
b)Action data table

4. Debug Viewer Pane:
Debug viewer pane is an area provided by QTP which is used for viewing, modifying or setting the current values of variables or expressions during the execution break with the help of three Tabs by name Watch expression, Variables and Command

5.Tool- Options:
            All the options available in the menu bar, file tool bar and testing tool bar are known as tool-options.

These are the basic anatomy of QTP.

Add In Manager in QTP

This is a feature provided by QTP which is used for showing all the list of addins,while opening the QTP.So that the user can select the desired addin and then enter  into the QTP, Before the user access the QTP the adding manager will make the QTP compatible with all the selected environments.
                                                                                                                                                                        By default QTP is always compatible with standard window’s environment.
QTP also have the following three built-in addins.
1.Activex
2.Visual Basic
3.Web.
A part from the above add-ins one needs to purchase the add-inns by paying extra cost.