You are on page 1of 37

Testing SAP

SAP Quality Center / SAP Loadrunner


TDMS

Oscar Trompé
Change is a Fundamental Principle – Testing is a necessity

There are many changes in the solution life cycle


- and every change requires testing

Test effort
Business inspired changes
Mergers and Acquisitions
Continuous Improvements
Functional Upgrades

IT inspired changes
Technical Upgrades
Support Packages
Business inspired IT inspired
Notes changes
changes
...
Deliver the Business Value:
The Challenge

Business
Needs

Expected
Generated
Result
Requirement

Project Quality

Operational Costs
Actual
Result

IT projects are delivered over-budget


50%
IT projects fail to meet objectives Gartner
Testing today is a bottleneck for business agility

Customer Testing Pain Points

Creation of automated test cases is


1 Test Automation time consuming and expensive to maintain
requires special skills by QA Specialists

Change Impact Analysis Which critical Business Processes are affected by Change
2 Event, e.g. SAP Support Package?
Automated test cases get damaged by Change Event and
need time consuming repair by QA Specialist

3 Test Data Management Test Systems with outdated test data


Productive System copy is too expensive and labor intensive
Creation of appropriate test data for automated test cases

4 Compliance with Regulations Change Event: Which critical Business Processes and
Internal Controls are affected?
What needs to be retested and documented?
How to test affected areas in an efficient and reliable way?
SAP Quality Center

Foundation for Effective Quality Management


Ensure early visibility into
application changes
Reduces risk and shortens
testing cycles

Digitize a process
Install “quality gates” for
changes and patches

Leverage a single system of


record
Automatically generate
required testing
documentation and reports

Requirements Quality Assets Quality Testing Defects


SAP Quality Center Modules

Requirements
– Used to show progress and coverage of testing
– Links defects to specific business or technical need

Business Components
– Used to create and maintain Business Components
– TAO Content

Test Plan
– Used to store and organize tests
– Central repository for automated and manual tests

Test Lab
– Used to organize groups of tests into Test Sets

Defects
– Track defect progress and resolution

Dashboard
– Real time KPI overview
Full Integration into the SAP Solution Manager Application
Management Platform

SAP Solution Manager adapter for SAP Quality Center by HP


is more than just an interface between Quality Center and SAP Solution
Manager – it is a full integration of people, processes and data

SAP Quality Center by HP


SAP Quality Center by HP
extends SAP Solution
Manager with its testing
capabilities
Perfectly integrates with the
other functional areas
Test
Knowledge Test
Management
Management Management

Project IMPLEMENT
Solution
Mgmt. Monitoring
SAP OPERATE

Solution
Manager

Knowledge Service
Transfer OPTIMIZE Desk

Change Service
Management Delivery
Detailed Capabilities

The SAP Quality Center by HP integration mitigates


risk, saves time and lowers cost

Automated Testing of
Web Interfaces
Enhanced Control
High Usability
Efficient Collaboration
SAP Test Acceleration & Optimization (SAP TAO)

Support Business Process Experts in a convenient


Procure to Pay
Mission way to create automated Test Cases for SAP Solutions
Order to Cash Highly automated testing of Business Processes
In-depth analysis of system change events and
Financial Closing
re-test recommendations
Scenarios

SAP 1. Fast, simple and highly-automated Test Case composition


Maintenance
2. Business Content to support comprehensive Test Cases
3. Change Impact Analysis and semi-automated Test Case adaptation
SAP R/3 – ERP
Upgrades 4. Fast setup of lean Test Systems and convenient planning of Test Execution Data
5. Sophisticated reporting and root-cause analysis
Compliance 6. Compliance Testing supporting SOX, FDA and other regulations
Testing
SAP TAO
SAP Quality Suite

Best-of-Breed
Integration
SAP Solution Manager

Test Data Management

Customer
CustomerSAP
SAPLandscape
Landscape
How to Create Automated Test Scripts?

Current Approach:

Scripting

Record & Replay

TAO Approach:

Drag & Drop

Business Process Level


SAP TAO: Accelerated Test Case Composition

SAP TAO Application


Upload test components to SAP Quality Center
Compose Test Cases

Run automated test


against SAP System

Automatically create test components

Customer SAP System


Background inspection of SAP Transactions for
SAP TAO Agent
test component creation

Transaction 1 Dynpro 100 Dynpro 120 Dynpro …

plus 80
Transaction 2
more
Transaction … Dynpros
Transaction 1xx
Approach to create Test Cases based on Test Components

1 Automatically create Test Components


Test Components were automatically created via inspection of SAP Transactions
Automatic import into SAP Quality Center module „Business Components“

SAP System Transaction ME21 Create Purchase Order


Dynpro 100 Dynpro 120 Dynpro …
TAO Agent

plus 80
more
SAP
SAP Data
Data Dictionary
Dictionary Dynpros
Approach to create Test Cases based on Test Components

2 Compose Test Case based on Test Components


Test Components were automatically created by SAP TAO
Automatic import into SAP Quality Center module „Business Components“
Approach to create Test Cases based on Test Components

