Recording TBOMs with Automated Test Cases
Automate the creation and update of TBOMs by recording TBOMs in automatic test cases. When the automatic test cases are performed, the system also creates or updates the TBOMs affected, automatically.
Note
TBOM recording is currently only supported for automated test cases of type eCATT.
You have created a solution documentation.
You have created automatic test cases of type eCATT.
You have assigned executable entities to the relevant nodes.
You have assigned automatic test cases to the same nodes.
Both the RFC connection from the SAP Solution Manager system to the managed system, and the RFC connection back from the managed system to the Solution Manager system, exist. The RFC back connection has the naming convention SM_<SAP Solution Manager system>CLNT<SAP 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 SAP Solution Manager Configuration
work center, under .
You have created a user to record automatic test cases. For more information, see the Customizing forSAP Solution Manager
under .
In the Solution Documentation
view, do the following:
Drill down to an executable, and ensure that at least one automated test case is assigned to it.
In the executable's context menu, choose Assign for TBOM Generation
.
Select the test cases to be used for the automatic TBOM creation, and confirm.
For more information about identifying executables for which to create TBOMs, see Checking the TBOM Coverage and Status.
In the Test Plan Management
view, do the following: :
Create a dedicated test plan for TBOM generation, containing the previously-assigned automatic test cases.
Background: If the automatic generation of a TBOM fails, the test execution status is red, even though the test case might have been executed successfully, so the results of a test plan could be distorted.
For more information, see Creating and Editing Test Plans.
Create at least one test package which contains the previously-assigned test cases, in the test plan, and assign it to the tester who generates the TBOMs.
For more information, see Creating and Editing Test Packages.
Schedule the test packages which contain the TBOM-relevant test cases:
In the Tester Worklist
view, select the test package.
Choose .
In the Schedule Execution
dialog, select the Copy 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.
Check the runtime details in the Runtime
dialog. For example, schedule background jobs for test cases without SAP GUI. Schedule dialog jobs (Foreground
) for test cases which simulate SAP GUI Interaction. This option is the default, so ensure that transaction STPFE
is active.
For more information, see the eCATT: extended Computer Aided Test Tool
application help in SAP Help Portal at http://help.sap.com
, under .
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.
Set the following checkboxes in the Start Options
dialog:
Close RFC Connection
Copy Status in Test Workbench
Activate TBOM Recording
To save the scheduling, choose OK
.
The system creates TBOM enhancements for all executable entities affected. The TBOM enhancements overview shows the enhancements created.
If a TBOM enhancement had already been created in an automatic test case, the system updates it.
The eCATT log shows the automatic test cases which created the TBOMs.