When a dynamic test suite item is open in the test suite list view, the test module
list is read-only. Test modules in a dynamic test suite can be reordered only by
customizing the dynamic test suite's data profile.
Test modules included in a dynamic test suite are executed in the order in which they
appear in the test suite list view. You can change the order of the contents of a
dynamic test suite, in order to alter the sequence in which the test modules are
run, by changing the criteria of the associated data profile. You might, for
example, want to execute all the test modules in order of their priority. This can
be done simply enough by selecting the Sort check box of the
data profile's Priority attribute.
Note, however, that there are limitations to what you can do with the sort order of
items in a dynamic test suite. If you want to order the test modules in some
arbitrary way, you have two options:
- Use a static test
- Add a user-defined field
to the test module item definition in your repository. Assign values to that
field for all the test modules of your dynamic test suite, so that sorting
by that field causes the modules to be ordered as you prefer. Then modify
the data profile of the test suite to sort by that field.
The following offers a simple example of rearranging the test modules in a dynamic
In the TestArchitect explorer tree, right-click a dynamic
test suite node residing under the project's Test Suites
folder, then click Edit data profile.
Note: If you right-click a static test suite node, the
Edit data profile option is unavailable.
In the Edit Profile panel, customize the data profile so that the
order of the test modules reflect your preferred sequence of execution.
For example, you have created a customized data profile named
, a list of test modules whose
parent test folder's locations contain the string
. This list is currently sorted in the
ascending order as illustrated in the screenshot below.
Before editing a data profile
Suppose that you may want to rearrange the test modules in the descending
order, perform the following:
In the Name attribute, select the
Sort check box.
The Sort check box in the Test module
attributes panel enables the sorting of records in the
generated report by their attributes. (See Sorting
attributes for details.)
Select the desc check box to reverse the sort
order (from ascending to descending) for the Name
After editing a data profile
To verify that the test modules are reordered in the customized data profile,
click the Show button.
The list of test modules that matches the new condition appears in the
Click the Update button to save the changes to the
customized data profile.
In the confirmation dialog box, click Yes.
In the TestArchitect explorer tree, double-click the dynamic
test suite node whose data profile has been customized.
The test suite list view appears in the main panel. From the test suite list view,
you can observe new test module's position customized from the data profile.