Product Information
How to import Test Scripts from the SAP Best Practice content for SAP S/4 HANA Cloud into SAP Cloud ALM manual test cases
In this example I will demonstrate how to leverage the MS Excel version of the best practice content for SAP S/4 HANA. I will use the release of 2202 for SAP S/4 HANA Cloud.
First of all, you need to have a scope containing the right solution scenario as highlighted here below:
Then the solution process (scope item) should also be added to this scope. In this document I will BD9 as an example, and we can see here below that it is part of my scope:
I will now go to the test preparation, and create a new manual test case for BD9
I used the create button, then filled in:
- The test case title
- The scope
- The solution process (BD9)
- And then selected a Solution Process Flow Diagram (if there are multiple diagrams available, just use the one which is closer to your own implementation)
Then save your empty test case:
Just press the download button, to download the current version of your test case:
And open the resulting MS Excel file:
Now open the best practice excel file:
From the downloaded excel, copy the cells A6 to K6 as highlighted here:
And paste these into the best practice document:
Save it in a different location (so that you don’t overwrite the original content), for example the Downloads folder from Windows:
You can now upload your updated file into SAP Cloud ALM:
And then upload:
This is where the file will be checked and where you might receive error messages. Most error messages will be about empty cells for the activities, actions or instructions. Once the errors are fixed you will see the activities:
And if you switch to the content tab, you will find the best practice content in your test case:
This will then need to be edited, adjusted, customized. You can also decide to remove some steps which only contain information and not instructions:
The data mentioned in the test case is also the default data from the best practice content and it will probably need to be maintained as well (when the test scripts will be imported into SAP Cloud ALM directly we will also plan to improve the data handling).
Finally, you will need to switch the test case status to “Prepared” to execute it.
I hope that this information and the content will be useful for your testing.
Good to see test scripts inclusions directly from best practices business process steps into the Cloud ALM for SAP S/4HANA Cloud. Thanks for sharing this information for our ecosystems @Nicolas ALECH!
Hello Nicolas,
I have followed the instructions, the upload file was processed successfully. However, in the content tab the instructions appear with a lot of tags, see example below:
On the Sales Item Proposal screen, in the Header Data tab, and make the following entries:
Sales Document Type: <kbd class="ph userinput">PV</kbd>
Sales Organization: <kbd class="ph userinput">2510</kbd>
Distribution Channel: <kbd class="ph userinput">10</kbd>
Division: <kbd class="ph userinput">00</kbd>
Description: <kbd class="ph userinput">< For example, Item Proposal Template></kbd>
Valid-From Date: <kbd class="ph userinput"><For example, Current Date></kbd>
Valid-To Date: <kbd class="ph userinput"><For example, Current Date + 1 Year></kbd>
Thanks in advance for your feedback
Hi Wouter,
you are right, some of the tags are not perfectly interpreted yet. This is the first version of the content and we will definitely strive to improve it. Either via the content itself or via the rich text editor in SAP Cloud ALM.
Cheers
Nicolas
Thanks Nicolas!
Hello,
we have updated our rich text editor some time ago. most of the tags should be properly interpreted now.
Cheers
Nicolas
Hi Nicolas,
There are some Best Practice Scripts for which no Cloud ALM scripts available. How to upload those scripts?
Thanks
Hello,
Can you please let me know for which scope items?
Thanks
Nicolas
Yes please, see below list:
4RF - Project Control - Procurement
1YF - Project Review
BJH - Make to Stock Production - Repetitive Manufacturing
3LQ - Production Capacity Levelling
BJK - Production Subcontracting - External Processing
Thanks,
Falgun