Show TOC

Procedure documentationAdjust Test Scope with Test Case Options Locate this document in the navigation structure

 

Test case options determine which test cases are performed for the nodes in the test scope. You specify a test case filter. There are two categories of test case options:

  • Test case rules: These rules apply to all test cases in an area (inclusion or optimization).

  • Test case attribute rules

Procedure

Specify Test Case Area Rules
  1. Show the Optimization Options display area.

  2. Choose the Test Case Options tab.

  3. Select the checkboxes to filter the test cases for nodes in the area.

    The checkboxes have the following effect:

    • Automated

      If you set the checkbox, the system performs all automatic test cases for these nodes.

      If you reset the checkbox, the system does not run any automatic test cases.

    • Manual

      If you set the checkbox, the system performs all manual test cases for these nodes.

      If you reset the checkbox, the system does not run any manual test cases.

    • Only Automated if available

      If you set the checkbox, the system checks whether a node has automatic or manual test cases. If the node has at least one automated test case, only the automated test cases for this node are taken into account. If the node has no automated test cases, all the manual test cases for the node are taken into account.

      If you reset the checkbox, the system includes the test cases in accordance with the remaining checkboxes.

    • Only with Assignment to Test Object if available

      If you select the checkbox, the system checks each node in the business process hierarchy to establish whether you have assigned at least one test object to a test case on the Test Cases tab. If so, the system only includes test cases with an assigned test object for this node. If you have not assigned a test object to any test case in a node, the system includes all test cases.

      Choose this option if you use variants of executable entities and want to evaluate only the test cases for the variant.

      Note Note

      To achieve 100% test coverage, all the executable entities affected by the analysis must be tested. If you selected the Only with Assignment to Test Object if available checkbox, proceed as follows to ensure 100% test coverage:

      • You have assigned each executable entity affected by the analysis as a test object for at least one test case.

        — or —

      • You have not assigned any executable entity affected by the analysis as a test object for any test case.

      If you have only assigned individual executable entities, this function may prevent 100% test coverage.

      End of the note.

      If you reset the checkbox, the system includes the test cases in accordance with the remaining checkboxes.

    The following columns are only available if a partner test management tool is connected to the Business Process Change Analyzer:

    • Partner Test Cases

      If you set the checkbox, the system includes test cases from the third-party's application.

      If you reset the checkbox, the system ignores test cases from the third-party's application.

    • SAP Test Cases

      If you set the checkbox, the system includes test cases from the SAP Solution Manager.

      If you reset the checkbox, the system ignores test cases from the SAP Solution Manager.

Select Test Cases Using Test Case Attributes

In addition to the test case rules, you can also filter test cases using test case attributes. The following attributes are available for SAP test cases:

  • Test effort

  • Keyword

  • Name (all types except test documents)

  • Owner

  • Title (test documents only)

For test cases from partner test management tools, the test case attributes depend on the specific application. Attribute rules are only used on test cases that come from the same test management tool as the attributes.

  1. Show the Optimization Options display area.

  2. Choose the Test Case Options tab.

  3. Choose whether to link the filter conditions for different attributes with and or or.

  4. Select Add Attribute.

  5. Choose the attribute by which you want to filter in the Attributes Used column.

  6. In the Attribute Value column, specify the value which the attribute must have for the system to include the associated test case.

  7. In the Value Range column, you can specify complex conditions for the attribute value.

  8. In the Language column, you can specify the language in which you want to specify the language-dependent attribute values. If you leave the field empty, the system searches for hits in all the available languages.

  9. In the Valid for Must Include Area and Valid for Optimization Area columns, you specify whether you want to filter test cases in these areas.

  10. Choose Add Attribute Values to specify further values for the selected attribute. You can treat test cases with specific attribute values differently in the two areas. For example, you can include test cases with priorities 1 and 2 in the must include area and only test cases with priority 1 in the optimization area.

  11. Choose Delete Entries to remove the selected entries from the list of attributes used.

  12. Choose Reset Values to reset the values of the selected attributes.

  13. Choose Apply.