2 Compose Test Case based on Test Components


Additional Test Components, e.g. SAP Logon
Approach to create Test Cases based on Test Components

2 Compose Test Case based on Test Components


1.step: Create Test Plan
Approach to create Test Cases based on Test Components

2 Compose Test Case based on Test Components


2.step: Compose Test Case out of SAP TAO created Test Components

drag & drop


Approach to create Test Cases based on Test Components

2 Compose Test Case based on Test Components


3.step: Schedule test
Approach to create Test Cases based on Test Components

3 Execute Test Case


Run test script: Initial screen of SAP Transaction ME21 „Create Purchase Order“
Approach to create Test Cases based on Test Components

3 Execute Test Case


Run test script: 2.screen of SAP Transaction ME21 „Create Purchase Order“
Approach to create Test Cases based on Test Components

3 Execute Test Case


Run test script: Result of SAP Transaction ME21 „Create Purchase Order“
Test result in SAP Quality Center

ME21: Document successfully posted Test result in SAP Quality Center


SAP Test Acceleration and Optimization – At a Glance

To fundamentally change the testing paradigm from


manual testing to “Testing by Composition” thereby
Why? significantly reducing the costs and risks for all system
Key Benefits
change events like upgrades etc
Lower risk due to better
testing coverage and
assurance
Comprehensive End to End Business Process Testing
Solution that (1) accelerates testing of your business
What? processes and (2) is fully aligned with ASAP and Solution Improved testing ROI
Mgr. Runs on top of SAP QC by HP suite from cycles

Install the solution and build test cases using (1) Bulk Increased capacity to
Generated components or (2) Components generated on absorb and manage
demand. Once created, these highly reusable components change
How? are easily composed to form test cases. These
components are maintained and managed in the QC
framework Tighter Integration with
QC and Solutions
Manager

Now!
When?
Jump start today through TAO implementation services
Building a Test Factory

Step 1 - PoC (Proof of Concept) Step 2 - Pilot project Step 3 – Test Factory
Industrialized testing & test
Solution evaluation Create automated regression on demand service
pack
Automated scripting process Automated script creation &
Define/streamline test execution on demand
Test automation maintenance
industrialized process for
Comparison against current testing testing
approach Create testing strategy
Return on investment analysis Calculate metrics

T0 T0 + 12-15 weeks
T0 +1-3 weeks
Step 2
Step1
What Is Automated Load Testing?

Emulates production workloads on an IT system

Simulated Internet/ Web Server App. Server Database


Controller
Users WAN

• Replaces real users with thousands of “virtual” users


• Generates accurate, measurable and repeatable load on the
system from a single point of control
• Pinpoints bottlenecks in the system
SAP Loadrunner
SAP R/3 Transaction & Layer Breakdown
SAP Test Data Migration
Server
TDMS carves out the business data and sends a reduced copy to
another system

Client-specific Migration
Business data is client-specific
A single TDMS run migrates
one source to one target client

Reduction Fast Data Transfer


Only a few tables need to be Uses Migration Workbench as
reduced since 10 -20% of client- proven technical basis
specific tables contain 80 – 90% Migrates data table-wise via RFC
of client data connections
All other tables (master data,
customizing data, custom-made
„Z“ tables) are migrated entirely
SAP TDMS – Solution Approach

Client DB Assumption

80 - 90% of the production data is stored in 10 -


20% of client-dependent tables
Data volume reduction

80% Transaction Data * In order to reduce the overall volume, only few
tables need to be reduced
All other tables (master and configuration data)
are migrated entirely
Customer-individual tables are transferred
10% Master Data * entirely or can be reduced via e.g. time criteria
Some tables are excluded from transfer by
7% Config. Data *
default:
3 % Admin- Data* – E.g. change documents, user tables, etc.
(customizable)
* Estimate based on project experience
Operational Rule: Time Based – Consistency

Process begins in
Data volume transferred in migration period
period of time
being migrated
Business Process II and it ends
afterwards
Business processes

Process starts
Business Process I and end in period
being migrated

Process starts
before period
!
i c al being migrated
ri t Business Process III
C and ends within
migration period

Migration Period

Time
Past Day of Migration
Technology / Architecture – “Snapshot/Cloning”

Prod Prod’ TDMS Target

Extract

P
write Snapshot
C

P‘
Everybody wants to save money.
Reduce your operational and infrastructure
expenditures.
Test Acceleration Solution Landscape

Client

SAP TAO
SAP Quality Center
SAP Solution Manager

Development System
ERP
ERP R/3
R/3 CRM
CRM …
… Test System
Production System
Customers SAP Solutions
ROI With TAO Solution – ROI In 2 Cycles Of Testing

TOTAL EFFORT (Hours) PER APPROACH


(Assumption: 35 Business Processes)
900 Manual
800
Aggregated Effort (hours)

700 QTP

600
SAP Test Accelerator
500
400
300
200
1 2 3 4 5 6 7 8 9 10
# of Test Cycles
SAP Test Accelerator
ROI with 2 test cycles
Questions??

65 5 December 2007 HP Software - Change and Configuration Center

You might also like