Upload
nguyenbao
View
224
Download
1
Embed Size (px)
Citation preview
Juni 2016 Test Management in SAP Solution Manager 1
Whitepaper
© KaTe GmbH, Stuttgart, Juni 2016
Testmanagement with the SAP Solution
Manager by KaTe
Juni 2016 Test Management in SAP Solution Manager 2
Single Source of Truth (SSoT)A central tool for all transaction-based processes? And systems
SAP ChaRM und Testmanagement seamlessly integrated
SAP Application Lifecycle Management (ALM) + Project Management integrated ITIL-conform
External Applications: Complete testing of cross technology business processes
Manual and automatic testingwithin a system
Increased test coverage
More security by reproducibility of errors
Reduction of the testing effort up to 40-80%
The Motivation for your integrated Test Management
Test Management with the SAP Solution Manager
Juni 2016 Test Management in SAP Solution Manager 3
Agenda
Test Management in SAP Solution Manager
Test Case Assignment / Test Scope
1. Create test cases
2. Define test cases on a transaction basis
3. connect test cases with Requests for Change
4. Reduce test scope: Business Process Change Analyzer
5. „TBOMs“: Reproduce business processes technically
6. BPCA & TBOMs: Integrated Test Management
Test Planning
1. Test plan, test packages & tester asignment
2. Workflow release in SAP Solution Manager
Test Execution
1. Test execution with Work Center
2. Direct insertion of screenshots in test results
3. Test reporting in SAP Solution Manager
4. Test reporting: Added value integrated test reporting
Test AutomatiFramework
1. Benefits
2. Automation with the Component Based Test Automation
3. Automation with the Extended Computer Aided Test Tool
Juni 2016 Test Management in SAP Solution Manager 4
Test Management in SAP Solution Manager
End-to-End Testing with the SAP Solution Manager
Demand Deployment
problems /questions:
• Which critical business processes are
affected by a change request?
• What should I test?
• How can I reduce the testing effort?• How do I inform the tester about the release
of the test? • Which benefits provides a test automation?
Test Case Assignment /
Test ScopeTest Planning Test Execution
• Support Packages
• Enhancement Packages
• Customizing Changes
• Custom Code• Business
Functions• …
1. Business Blueprint
2. Change Impact Analysis
Test Reporting
Juni 2016 Test Management in SAP Solution Manager 5
Test Management in SAP Solution Manager
End-to-End Testing with the SAP Solution Manager
Demand Deployment
Test Case Assignment / Test Scope:
1. Create test cases2. Define test cases on a transaction basis 3. Connect test cases with Request for Changes4. Reduce test scope: Business Process Change
Analyzer5. „TBOMs“: Reproduce business processes technically6. BPCA & TBOMs: Integratet Test Management
Test Case Assignment /
Test ScopeTest Planning Test Execution
• Support Packages
• Enhancement Packages
• Customizing changes
• Custom Code• Business
Functions• …
1. Business Blueprint
2. Change Impact Analysis
Test Reporting
Juni 2016 Test Management in SAP Solution Manager 6
Create test cases and assign business processes
1. Create Business ProcessesThe business processes are technically definitely defined on the bassis of transaktions (TA).
4. Describe a test case individuallyOptional: Existing test case descriptions in the Business Process Repository are assigned automatically.
Test Case Assignment / Test Scope
12
3
4
2. Tab test cases: Create / assign test casesThe test cases are linked to the business processes
3. Select Different Test Case Typese.g. eCATT - Test configuration, external applications
TA: SOLAR01/SOLAR02
Juni 2016 Test Management in SAP Solution Manager 7
Defining test cases on transaction basis
3. Automatically Supplied TransactionsWhen defining the business processes associated transactions are automatically included
4. Assign more Transactions and ProgramsFurther technical objects can be assigned individuall<
2. Execute TransactionsTransactions can be verified and skipping into the concrete SAP test systemes can be carried out
Test Case Assignment / Test Scope
1
2
3
41. Tab Transactions: Connecting test cases with transactionsThe test cases are determined on the basis of transactions
TA: SOLAR02
Juni 2016 Test Management in SAP Solution Manager 8
Connect test cases with Requests for Change & Incidents
Test Case Assignment / Test Scope
1
21. Tab Service Messages: Connect test cases with Request for Changes (RFC), incidents, etc.The test cases can be linked to RfCs, incidents and numerous other operations
2. Select transaction typeThe process types can be more specified on the second level
TA: SOLAR01/SOLAR02
Juni 2016 Test Management in SAP Solution Manager 9
Affected processes transactions, …
and identify test cases!
Change Request
Test System
Reduce Test Scope: Business Process Change Analyzer
1. A demand triggers an RfC -What do I have to test?Which processes are affected by my RFC?
2. To run the Business Process Change Analyzer (BPCA) The BPCA determines the change impact and identifies the affected processes.
3. Reduce test scope of the test plan (Risk based test scope optimization)A test plan can be generated that is tailored to the processes affected by the change request.
Test Case Assignment / Test Scope
1
2
3
generate test plan Significant reduction of test
coverage to 40 - 70%
TA: SOLAR_TESTPLAN
Juni 2016 Test Management in SAP Solution Manager 10
Example values for a test coverage reduction at an SAP EHP Deployment
EhP Deployment with approx. 180.000 changed SAP objects
Without BPCA:• 46 process steps to test• 73 test cases• 132 hours test execution
With BPCA:• 46 process steps to test• 32 test cases • 52 hours test execution
Quelle: SAP 2014
Example: test scope reduce with BPCA
Test Case Assignment / Test Scope
Reduce test coverage to 61%!
Juni 2016 Test Management in SAP Solution Manager 11
„TBOMs“: Map business processes technically
2. Analysing business processesBased on TBOMs can analyse what processes are affected by an RFC of BPC. Identify relevant test cases
TBOMs:The "Technical Bill Of Material" is a "Technical BOM" which technically maps a process step:• Called transactions• ABAP Codes (Function modules, …)• UI: Dynpro 1000, …• Customizing tables, Master Data
Test Case Assignment / Test Scope
1
2
1. Start TBOM recorder and execute business processThe business process is technically accurately identified and documented.
Juni 2016 Test Management in SAP Solution Manager 12
BPCA & TBOMs: Integrated Test Management
1. Select BPCA Type The BPCA analyses different types of RfCs:• Support Packages• Enhancement Packages• Business Function Activation• Transport Requests• Object Lists• Change Transactions
2. TBOMs evaluatingThe TBOMs are assigned to the process steps, transactions, and test cases. They can be evaluated and processed.
Test Case Assignment / Test Scope
1
2
TA: SM_WORKCENTER
TA: SOLAR_EVAL
ENTIRE integration of business processes, transactions and test cases!
Juni 2016 Test Management in SAP Solution Manager 13
Test Management in SAP Solution Manager
End-to-End Testing with the SAP Solution Manager
Demand Deployment
Test Planning
1. Test plan, test package & tester mapping Test scope optimized with BPCA!
2. Workflow release in the SAP Solution Manager
Test Case Assignment /
Test ScopeTest Planning Test Execution
• Support Packages
• Enhancement Packages
• Customizing changes
• Custom Code• Business
Functions• …
1. Business Blueprint
2. Change Impact Analysis
Test Reporting
Juni 2016 Test Management in SAP Solution Manager 14
Test Plan, Test Package & Tester Assignment
Test Planning
1
2
2. Creating test plans within the test packages.
3. Assign test packages to testers.Setting of optional sequences
1. Creating test plans on a blueprint basis.
Test scope with BPCA reduced!
3
TA: STWB_2
TA: SM_WORKCENTERTA: SOLAR_TESTPLAN
Juni 2016 Test Management in SAP Solution Manager 15
Workflow Relase in SAP Solution Manager
Test Planning
1
2Automatic email notifications and workflow releaseTesters will automatically be informed whenever test packages and test cases are released for testing. Individual release schemes can be installed.
1. Select Release Scheme
2. Tester receives email alertLinks to the test package and test execution are supplied.
Juni 2016 Test Management in SAP Solution Manager 16
Test Management in SAP Solution Manager
End-to-End Testing with SAP Solution Manager
Demand Deployment
Test Execution1. Test execution with the work center2. Direct insertion of screenshots in test results3. Test reporting in SAP Solution Manager4. Test reporting: Added value - Integrated Test
Reporting
Test Case Assignment /
Test ScopeTest Planning Test Execution
• Support Packages
• Enhancement Packages
• Customizing changes
• Custom Code• Business
Functions• …
1. Business Blueprint
2. Change Impact Analysis
Test Reporting
Juni 2016 Test Management in SAP Solution Manager 17
Test Execution with the Work Center
Test Execution
2
2. Start and manage test cases
3. Execute test cases on transaction basisTransaction can directly be started and test case be executed in the SAP test system.The test case discription is being displayed and the tester is documenting and evaluating the test.
1. Tester WorklistIn the work center, the tester has a clear access to its test packages and test cases. Incidents and RfCs can be viewed and allocated.
Tester will be informed by Workflow about releases of tets zu be executed.
4. Connection with incidents and RfCsIncidents can be created and RfCs connected out of the test case.
1
4
TA: SM_WORKCENTER
TA: SM_WORKCENTER3
Juni 2016 Test Management in SAP Solution Manager 18
Direct Insertion of screenshots in Test Results
Test Execution
11. Create test noteThe tester applies a test note. He can create a new document, upload a file, or copy the test description.Best Practice: Copy the Word-/Excel-/Power Point test description and use it as a template.
2. Create screenshots and paste them in the test case in an MS Office document.
2
TA: SM_WORKCENTER
3. Screenshots are inserted automatically on automated tests
SCREENSHOT
No upload necessary!
Juni 2016 Test Management in SAP Solution Manager 19
Test Reporting in SAP Solution Manager
Test Execution - Test Reporting
Numerous Reports
The SAP Solution Manager offers and provides a large amount of individually adjustable reports suchas:• Gap Analysis, testing on test plan
consistency• Testing effort• Test case coverage• Test status• Test progress• Incident / Support message Report• Dashboards• Business Warehouse (BW) Reporting• …
TA: SOLAR_EVAL
TA: STWB_2
Juni 2016 Test Management in SAP Solution Manager 20
Value Addes Integrated Test Reporting
Test Execution - Test Reporting
12
2. Start of TransactionsThe test case associated transactions are visible and can be started directly.
3. Incident connectionsThe associated incidents are listed and can be called.
1. Test Case Descriptiontest case description can be called out of the status analysis
3
Status Analysis Example One of many status reporting capabilities in the integrated system of the SAP Solution Manager
TA: STWB_2
Juni 2016 Test Management in SAP Solution Manager 21
Test Management in SAP Solution Manager
End-to-End Testing with SAP Solution Manager
Demand Deployment
Test Case Assignment /
Test ScopeTest Planning Test Execution
• Support Packages
• Enhancement Packages
• Customizing Changes
• Custom Code• Business
Functions• …
Test Automation Framework(eCATT, Component Based Test Automation (CBTA), etc.)
Test Automation Framework
1. Benefits2. Automation with Component Based Test
Automation3. Automation with Extended Computer Aided
Test Tool
Juni 2016 Test Management in SAP Solution Manager 22
Benefits with the Test Automation Framework
Test Automation Framework
The test automation framework of SAP Solution Manager supports a wide range of processes of test management
Integrated test automation framework, Remote Function Call (RFC) connections do not have to be specially created
Automatic import of transactions in the test cases
Test Design
Test Execution
Test ResultAnalysis
AcceleratedRepair
Faster testing More security Reducing test scope Higher test coverage Less mistakes Reducing manual testing Cost savings Increased process stability Reducing complexity
• Seamless integration of SAP tools and partner toolsZentrale
• Central administration of the test system
• Workflow between Test and Test Engineer
• Comfortable error analysis and implementation of test repairs
• Comfortable start from the Work Center
• Scheduling for unattended test execution
• Unified environment for manual and automatic text analysis
• Integration of partner reports
Juni 2016 Test Management in SAP Solution Manager 23
Automation with the Component Based Test Automation
Test Automation Framework
1. Execute and record business scenariosThe subject matter expert uses the test creation assistent to record the business processes.
2. Create automated test cases with the test creation assistentThe test creation assistent analyzes the business process and create a test case.The test case is associated with the business process.
Creation of automatic tests with Component Based Test Automation (CBTA)
1
2
TA: SOLAR02
Juni 2016 Test Management in SAP Solution Manager 24
Automation with the Extended Computer Aided Test Tool
Test Automation Framework
Extended Computer Aided Test Tool (eCATT):
With eCATT automatic reusable test cases can be created and executed. The test cases keep the reference to the blueprint.
Functionality of eCATT:• Creates test cases automatically• Executes test cases• Automatic import of transactions in the test cases• Plausibility check for target system included• Interfaces for third-party tools• Tests of transactions, reports and scenarios• Test of remote systems• Verify permissions• Test updates (database applications, user interface)• Tests of the effect of changed customizing settings• Check system messages• Building new master data• Processing of mass data
TA: SOLAR02
TA: SECATT
Reducing testing effort by up to 80%
Juni 2016 Test Management in SAP Solution Manager 25
Test Management in SAP Solution Manager
End-to-End Testing with SAP Solution Manager
GmbH
Joachim Knecht (Dipl.-Inf.)Senior Project Manager GPM IPMA Lvl BSAP Certified Associate Project Manager
Kontakt: [email protected]