End to End Integration Testing of SAP Solutions

Automated Testing using eCATT

Application Lifecycle Management Active Global Support (AGS) SAP AG

E2E Integration Testing of SAP Solutions Type of Change Test Scope Identification New SAP Solution Business Blueprint Test Planning Test System Setup Test Execution Apply Changes to Production SAP Solution Update Change Impact Analysis Test Capabilities Solution Manager Business Blueprint Setup of business process catalog Business requirements Solution Manager Test Workbench Test planning Solution Manager Test Workbench Manual testing Automated Tests Solution Manager Business Process Change Analyzer * Identification of processes affected by code / customizing changes SAP TDMS Setup of lean test systems Solution Manager eCATT Admin of automated tests UI based Tests QTP Test Partner QTP Application-logic Tests eCATT * Availability with SAP Solution Manager 7.0 EhP1 © SAP 2008 / Page 2 .

Browser. Desktop Applications © SAP 2008 / Page 3 . Service Testing. e.The Extended Computer Aided Test Tool (eCATT) The Extended Computer Aided Test Tool (eCATT) Successor of the Computer Aided Test Tool (CATT) Functional Test Tool for SAP Applications Shipped with SAP NetWeaver (Web AS 6. Database) Mechanisms for Test Data Storage that allow extended Reuse of Test Data Mechanisms for System Access that allow Reuse of Test Resources in multiple Systems and System Landscapes Integration of external Tools (Certification Process) for extending reach to non-SAP Applications. Application Server.g.20 and higher) Integrated with the SAP Solution Manager & Test Workbench It provides Testing of complex Business Process Scenarios Advanced Functionality to test Backend Business Logic Access to all Layers of the SAP System Architecture (Frontend.

E2E Integration Testing of SAP Solutions eCATT Test Automation Test Automation of SAP Business Processes via eCATT Business Processes Sales Order Delivery & Shipment Billing & Payment Receipts Return & Complaint Handling eCATT Test Automation Import eCATT Script 1 Parameter eCATT Script 2 Parameter eCATT Script 3 Parameter eCATT Script 4 included in 1 Test Configuration Test Data Container SAP System Landscape Landscape 1 (Dev) Landscape 2 (Test) … CRM Test 22 CRM Test R/3 Test 22 R/3 Test ERP Test 22 ERP Test CRM Dev 11 CRM Dev R/3 Dev 11 R/3 Dev ERP Dev 11 ERP Dev Strengths Testing of complex business process scenarios like Order-to-Cash and Procure-to-Pay Advanced functionality to test backend business logic (function modules. result comparison with previous runs. SOA services. test result verification at SAP table / database level. …) Central definition via SAP Test Workbench combined with execution in distributed systems Central repository for test data © SAP 2008 / Page 4 .

eCATT Test Automation Automated Tests for non-SAPGUI using HP QTP Test Design Launch eCATT and call HP QTP Record non-SAPGUI application via HP QTP + save script within eCATT Test Execution Work Center „Test Management“ User executes assigned Tester Worklist Test Worklist: Execution of eCATT Test Configuration eCATT executes HP QTP script QTP scripts executes non-SAPGUI application eCATT & QTP Test logs © SAP 2008 / Page 5 Test Workbench: Test result reporting Manual tests Automated eCATT / HP QTP tests .

…) to be supported by test tools Composite Processes and Applications eCATT Test Configuration WebServices Calls Application Landscape Decoupled UI from back-end allows decoupling of test activities High potential for automated regression testing of Web-Services without UI SAP ERP Product Data Management Sales Order Processing SAP CRM Lead Processing Opportunity Processing SAP SCM Demand Planning Service Parts Planning SAP HCM Packaged Solutions and Deployment View © SAP 2008 / Page 6 Personel Administration Payroll Processing Functional and Process Component View .E2E Integration Testing of SAP Solutions Test aspects of SOA based Composite Applications Composites Higher flexibility and faster application lifecycle lowers potential for automated testing (Effort Benefit Ratio) Different UI technologies (Web Dynpro. Adobe Forms.

E2E Integration Testing of SAP Solutions Testing a Service enabled Business Process using SAP eCATT eCATT Test configuration Test Data Containers Test Variants Test Parameter Test Scripts Webservice Calls Backend System Web Customer Product Customer Name Customer Name Product Name Product Name Quantity Quantity Expected price Expected price Import Export Import Export Import Export Import Export Import Export Import Export Step 2 Step 3 Step 4 Step 5 Step 9 Check Services Find Customer View Customer Details Find Customer spec.sdn. Products Create Sales Order *Details on: https://wiki. Products Read/Update Customer spec.sap.com/wiki/display/ESpackages/Order+to+Cash © SAP 2008 / Page 7 .

SAP Solution Manager Launch of automated tests via Work center Test Management Work Center: Role-specific entry point for all test related activities Test Coordinator Quality Expert Tester VP of QA Status Reporting © SAP 2008 / Page 8 .

SAP Portal. … SOA Backend Application Server BC Sets eCATT ABAP Objects Function Library & BAPIs Dynpro based UI Backend Database Table operations Data Table Cust. Table © SAP 2008 / Page 9 .eCATT Test Coverage – Technology & Tiers Frontend Web Dynpro SAP GUI ? SAP CRM Web-UI.

Autoreset after test execution. especially for negative tests Integration of 3rd party tools HP QTP Compuware TestPartner © SAP 2008 / Page 10 Business Logic Tests Functional and regression tests of complex Business Process Scenarios like Order to Cash Configurable and automated Test Script selection by SAP Release and Support Pack level to check SP dependencies Business Logic tests without User-Interface SOA web-services Function Modules and BAPIs Mass Testing Suitable to handle very high volumes of automated tests Handling of distributed system landscapes Central repository for eCATT test cases and SAP system assignments Test Configurations allow execution in complex system landscapes Fast switching between system landscapes (Dev Test) Archiving of test logs eCATT script distribution via SAP transport system High throughput via scheduled overnight mass tests for non-UI based tests Verification of test results at SAP table level directly after document postings .E2E Integration Testing of SAP Solutions Feature Highlights of SAP Solution Manager eCATT eCATT Specialties Test Data Management via flexible test data container Set of specific customizing entries to check effects on business processes. Store & Compare allows result comparisons between multiple test executions Message handling allows configurable activities after warnings / errors.

Integration of 3rd Party Tools HP Quicktest Professional Compuware TestPartner © SAP 2008 / Page 11 . also for negative Tests eCATT allows to set specific Customizing Entries to check Effects on Business Processes. An Auto-reset will be done after Test Execution.eCATT – Some Highlights (1) eCATT Specialties Test Data Management via highly flexible Test Data Containers Versioning: Automated Test Script and Test Data Selection according to Application Component. Release and Support Package in the System Under Test and/or according to Business Functions in the System Under Test Message Handling allows configurable Activities after Messages.

eCATT – Some Highlights (2) Business Logic Tests Functional and Regression Tests of complex Business Process Scenarios Tests on UI Level SAP GUI for Windows SAP GUI for Java Business Logic tests without User-Interface Planned: Web Dynpro ABAP Web Dynpro Java eSOA Web Services Business Objects Function Modules/ BAPI’s ABAP Objects and plain ABAP Verification of Test Results on SAP Database Level © SAP 2008 / Page 12 .

eCATT – Some Highlights (3) Mass Testing eCATT is suitable to handle very high Volumes of automated Tests Handling of distributed System Landscapes Central Repository for eCATT Test Cases and SAP System Assignments Test Configurations allow Execution in complex System Landscapes Easy and fast Switching between System Landscapes by just one simple change before execution Archiving of Test Logs Distribution of eCATT Objects via SAP Transport System High Throughput via scheduled overnight Mass Tests © SAP 2008 / Page 13 .