Upload
mohammad-ali-m-a
View
518
Download
2
Embed Size (px)
Citation preview
Testing SAP
SAP Quality Center / SAP LoadrunnerTDMS
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
Business inspired changesMergers and AcquisitionsContinuous ImprovementsFunctional Upgrades…
IT inspired changesTechnical UpgradesSupport PackagesNotes...
Test effort
Business inspiredchanges
IT inspiredchanges
Deliver the Business Value:The Challenge
GeneratedRequirement
ExpectedResult
BusinessNeeds
ActualResult
Project Quality
Operational Costs
IT projects are delivered over-budgetIT projects fail to meet objectives50%
Gartner
Testing today is a bottleneck for business agility
2
3
4
Customer Testing Pain Points
1 Test Automation
Change Impact Analysis
Test Data Management
Compliance with Regulations
Creation of automated test cases is
time consuming and expensive to maintain
requires special skills by QA Specialists
Which critical Business Processes are affected by ChangeEvent, e.g. SAP Support Package?
Automated test cases get damaged by Change Event andneed time consuming repair by QA Specialist
Test Systems with outdated test data
Productive System copy is too expensive and labor intensive
Creation of appropriate test data for automated test cases
Change Event: Which critical Business Processes andInternal 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
Requirements Quality Assets Quality Testing Defects
Ensure early visibility intoapplication changes
Reduces risk and shortenstesting cycles
Digitize a processInstall “quality gates” forchanges and patches
Leverage a single system ofrecord
Automatically generaterequired testingdocumentation and reports
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 ApplicationManagement Platform
SAP Solution Manager adapter for SAP Quality Center by HPis 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 HPextends SAP SolutionManager with its testingcapabilitiesPerfectly integrates with theother functional areas
KnowledgeManagement
TestManagement
ServiceDesk
ChangeManagement
ServiceDelivery
OPERATE
IMPLEMENT
OPTIMIZE
SAPSolutionManager
ProjectMgmt.
SolutionMonitoring
KnowledgeTransfer
TestManagement
SAP Quality Center by HP
Detailed Capabilities
The SAP Quality Center by HP integration mitigatesrisk, saves time and lowers cost
Automated Testing ofWeb InterfacesEnhanced ControlHigh UsabilityEfficient Collaboration
SAP Test Acceleration & Optimization (SAP TAO)
SAP TAOSAP Quality Suite
Customer SAP LandscapeCustomer SAP Landscape
SAP Solution Manager
Test Data Management
Procure to PayMission
Order to Cash
Best-of-BreedIntegration
Support Business Process Experts in a convenientway to create automated Test Cases for SAP Solutions
Highly automated testing of Business Processes
In-depth analysis of system change events andre-test recommendationsFinancial Closing
1. Fast, simple and highly-automated Test Case composition
2. Business Content to support comprehensive Test Cases
3. Change Impact Analysis and semi-automated Test Case adaptation
4. Fast setup of lean Test Systems and convenient planning of Test Execution Data
5. Sophisticated reporting and root-cause analysis
6. Compliance Testing supporting SOX, FDA and other regulations
SAP R/3 – ERPUpgrades
SAPMaintenance
ComplianceTesting
Scenarios
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 ApplicationUpload test components to SAP Quality Center
Compose Test Cases
SAP TAO Agent
Customer SAP System
Dynpro 100 Dynpro 120Transaction 1plus 80more
Dynpros
Dynpro …
Transaction 2Transaction …Transaction 1xx
Run automated testagainst SAP System
Automatically create test components
Background inspection of SAP Transactions fortest component creation
Approach to create Test Cases based on Test Components
TAO Agent
SAP System
SAP Data DictionarySAP Data Dictionary
Dynpro 100 Dynpro 120
Transaction ME21 Create Purchase Order
plus 80more
Dynpros
Dynpro …
1 Automatically create Test Components
Test Components were automatically created via inspection of SAP Transactions
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
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
Comprehensive End to End Business Process TestingSolution that (1) accelerates testing of your businessprocesses and (2) is fully aligned with ASAP and SolutionMgr. Runs on top of SAP QC by HP suite
What?
Install the solution and build test cases using (1) BulkGenerated components or (2) Components generated ondemand. Once created, these highly reusable componentsare easily composed to form test cases. Thesecomponents are maintained and managed in the QCframework
How?
Now!Jump start today through TAO implementation services
When?
To fundamentally change the testing paradigm frommanual testing to “Testing by Composition” therebysignificantly reducing the costs and risks for all systemchange events like upgrades etc
Why?Key Benefits
Lower risk due to bettertesting coverage andassurance
Improved testing ROIfrom cycles
Increased capacity toabsorb and managechange
Tighter Integration withQC and SolutionsManager
Building a Test Factory
Step 1 - PoC (Proof of Concept)
Solution evaluationAutomated scripting processTest automation maintenance
Comparison against current testingapproach
Return on investment analysis
T0 T0 +1-3 weeks
Step1
T0 + 12-15 weeks
Step 2
Step 2 - Pilot project
Create automated regressionpack
Define/streamlineindustrialized process fortestingCreate testing strategy
Calculate metrics
Step 3 – Test FactoryIndustrialized testing & teston demand serviceAutomated script creation &test execution on demand
What Is Automated Load Testing?
• Replaces real users with thousands of “virtual” users
• Generates accurate, measurable and repeatable load on thesystem from a single point of control
• Pinpoints bottlenecks in the system
Web Server App. Server DatabaseInternet/WAN
SimulatedUsersController
Emulates production workloads on an IT system
SAP Loadrunner
SAP R/3 Transaction & Layer Breakdown
SAP Test Data MigrationServer
TDMS carves out the business data and sends a reduced copy toanother system
Client-specific MigrationBusiness data is client-specificA single TDMS run migratesone source to one target client
Fast Data TransferUses Migration Workbench asproven technical basisMigrates data table-wise via RFCconnections
ReductionOnly a few tables need to bereduced since 10 -20% of client-specific tables contain 80 – 90%of client dataAll other tables (master data,customizing data, custom-made„Z“ tables) are migrated entirely
SAP TDMS – Solution Approach
Assumption
80 - 90% of the production data is stored in 10 -20% of client-dependent tables
Data volume reduction
In order to reduce the overall volume, only fewtables need to be reduced
All other tables (master and configuration data)are migrated entirely
Customer-individual tables are transferredentirely or can be reduced via e.g. time criteria
Some tables are excluded from transfer bydefault:– E.g. change documents, user tables, etc.
(customizable)
* Estimate based on project experience
7% Config. Data *
3 % Admin- Data*
80% Transaction Data *
10% Master Data *
Client DB
Data volume transferred in migration period
Operational Rule: Time Based – Consistency
Past Day of Migration
Bus
ines
s pr
oces
ses
Business Process III
Process startsbefore periodbeing migratedand ends withinmigration period
Business Process I
Process startsand end in periodbeing migrated
Critical !
Time
Migration Period
Business Process II
Process begins inperiod of timebeing migratedand it endsafterwards
Technology / Architecture – “Snapshot/Cloning”
C
TDMSProd Target
Extract
P‘
write SnapshotP
Prod’
Reduce your operational and infrastructureexpenditures.
Everybody wants to save money.
Test Acceleration Solution Landscape
CRMCRMR/3R/3
Customers SAP Solutions
Development System
Test System
Production System
ERPERP ……
Client
SAP Solution ManagerSAP Quality Center
SAP TAO
ROI With TAO Solution – ROI In 2 Cycles Of Testing
Manual
QTP
SAP Test Accelerator
# of Test Cycles
Agg
rega
ted
Effo
rt (h
ours
)
TOTAL EFFORT (Hours) PER APPROACH(Assumption: 35 Business Processes)
SAP Test AcceleratorROI with 2 test cycles
200
300
400
500
600
700
800
900
1 2 3 4 5 6 7 8 9 10
65 5 December 2007 HP Software - Change and Configuration Center
Questions??