The QTP 10.0 Architecture is divided into seven parts.
Test pane: It is the area where the test engineer can generate, view and write the test script. The pane is divided in to two views.
Expert view: A person who can understand the VB-Script uses this view to view, generate and write the test script.
Keyword view: This is used to view, generate and write the test script by a person who doesn’t have good knowledge on VB-Script.
Active Screen: This feature provides a facility to capture snapshots while recording the script, which helps a person to understand the test scripts easily.
Advantages of Active screen:
1. We can insert the steps from active screen.
2. We can view/ add object.
3. We can insert check points.
4. We can insert output values.
1. Memory wastage.
2. Decreases the scripts execution speed.
This feature provided in QTP where you can keep the test data required for parameterization of script. There are two types of data tables.
Local Data Table: The table which can be viewed by test engineer while generating the basic script, after generation of script and after the execution of script.
Run-Time data table: The table that will be present in result window, which can be viewed only after execution. The difference between local data table and run-time data table is in run-time data table we can create user defined sheet where as it is not possible in local data table.
Data table contains two types of sheets:
1. Global Sheet: If we give data in global sheet it can be used by any action.
2. Action Sheet: If we give data in action sheet can be used by that action only.
Debug viewer pane:
This page is used while debugging the test script (i.e. checking for syntax errors). Debug viewer pane contains of three tabs.
Watch: The watch expression tab helps to view the particular step details, variables values in that test and also in another test and this watch has to be kept by the test engineer and this watch exists until that session of QTP ends.
Variables: This tab helps to view the variables current values in the test during debugging session without test engineer’s request.
Command: This tab helps to modify the variables current values in the test during debugging session.
The information pane provides a list of syntax errors in your test or function library scripts. To show or hide the information page, choose view information or click the information button.
When you switch from the Expert view to the keyword view, Quick test automatically checks for syntax errors in your scripts, and shows them in the information page. If the information page is not currently displayed, quick test automatically opens it when a syntax error is detected.
Missing resources pane:
The missing resources pane provides a list of the resource that is specified in your test but can’t be found, such as missing calls to actions, unmapped shared object repositories, and parameters that are connected to share object repositories.
Each time you open your test or function library, Quick test automatically checks that all specifies resources are accessible, if finds any resources that are not accessible, Quick test lists them is the missing resources pane.
Processes are stored in the process guidance packages. Quick test provides a built-in package containing several processes. This package is listed default in the process guide management dialog box. The process guidance packages are comprised as two entries the package configuration file and the data file.
Configuration file: This XML file defines the process included in the package and structure of the group and activities in each process.
Data files: A set of XML files. Each XML file contains the content for single activity.
To do pane: Enables to view and manage your test related, component related, or application area related, Task and to do comments. To do pane contains two tabs.
Task Tab: Enables you to create and manage your test component or application area related task.
Comments Tab: Enables to view and access TODO comments in an action, component or currently open function library.