Entering content frameBackground documentation Part 8 - Versions Locate the document in its SAP Library structure

Use

When there are several versions of a referenced test script, eCATT automatically finds the one appropriate to the software component and release level of the target system.

Procedure

  1. On the Extended Computer Aided Test Tool: Initial Screen, select Test Script.
  2. In the Test Script field, enter the name of the test script that you created in part 5 of this tutorial (XYZ_VARIANTS).
  3. In the Versions field, enter 2.
  4. Choose This graphic is explained in the accompanying text.
  5. On the Attributes tab, enter a title. For example Second Version.
  6. Choose the Editor tab.
  7. The command editor is empty.

    The parameter list has all the import and export parameters of the first version. You should not change the names and types of these parameters. However, you may change the default values.

    Local variables are not retained from the first script. You are free to define any new local variables.

  8. Create a new local variable called EPSILON with a default value 1.
  9. Create a new set of commands in the command editor.
  10. DELTA = ALPHA + BETA + GAMMA + EPSILON.

    CHEVAR ( DELTA <> 13 ).

  11. Execute this test script.
  12. Now try to execute the test configuration that you created earlier. It does not work. There are now two versions of the test script and the test configuration does not know which one it should use.
  13. This graphic is explained in the accompanying text

    You need to specify the software component and release for which each version is valid. You do this on the Attributes tab of each version.

    To find information about software components, choose System -> Status, and in the System Status dialog box choose This graphic is explained in the accompanying text.

  14. In the first version of the test script, enter the software component and release of the system that you are running eCATT in. For example, SAP_BASIS and 620. The same software component is now also in the second version. Try to enter the same release information. This does not work - you cannot enter the same combination of software component and release information that you have specified in another version of the test script. Now enter a different release (for example 630).
  15. Make the target system, of the test configuration, the system that you are running eCATT in.
  16. Execute the test configuration.
  17. Examine the log and determine which version of the script has been executed.
  18. This graphic is explained in the accompanying text

  19. Change the target system to one that matches the software component and release specified in the second version of the test script.
  20. Execute the test configuration.

This graphic is explained in the accompanying text

Summary

The implementation can be totally different from version to version.

The import and export parameters are the same in all versions.

 

Leaving content frame