Micro Focus QTP (UFT) Forums
Iterations, External Actions, and Local Sheet - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Iterations, External Actions, and Local Sheet (/Thread-Iterations-External-Actions-and-Local-Sheet)



Iterations, External Actions, and Local Sheet - joncfrazier - 05-10-2012

QTP 11

My test structure is based heavily on unit tests. I have several areas that have their own individual test. All of these are clumped under a zone test, which is grouped with other zone tests into a "All test" category. This allows me to run tests on individual areas, zones or all.
[AllTests] consists almost entirely of external actions (each zone), while the [Zones] consist almost entirely of External Area tests.

[AllTests]
----[Zone1]
--------[Area1]
--------[Area2]
--------[etc.]
----[Zone2]
--------[Areas]
----[etc..]

My problems are:
1)
Local dataSheets are not found during a Zone or AllTest run. I can not do "Action Call Properties", it is always grayed out and unselectable.

2) Because of issue (1), I have to use the Global sheet for info used in iterations. This causes the primary iteration, login, to run extra times using blank information.

The goal here is:
[AllTests] Iteration 1
----[Zone] Iteration 1-3 (all 3 iterations run on each of the AllTests iterations)
--------[Area] Iteration 1-15 (all 15 area iterations run for each Zone iteration)
Repeat for [AllTests] Iteration 2-5