UFT(QTP) difference between Action0 and Action 1|QTP script contains two sub folders “Action 0” and “Action1” by default , Why ?
QTP script contains two sub folders “Action 0” and “Action1” by default , Why ? |UFT(QTP) difference between Action0 and Action 1
By default each QTP script contains two sub folders “Action 0” and “Action1”. If we increase the number of actions then the number of the subfolders will increase accordingly. However please note that changing the name of action will not result into change of the sub folder names.
Following is the directory structure:
1111. Action 0: Only Script.mts file is useful in this folder. This file contains the call to the actions and the no of iterations on which the action has to iterate. We can also add code here.
2. Action 1:
a. Snapshots: This folder contains the snapshot of the application taken during recording. . It contains the ‘HTML, XML & PNG files
b. Objectrepository.bdb ( BDB = Berkeley Data base, an oracle product): This is the local object repository of the action
c. Resource.mtr: This is a binary file and contains the information about the action IO parameters and similar action info.
d. Script.mts (Script files): This file contains the QTP code.
3. Default.xls (Default Excel file): This is the default xls data file of the test script
4. Default.cfg (Configuration file): Configuration file of the script mainly for the loadrunner
5. Lock.lck (locks the file opened by QTP Script): It locks the open files of the test. If a script is open at one machine. Then it locks that script so that it will open only in read mode by other machines or by qtp script editor.
Interesting Note: If you make this file read then QTP script will always open in read only mode. To enable the editing mode back you need to remove the read only mode from the lock.lck file.
6. Parameters.mtr: It contains the test script IO parameters info.
7. Test.tsp (test settings): A binary file not sure about but most probably contains the QTP test settings.
8. ScriptName.usr: Loadrunner file
9. Default.usp: Loadrunner file
Comments
Post a Comment