Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regarding Action 0 and Action 1
#1
Solved: 10 Years, 9 Months ago
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
Reply
#2
Solved: 10 Years, 9 Months ago
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.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 10 Years, 9 Months ago
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
Reply
#4
Solved: 10 Years, 9 Months ago
Yes snaphsots folder contains the snapshots files of each screen recording on the application and this folder is stored in Action1 folder...

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Action Parameterization Issue Slothman 1 1,567 10-31-2020, 01:05 PM
Last Post: Ankur
  no action on click for particular wpf button jlavrecka 1 1,257 05-21-2020, 11:33 PM
Last Post: jlavrecka
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 854 04-23-2020, 07:08 PM
Last Post: BGunay
  UFT 14.01 - identifying wpf objects. but not performing action. chinmoyee 1 2,353 11-15-2017, 03:42 PM
Last Post: Ankur
  Default state of new action aparajita 1 2,216 08-25-2015, 12:11 AM
Last Post: aparajita

Forum Jump:


Users browsing this thread: 1 Guest(s)