Posts: 1
Threads: 1
Joined: Jul 2012
Reputation:
0
07-27-2012, 09:00 PM
Hi to all QTP gurus,
I am new to QTP and I truly appreciate for the responses and time you spent on replying
1. What is File structure in QTP ?
2. Why is File structure is used ?
3. Please explain with one real time scenario ?
4. File system vs Folder Structure ?
Posts: 323
Threads: 8
Joined: Nov 2011
Reputation:
4
08-21-2012, 04:52 PM
1. folder structure qtp
in order to make easy to maintain the qtp scripts the folder structure is defined
a) Object Repository
b) Environment
c) Library
d) Test Data
e) Test Log
f) Recovery Scenarios
g) Miscellaneous
Posts: 4
Threads: 0
Joined: Aug 2012
Reputation:
0
08-21-2012, 06:41 PM
Hi Vinod,
I guess you have given the folder structure for the automation framework..
correct me if i m wrong ..
Victor~
Posts: 10
Threads: 2
Joined: Feb 2012
Reputation:
2
10-17-2012, 02:59 PM
Even i think the answer given by Vinod was a file structure of a framework only, and not for general file structure of QTP.
Posts: 8
Threads: 4
Joined: May 2015
Reputation:
0
05-18-2015, 09:12 PM
(This post was last modified: 05-18-2015, 09:13 PM by qtptester66523.)
Hi ,
Qtp stores everything in in the local Hard drive of the system and i think the the question is related to that folder structure.
Script .mts File
An Excel sheet .xls
Resource.mtr
Action0
Action1
For every action Local object repository .bdb File etc...
Posts: 10
Threads: 4
Joined: Nov 2018
Reputation:
0
11-29-2018, 11:29 AM
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.