Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 4 of 6

Automates, test plans and results

18 min

Listen to this lesson

0:00 / 6:54

The Test Automation Tool is embedded in Public Edition. You don't install it; you prepare test users, adapt automates to your processes, group them into test plans and read the results. This lesson walks through each part with an eye on what breaks at upgrade time.

Test users

Automated steps run as virtual test users. SAP Learning describes three kinds: a business user for processes entirely inside the system (named DEFAULT and given the relevant business roles), a communication user for integration steps, reusing existing communication arrangements, and a conditional authentication user when a non-SAP identity provider is in use. The stored password must match the real user's password and must be updated in the app when it changes. Every test plan needs a virtual test user, and a pre-check confirms the user has the right roles before execution.

The kind of virtual test user depends on what the step does, and a stale password or missing role fails the run before any business logic is tested.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-305

Standard and custom automates

In Manage Your Test Processes, SAP's standard processes are read-only. To adapt one, you copy it; the copy becomes a custom process. When you change a step to a custom step, its Release Compatibility marker changes from a check mark to a question mark, which means the step must be validated after future upgrades. To add actions you record them: the recording panel offers Check (verify values, labels and messages) and Read (capture values for later steps). Copies are hidden from Test Your Processes by default, so change their visibility before adding them to a test plan.

  1. CopyCopy the standard process in Manage Your Test Processes
  2. AdaptChange steps to custom steps; record new actions with Check and Read
  3. Bind dataUse a test data container and variants for country and company code
  4. PublishMake the custom process visible for test plans
  5. PlanAdd it to a test plan with a test user in Test Your Processes
  6. RevalidateAfter each upgrade, validate every step marked with a question mark
Lifecycle of a custom automate. The last step is the one teams forget.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-305

Test plans and data

Create a test plan in Test Your Processes with the + icon and assign processes; the order you select them sets the execution sequence. The Variants tab sets values such as country/region and company code, which decide the test data used. The tool provides a default variant and a default test data container so tests can run immediately; you can add your own containers so that, for the Contoso what-if, orders use Great Lakes Fleet Services and material CMC-ALT-100 rather than demo data.

A test plan ties ordered processes, a test user and data variants together; custom steps carry a release compatibility marker to revalidate after each upgrade.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-305
Upgrade riskWhat to prepareWhere
Custom steps change behaviorValidate every step marked with a question markManage Your Test Processes
Test user lacks a new roleReview roles and catalogs against the release impactBusiness role apps; RASD
Data no longer validRefresh data variants and containersTest Your Processes; test data containers
Password expiredUpdate the virtual test userTest Your Processes
Plan order brokenCheck dependencies between processes in a planTest Your Processes

Common causes of upgrade-day automation failures that have nothing to do with SAP's software.

Reading the results

The Analyze Automated Test Results app shows dashboards for post-upgrade and customer-specific test runs. You drill into a failed test plan down to the failed step and see the screenshot of the error. Dashboards can be shared by link or saved as a launchpad tile, which is a simple way to give Grace and the process owners a live view. Results of automated test plans are also visible in SAP Cloud ALM next to manual test plans, so one place can hold the whole regression picture.

SAP Cloud ALMTest plans, manual and automated results, defects, traceability
Analyze Automated Test ResultsDashboards and step-level detail with screenshots
Test Your ProcessesTest plans, test users, consent and execution
Manage Your Test ProcessesStandard and custom automates, recording, release compatibility
Where each part of the automated regression lives, from asset to report.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-305

What would you do?

In the what-if, the test system was upgraded on Saturday. On Monday morning all 18 of Contoso's custom automates fail at their first step, and the pre-check reports that the DEFAULT test user lacks a business role that the release now requires for the sales order app. What should Priya do first?

Key points
  • Test users must have current passwords and the roles each process needs; a pre-check verifies roles.
  • Copy standard automates to adapt them; custom steps carry a question mark and need validation after every upgrade.
  • Test plans define sequence, test user and data variants; bind your own data where demo data won't do.
  • Analyze Automated Test Results shows step-level failures with screenshots; Cloud ALM brings automated and manual results together.

Check your understanding · not graded

Lesson check

  1. 1. What does a question mark in the Release Compatibility column mean?

  2. 2. How do you adapt a standard automate to your process?

  3. 3. Which kind of virtual test user is needed for integration steps?

  4. 4. Where can you drill into a failed step and see an error screenshot?