Beruflich Dokumente
Kultur Dokumente
May 2015
Contents
Overview
The Journey
Show Me
Lessons Learned
• Unhappy customers
3
NZSUG – May 2015
The Journey
Run SAP like a factory with Solution Manager ?
4
NZSUG – May 2015
Overview
What is Component Based Test Automation (CBTA)?
• CBTA provides a platform for creating and executing test scripts
‒ Change analysis
‒ Test management
5
NZSUG – May 2015
Overview
What can we do with CBTA
We can use CBTA to test: We can execute tests:
‒ SAP Gui ‒ Individually
‒ SAP Business Server Pages (BSP) ‒ Collectively
‒ SAP CRM web client ‒ Live
‒ SAP ABAP Webdynpro (native only) ‒ Scheduled
‒ SAP java webdynpro ‒ Repetitively with imported data sets
‒ SAP web GUI (for html)
‒ SAP Portal
6
NZSUG – May 2015
How?
The Process
• Set up
‒ Build the process hierarchy with executables
‒ Set-up & schedule Tbom creation
‒ Create test scripts for the executables
• Execution
‒ Run a change analysis for a change
‒ Optimize the test scope to a manageable test set
‒ Build test plan/packages
‒ Assign to testers
‒ Execute tests
‒ Record results in test plan
7
NZSUG – May 2015
Context
The business process hierarchy
How do you do it?
The business process hierarchy links:
‒ Test script
‒ Documentation
‒ Transaction/Programme
‒ TBom
9
NZSUG – May 2015
Context
Change analysis with UPL
Solution Manager Managed System(s)
Executable Unit
Technical Objects
10
NZSUG – May 2015
Context
Optimising a test plan
11
NZSUG – May 2015
Context
Test execution
12
NZSUG – May 2015
Should we?
The decision to automate a test script or not?
Deloitte have created a framework that analyses whether a test script is a good
candidate for automation using criteria such as:
‒ Reusability
‒ Complexity to automate
‒ Other….
13
NZSUG – May 2015
Show Me…
Demonstration
Create a simple test script and assign to the business process hierarchy
• Create Asset
14
NZSUG – May 2015
Show Me…
Demonstration
Run a complex test script using a test data container
• Release Employee
15
NZSUG – May 2015
Lessons Learned
What we’ve found on the journey
• Building test scripts is like any other software development process. Tools like screen
recording help, but you need to:
‒ Understand the recording (component library)
‒ Have a framework to design and organise in place (e.g. naming conventions, library
of reusable patterns, design patterns etc)
• An initial investment to understand and learn the tool is required, it is not self-
explaining.
• Master Data must be accurate, before you can start running a script. This part must not
be under estimated.
• The test assessment should be done first to determine the effort against the value
delivered.
17
NZSUG – May 2015
Lessons Learned
What we’ve found on the journey
• Simple GUI processes are easier to script within CBTA.
• CBTA is still not perfect and contains some bugs (e.g. IF statement). There is still room
for improvement.
• Manual interventions are required for more complex scenarios using VB Scripting
18
NZSUG – May 2015
Questions