Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File Structure in QTP
#7
Solved: 10 Years, 8 Months, 3 Weeks ago
The QuickTest Professional (QTP) test file structure is as follows:

<TestName> Folder
|
|-- default.cfg - MDRV configuration file; it is needed only for LoadRunner/BAC execution, not for QTP
|-- default.usp - MDRV run-logic; it is needed only for LoadRunner/BAC execution, not for QTP
|-- <TestName>.usr - Main storage for MDRV execution; it is needed only for LoadRunner/BAC execution, not for QTP
|-- Default.xls - Default DataTable
|-- lock.lck - Test lock file (removed when Test is closed)
|-- Parameters.mtr - Parameterization information
|-- Test.tsp - Main document storage (settings) of the Test
|
|-- Action<i> Folder
|
|-- ObjectRepository.bdb - The Local Action repository DB file
|-- Resource.mtr - Main document storage of the Action
|-- Script.mts - Action script
|
|-- SnapShots Folder - Contains Active Screen snapshot files

The following files, if they exist, are obsolete and not created by QuickTest Professional (QTP) 9.0 or above. If you see them, the test was probably originally created by an older version of QTP:

default.prm - MDRV DataTable. In QTP 8.2 the Data Table was duplicated in this file for MDRV. It is not needed for QTP operation.
thick_usr.dat and thin_usr.dat - These files are obsolete. They were included from the Astra LoadTest product and were used by MDRV only. They are not needed for QTP.

Important Note:

To ensure that QuickTest Professional (QTP) properly recognize the test folder, the folder structure should remain as listed above. QTP may not open or use the test as expected if files are removed from the structure. If you wish to remove files, verify that QTP will open and execute the test before permanently deleting any files.

This file structure may vary slightly when using Save Test with Resources… functionality available in QTP version 10 when looking into the reusable actions folders.
Reply


Messages In This Thread
File Structure in QTP - by alca - 07-27-2012, 09:00 PM
RE: File Structure in QTP - by Victor~ - 08-20-2012, 08:42 PM
RE: File Structure in QTP - by vinod123 - 08-21-2012, 04:52 PM
RE: File Structure in QTP - by Victor~ - 08-21-2012, 06:41 PM
RE: File Structure in QTP - by arescool - 10-17-2012, 02:59 PM
RE: File Structure in QTP - by qtptester66523 - 05-18-2015, 09:12 PM
RE: File Structure in QTP - by smitapawar610 - 11-29-2018, 11:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)