Professional Documents
Culture Documents
Test Automation Tool For SAP S4HANA Cloud
Test Automation Tool For SAP S4HANA Cloud
PUBLIC
Legal Disclaimer
The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission
of SAP. This presentation is not subject to your license agreement or any other service or subscription agreement with SAP.
SAP has no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation and SAP’s strategy and possible
future developments, products and or platforms directions and functionality are all subject to change and may be changed
by SAP at any time for any reason without notice. The information in this document is not a commitment, promise or legal
obligation to deliver any material, code, or functionality. This document is provided without a warranty of any kind, either
express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or
noninfringement.
This document is for informational purposes and may not be incorporated into a contract. SAP assumes no responsibility for
errors or omissions in this document, except if such damages were caused by SAP’s willful misconduct or gross negligence.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which
speak only
as of their dates, and they should not be relied upon in making purchasing decisions.
The purpose of this accelerator is to provide information on how to use the test
automation tool for SAP S/4HANA Cloud within your SAP S/4HANA Cloud
implementation project, or for regression testing during the run phase.
▪ Further Information
Continuous Innovation
1 2 3
Implementation End user Regression test
Priority areas of test tool test acceptance test – Test of
customer owned
1 3 Test cycles test cases after
upgrades or
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
scope changes 5
Test Automation Tool for SAP S/4HANA Cloud
Usage Scenarios
TEST TEST
SELF TEST TEST
EXECUTION – EXECUTION –
ENABLEMENT PLANNING PREPERATION
Implementation test Regression test
Business Benefits:
Acceleration: Accelerate business process and
regression tests
Accurate: Reach a high test coverage even
during short test cycles like upgrade tests
Configurable: Create or adapt test scripts via
recording functionality
Documentation: Documents all automated test
activities with screenshots
Analysis: Results dashboard with drill down
functionality
Process steps, created or adapted by the customer are not being updated. Quarterly release upgrades
Adaptations to release dependent changes are in the responsibility of the
customer.
No matter if you are doing manual testing, or testing via test automation, each testing cycle should always have a test planning phase, a
test preparation phase, as well as the actual execution, and analysis phase.
This should be done in each project test cycle, such as:
Individual Test Phase
Iteration/Sprint
Regression test
In the Roadmap Viewer, there are template documents to assist with this test approach:
➢ Plan:
➢ Prepare:
Create test
Set up user
Set test
Manage Review SAP
Adapt standard test automate “visible in
your test Best Practice
automate if needed test your
processes test automates
processes” app
Define data
Test your variants and if Execute or Analyze, correct,
Create test plan and re-run
processes needed data schedule test plan
binding parameters
▪ Further Information
▪ Further Information
The test automation tool for SAP S/4HANA Cloud can be accessed as follows.
Access Path:
Catalog Role: SAP_BR_ADMIN_TEST_AUTOMATION
Open “Manage Your Test Processes” App
• The change history shows changes at standard automated test scripts compared to previous release.
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 20
• **Change visibility needs to be set, if a custom test process shall be visible in test your processes app
Step 1B: Manage Your Test Processes
Create Custom Test Process
Reasons to adapt
standard automate
Select the standard
Add standard /custom test script
SAP Best fields/custom fields
Practice test Make standard Custom Scripts
automates fields optional in Define data variants
actions
Merge, delete, or
add standard Execute the test plan
process steps
Add a new custom
step to existing If errors, resolve
issues and re-execute
standard process
Create completely
Testing is
new process successful
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 22
Step 1B: Manage Your Test Processes
Creation of Custom Test Process
Option2 (I)- By creating a new custom test process from scratch via Uploading a new test process
Option2(II)- By Creating a new custom test process from scratch via Adding a new test process
1. Select Standard
process step which
needs some
modification
2. Click on ‘Change
Type’ to make
process step
custom.
3. Adjust business
role as required.*
4. Click on save.
Note - Customer needs
to validate compatibility
of custom process step
in each new releases.
*Since 1905, business roles
can be adapted in process
type „standard“
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 27
Step 1C: Manage Your Test Processes
Convert standard process step to custom/ Create new custom process or add from existing one
Option2- Creating a new custom process step from scratch
1. Click on Edit.
2. Select a process step
where a new process step
needs to be created
3. Click on ‘Add above’/ ‘Add
below’
4. A new process step will get
added accordingly.
5. Define a name of process
step and Business role &
save it.
Adding actions to new process
steps is described on step 1D.
Note - Customer needs to
validate compatibility of custom
process step in each new
releases
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 28
Step 1C: Manage Your Test Processes
Convert standard process step to custom/ Create new custom process or add from existing one
Option3- Creating a new process step by adding from existing process step (Standard/ custom)
1. Click on Edit.
2. Select a process step
where a new process step
needs to be created
3. Click on ‘Add above/ Add
below’.
4. A new process step will get
added accordingly.
5. Click on F4 icon and select
an existing Standard/
custom process as required
from existing test
processes.
Note - Customer needs to
validate compatibility of custom
process step in each new
releases
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 29
Step 1D: Manage Your Test Processes
Edit action in Custom process step
• SAP Updates the standard test process steps with new features and UI Changes after every quarterly upgrade.
However, Customer specific process steps have to be manually updated by customers after each upgrade.
• Hence, checking the compatibity of custom process step is vital and it helps customers to know if test cases are
compatible with new release and can be run without failure.
▪ Further Information
Access Path:
Catalog Role: SAP_BR_ADMIN_TEST_AUTOMATION
Open “Test Your Process” App
The Test Plan represents an end-to-end Business flow and can consist of several test processes. If you need
to hand over information from one test process to another, you need to have them in one test plan.
A Test Process represents a business process and is a set of one or more process steps.
• Standard Test Process: Standard processes are owned and updated by SAP. You can't edit a standard
test process.
• Custom Test Process: Custom test process can be created by either copying from Standard process or
by creating a new one according to your business needs. They can include standard and custom process
steps.
An action is a user action performed on the application under test. Possible actions are Input, Click, Select,
Search and so on.
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 40
2B: Test Your Processes
Create a test plan
For an already executed test plan, following updates can be done by editing a Test plan-
1. Change Test plan name
2. Delete a Test Plan
For a Non-executed test plan, following updates can be done by editing a Test plan-
1. Change Test plan name
2. Add/delete test processes
3. Delete a Test Plan
NOTE: Instead of exchanging the test data in “manage your test processes”, we recommend to use the data variant on test
plan level (on test your processes).
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 47
2D: Test Your Processes
Create/ Edit data variant
Create new Data variant-
• On creation of test plan a
default variant is created by
default.
• On clicking the add new icon, a
new variant can be created.
• On clicking the copy icon, a
copy of an existing variant can
be created.
• On clicking the delete icon, a
variant can be deleted.
• On clicking the download/
upload icon, a data variant can
be download/ uploaded.
A data variant can be edited in an
offline excel and then uploaded
back to the system.
▪ Further Information
With Catalog Role ‘SAP_BR_ADMIN_TEST_AUTOMATION’ all four test automation tool apps are accessible.
Open “Analyze Automated Test Results” App.
▪ Further Information
1. Go to Post-upgrade
Tests tab (under test
your processes app).
2. Click on ‘Consent for
Post upgrade test’
icon.
3. And then click on
confirm if you want
SAP owned tests to be
executed after the
upgrade.
4. After consent, if you
want to withdraw from
SAP owned tests then
again click on
‘Consent for Post
upgrade test’ icon and
click Withdraw.
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 59
SAP owned tests – Where to Find Test Results
• Progress indicator
▪ Further Information
With Catalog Role ‘SAP_BR_ADMIN_TEST_AUTOMATION’ all four test automation tool apps are
accessible.
Open “Test Data Container” App.
For more information on Test Data Container, see the blog page and help portal page.
• Template to create a test data container is available for various business areas, such as
Finance, Sales, Sourcing and Procurement, and Manufacturing.
• Changes made to the standard test data container and its fields are now visible in the Change
History window.
• Customers can download the test data container in the Microsoft Excel format.
• The downloaded test data container can also be uploaded in the Test Data Container app to
create or modify a test data container.
• In addition to tracking down the related test plan and test process, customers can navigate to the
respective test plans and test processes through the hyperlinks provided in the Where-Used
List.
• Rename the duplicate aliases of the functional fields while creating or editing a test data
container.
▪ Further Information
• Manage Your Test • SAP Best Practice • Test Automation Tool Set • Podcast
Guides
Blogs
Recordings
Other Links
Process User guide Automates Up
• Test Your Process User • SAP Note • BP Automated Testing
Guide • JAM Page Access Part 1
• Analyze Automated Test • SAP Best Practice • BP Automated Testing
Result User Explorer Part 2
• SAP S/4HANA Cloud • Frequently Asked • Regression Testing
Tutorials (SAP Customer) Questions Needed What How
• Test Your SAP S4HANA
Cloud Software
• Test Automation Still Too
Much Effort For
Regression Testing in
SAP S4HANA Cloud
Issue – All test cases seem to deliver errors (relevant for first time usage)
All test cases that I want to run deliver errors. Most errors are “master data not found”. This might happen, if you want to run a
standard use case without having done any changes yet. This happens only during first time usage of a test process.
Possible root cause
The standard test automats are delivered with demo data (organizational data, accounts, etc.). This demo data is not available in customer
systems.
• The demo data needs to be adapted to customer specific master data. We recommend to exchange the data via own data variants in “Test
your processes” application.
Issue – Manage your test processes or recording functionality does not work properly
Possible root cause
You are using another browser than Chrome. Please be aware that currently, only Chrome Browser is fully supported.
You did not click into the fields that you want to record, the recording functionality does not capture keyboard entries.
www.sap.com/contactsap