Testing Configured Business Processes

Creating Test Users and Test Plans with the Test Automation Tool

Objective

After completing this lesson, you will be able to create a test user and customer-specific test plan

Test Users and Test Plans in SAP S/4HANA Cloud

Create a Test User

Use the Test Your Processes app to create virtual test users, build test plans, and provide consent for SAP Post-Upgrade tests. Every test plan requires a virtual test user to automate process actions.

Screenshots showing how to create a test user in the Test Your Processes app.

The app supports three test user types:

Business User

For standard processes within SAP S/4HANA Cloud. Create the user in the Manage Workforce app, import the details into SAP Cloud Identity Authentication to set a password, and assign all relevant business roles. Name this user DEFAULT, as test process automates in the Manage Your Test Processes app already reference a DEFAULT user in the Role column. See the SAP Help Portal for required roles by business process.

Caution

Business catalogs must have READ and WRITE access. The test user password must match the actual SAP S/4HANA Cloud password; update it in the Test Your Processes app if it changes.
Communication User

For integration scenarios involving external SAP solutions. Reuse existing communication arrangements to create these users, and update the Role column in the relevant automate with the specific communication users.

Conditional Authentication User

Required if your organization uses a non-SAP Identity Provider (such as Microsoft Azure AD). Since the Test Automation Tool only supports SAP IdP, conditional authentication must be configured. See the SAP Help Portal for setup instructions.

Create Test Plans

Select the + icon in the Test Your Processes app to create a test plan and assign processes. The selection order determines the execution sequence.

Within the plan, the Release Compatibility column indicates which steps need post-release validation (question mark) versus standard steps (check mark).

Screenshots showing how to create a test plan.

Learn more about testing your processes in the SAP Help Portal.

Data Variants in Test Plans

Before running a test, use the Variants tab to define the country/region and company code, which determines the data used during execution. A default variant and default Test Data Container (TDC) are provided; custom containers can be added as needed.

To run the test, go to the Processes tab and select Execute. A pre-check confirms the test user has the correct business roles before execution begins.

Screenshots showing how to maintain data variants for a test plan.