Select language:

Function documentationWorking with Test Case Templates

 

Test case templates are available for the second generation business functions that are delivered with the enhancement packages. These help you to reduce the implementation time and efforts. With the test case templates you can test the new functions that belong to the scope of a business function. The use of test case templates gives you the following advantages:

  • Using the test case description, you can find out how to test the new functions and what you have to consider.

  • You can plan your tests using the test case templates and calculate the efforts accordingly.

  • You can prepare the content of the tests,for example, by creating the test data required.

For more information about using test cases, see SAP NetWeaver Library under Test Workbench

Features

  • The test case templates delivered give you examples that show you how to test the new functions. You can, of course, add further test cases.

  • Test case templates are available for all business functions whose functions are part of your ECC system.

  • You can access the test case templates in transaction SFW5. From there you can navigate to the related SAP test case catalog for each business function.

Activities

Note Note

The following procedure describes how to use the test case templates for SAP NetWeaver 7.0, Support Package 12. As of one of the following Support Packages, a more comfortable use of the test case templates will be available.

End of the note.

Proceed as follows to look at the SAP test catalog for the individual business functions:

  1. Call up transaction SFW5. You access the transaction from the Implementation Guide under   Activate Business Functions  .

  2. In the Test Catalog column, select the test catalog that you want information about.

    The application Display Test Catalog <topic> appears.

  3. Open the descriptions for the respective test cases.

Proceed as follows to copy and provide the test catalog for your tests:

Recommendation Recommendation

Proceed in exactly the sequence that is described in this procedure.

End of the recommendation.
  1. Call transaction SFW5. You access this transaction from the Implementation Guide under   Activate Business Functions  .

  2. In the Test Catalog column, select the test catalog that you want to use.

    The application Display Test Catalog <topic> appears.

  3. Make a note of the name of the highest node.

  4. In the SAP Easy Access menu, choose   Tools  ABAP Workbench  Test  Test Workbench  Test Organizer  Test Catalog Management  .

  5. Choose the input help for the Test Catalog field.

  6. Enter the name of the test catalog that you noted and want to use and choose Start Search. If necessary, remove the language from the selection criteria.

  7. Add the entry to your list of favorites. Choose Favorite.

  8. Select the new entry and choose   Test Catalog  Copy  .

  9. Give your test catalog a new name, choose Continue, and specify the package in which the new test catalog is to be saved.

    Your new test catalog is now in the list of favorites.

  10. Select your new test catalog and choose   Test Catalog  Display  .

  11. Choose   View  Hierarchy Display  Title and Key  .

  12. Open a new window.

  13. In the SAP Easy Access menu, choose   Tools  ABAP Workbench  Test  Test Workbench  Test Tools  CATT  .

    The Computer Aided Test Tool application appears.

  14. In the Test Case field, enter the technical key of a test case from your test catalog and copy the test case.

  15. Copy all further test cases and add them to your favorites list.

  16. Switch back to the Test Catalog Management application.

  17. In your copy of the test catalog, replace the individual test case templates from SAP with your copies of the test cases as follows.

    1. Add the copy of your test case behind the original.

    2. Delete the original from the test catalog.

  18. Replace all further test case templates from SAP with your copies.

Related Content

The following content is not part of SAP product documentation. For more information, see the following disclaimer Information published on SAP site .