Test cases are often performed after implementing changes. As the existing TBOMs may no longer be up-to-date after implementing changes, it is useful to combine the creation of TBOMs with the performance of the test cases. You can automate the creation and update of TBOMs by recording TBOMs in automatic test cases. When the automatic test cases are performed, the system automatically also creates or updates the TBOMs affected.
Note
Currently, TBOM recording is only supported for automatic test cases of type eCatt.
Sie haben eine Business Process Hierarchy angelegt.
You have created automatic test cases of type eCatt.
You have assigned executable entities to the relevant nodes, in the Transactions
tab.
You have assigned automatic test cases to the same nodes, in the Test Cases
tab.
Both the RFC connection from the Solution Manager system to the managed system, and the RFC connection back from the managed system to the Solution Manager system, are in the transaction SMSY. The RFC back connection has the naming convention SM_[Solution Manager system]CLNT[Solution Manager client]_BACK. The required logon data is also entered. This back connection is normally created automatically by the system when you create an RFC connection in the Solution Manager system landscape maintenance (SMSY) or the Configuration
work center.
You have created a user to record automatic test cases. For more information, see the Customizing for
.Open the attribute dialog of the executable entity, and choose the TBOM
tab.
Select the test cases which you want to use to record the TBOM, in the Assigned Automatic Test Cases
group box.
Save the TBOM.
Create a test plan containing the previously-assigned automatic test cases. For further information, see Create Test Plan for a Project.
Create at least one test package which contains the previously-assigned test cases, in the test plan. For further information, see Create Test Package for Projects in Solution Manager.
Note
You can use the Test Cases
filter, to choose only test cases which are assigned to a TBOM. In the Filter Test Cases
dialog, choose the BP Change Analyzer
tab, and choose TBOM-Relevant
.
Schedule the test packages which contain the TBOM-relevant test cases:
In the Test Management
work center, choose the Test Plan Management
view.
Select the test plan.
Choose Test Package Management
.
The test plan is displayed in the test workbench.
Select the test package which you want to schedule.
Choose
.In the Scheduling
dialog, select the Put Status in Test Workbench
and Activate TBOM Recording
checkboxes. The system can only record a TBOM when the test case runs if both checkboxes are selected.
Choose the test packages.
Choose Execute
.
Check the runtime details in the Runtime
dialog.
Save the scheduling.
Note
You can also run a test package immediately, instead of scheduling it. Enter system data, target system, etc. for the execution, in the Start Options
dialog. As the TBOM is created for a specified project or solution, you must choose the target system so that it is in the system landscape of the project or solution.
You must also set the following checkboxes in the Start Options
dialog:
Close RFC Connection
Put Status in Test Workbench
Activate TBOM Recording
Note
Alternatively, you can also select a test package in the Tester Worklist
view, display the package in the system, with Run Test
, and then run the package immediately.
The system has created TBOM extensions for all executable entities affected. The TBOM extensions overview shows the automatic test case an extension has been created.
If a TBOM extension had already been created in an automatic test case, the system has updated it.
To get an overview of the executable entities to which automatic test cases are currently assigned, see, in the Reports
view, the Transactions/TBOMs/Test Cases
report.
The eCatt log shows the automatic test cases which created the TBOMs.