Posts: 6
Threads: 3
Joined: May 2008
Reputation:
0
05-26-2008, 06:11 PM
Hi,
I am new to QTP.
can any one please explain why Action 0 and Action 1 Folders, both are created in a script folder when we create a new script?
thanks in advance
Shahin
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
05-26-2008, 08:33 PM
Nice question...
Other than .bdb and .mtr files, Action0 contains .mts files which consists of RunAction statements for each Action contained in your testcase. Check out for yourself. You can use it to your advantage, tell me how??
Action1 is like other normal action files which contains info regarding the current action.
Posts: 159
Threads: 1
Joined: Apr 2008
Reputation:
0
05-26-2008, 08:40 PM
Dear Shahin,
1)When you create any test in QTP and save it by giving a name.
A testname direcctory is automatically created and all the files and folders related to the test are saved in the testname directory.
2)By Default QTP creates certain files and directories in each test directory .
3)These are the following folders and files
a)Action0 folder : This directory contains files that control all action except Action0,in the test directory.
b)Action1: This directory contains log of user acions on the objects as these were captured during recording.
c)Script.mtr: This file captures the user actions on objects. This file resides in the ACTION1 directory.
d)Default.xls :This file contains the data that you specify in DATA TABLE to parameterize your test.
e)Snaphsots folder:This file contatins the snapshots of each screen recording on the application and this folder is stored in Action1 folder.
f)For each action folder contains three other files named Resources.mtr(Which contains resources for that action),ObjectRepository.bdb(Which contains object list fot that action),Script.mts(Which contains the script for that action).
Hope this is going to be helpful to you...
But donot woory abt this folder structure...
First learn the tool...
Regards
Sridhar
Posts: 1
Threads: 0
Joined: Jun 2009
Reputation:
0
06-09-2009, 09:26 AM
Yes snaphsots folder contains the snapshots files of each screen recording on the application and this folder is stored in Action1 folder...