Version Management for Test Scripts

On the eCATT initial screen or the test script editor, choose Utilities Version ® Management or .

On the Version Management screen, you can specify the same versioning data for a test script as you would on the Attributes tab of the test script. However, we recommend that you use the version management screen because you can see the data for all versions simultaneously.

On the Versioning Data tab, you specify the data that is used to determine which version of the test script should be selected for execution.

This data is used by eCATT to determine which version is to be executed when the test script is referenced by a test configuration or a REF command. eCATT inspects the target system at replay time and stores the software component, release, and patch level of the target system in the log. It then compares the target system data with all the versioning data of the test script and selects the version that matches.

·        Software Components. For example, SAP_BASIS. You can list several software components. If you use the F4 help, you can select the actual software components from the maintenance system.

·        Releases and Support Pack Level. You can specify the releases (for example, 620) and patch levels for which the test script is valid. If you use the F4 help, you can select the actual values from the maintenance system.

Ў        You need not specify the patch level.

Ў        If you specify a particular combination of software component, release, and patch in one version, that combination cannot be specified in another version. Backup versions are the exception to this rule.

Ў        In one version only, you can enter an asterisk (*) in the Release field. This version will be used if no other version has release data that matches that of the target system.

·        If you enter R(for required) in the Relevance field of a row, then the validity of the version is always determined by the entries in the row. Alternatively, you can enter O(for optional). This is useful for specifying several combinations, only one of which need exist in the target system for the version to be valid.

On the Version-Dependent Attributes tab, you can edit the following attributes:

·        Title

·        Backup – select this to exclude the version from the version search.

·        Status – select to allow the test script to be executed as part of an automated test.

·        System Data Container – for the maintenance system.

·        Test System – the maintenance system.

Simulation

You can choose  to simulate the version selection process. This enables you test that the versioning data is correct by seeing which version is selected for the specified target system.

The simulation examines the target system. It then compares the information from the target system with that of the versioning data of the test script. First the backup versions are eliminated from the search and then software components are compared. Next the release information is compared. Specific entries (for example, 620) take precedence over asterisks (*) which in turn take precedence over empty fields. Finally, the patch level is assessed. Again, specific entries take precedence over asterisks which in turn take precedence over empty fields.

Creating a New Version

You can create  a new version based on the selected version. The new version is identical to the old but with the backup flag set. You can then modify the version information.

Deleting a Version

When you try to delete a version, eCATT checks to see if the test script is used by another object (for example, a test configuration). You will only be able to delete a version if the test script is not being used, or if the backup flag of the version is set.