05-10-2012, 02:09 AM
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
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