Resources Settings in QTP

Associating Function Libraries to a QTP Test is very important as it is associated from an external location and since we use frame work each of the test script is broken down into different functions and there should be a way to associate them to a test. The Resource Tab in Test Settings helps you to do this.


You need to navigate to File > Settings > Test Settings > Resources.

Here we will look at the various options available for user to set under resources in QTP while running a test.


Here you can associate function libraries to QTP test by clicking the + sign and select the location from where you want to add. In order to delete a library file select that file from the list and click the Delete button i.e X button. You can arrange the function library files by using the up and Down key.

It also provides a means to check the syntax of the files associated by clicking the Check syntax Button.

There is a means to associate a data table from other location i.e Excel sheet for passing values as parameters to the test from default location or from any other location.

Run Settings in QTP

Test Settings in QTP is very vital as it provides a lot of settings for a test and allows you to control the way QTP should run.


You can customize the settings of QTP for each test by navigating to File > Settings > Test Settings > Run.

Here we will look at the various options available for user customize Run Settings in QTP while running a test.


Run one iteration only: The test will run only for one time.

Run on all rows: The test will run on all rows

When error occurs during run session combo has these options

1. Pop up message box
2. Proceed to next action iteration
3. Stop Run
4. Proceed to next step

Check box items are:

Object synchronization time out text box with 20 sec as default.

Disable smart identification during run session

/* Tynt Insight tracker ----------------------------------------------- */