SAP S/4HANA Cloud provides a test tool that can help customers automate their testing during various phases of the projects and also during Quarterly upgrade. This blog will help you understand the steps to be followed for set-up of the test tool.
The test automation tool is available only in customer’s quality systems.You can start using test automation tool from the realize phase as soon as you are provisioned with the “Q” system.
Recommendation to use the test automation tool from the realize phase. This helps customers to automate the regression testing phase after quarterly upgrade in run phase.
To use the test automation tool, you need access to test automation tool apps which are “Test Your Process”, “Manage Your Test Process” and “Analyze Automated Test Results”. The apps “Test Your Process”, “Manage Your Test Process” are accessible via role “SAP_BR_BPC_EXPERT” or“SAP_BR_ADMIN_TEST_AUTOMATION”. The app “Analyze Automated Test Results” is only accessible via role “SAP_BR_ADMIN_TEST_AUTOMATION”. The recommended browser is Chrome.
SAP_BR_BPC_EXPERT – Access to test automation tool app
SAP_BR_ADMIN_TEST_AUTOMATION – Access to test automation tool apps
To use the test automation tool, you need to first set up the test tool via app “test your process”. You need to add a test user to the manage user section of the app. Open the app test your process and click on the manage user icon appearing at the footer of the screen.
The initials landing page would be empty as no user has been set up. Then click on the add button to add the test user.
This will open a pop-up window displaying the fields Role, Description, User Name, Password and URL. Let see details of each field.
The first entry should be with “DEFAULT”. This is mandatory for the test tool to execute. The role here does not mean you need to create a role name called DEFAULT. This role is only linked with standard automate for test execution purpose. To execute the standard automates this entry needs to exist. To do a role based testing you can create more roles and add user. The same role name should be added to the standard automate for test execution.
You can define the purpose of this role like test user or test administrator.
The user name here needs to be an active business user with which user can log into SAP S/4HANA Cloud using the same user name. Ensure the test user exist in identity provider.The maintenance of test user is mandatory for the test tool execution. The recommendation is to create a test user specifically for the testing purpose with all the application specific role because if this user does not have roles then the test plans would fail due to no authorization to access the apps.Currently test automation tool is supporting SAP Cloud Identity and Microsoft ADFS. If you are using any other IDP for authentication purpose please raise an incident under component CA-CTT-S4C.
The test user which you assign should have the same password with which test user log into SAP S/4HANA Cloud. If you change the password for SAP S/4HANA Cloud, then the password here should also be manually updated as the system does not update the password automatically. If the password is not updated or incorrectly entered, then the test execution will not happen.Based on the customer password policy the system passwords changes frequently depending on customers, it could a month or every quarter. Each time the password changes, it needs to be updated here.
The URL of the SAP S/4HANA Cloud of your system should be entered here. e.g. https://myxxxxxx.s4hana.ondemand.com or https://myxxxxxx.saps4hanacloud.cn or your own SAP S/4HANA Cloud domain url.
For more information on how to set up the tool please refer the guide Testing Tool Admin Guides.