Bipasa Infosys

Embed Size (px)

Citation preview

  • 8/8/2019 Bipasa Infosys

    1/12

    SAP Business Process Automation: A Unique Differentiation

    STEP AUTO EVENT 2008

    Abhik Kar (Business Analyst)Bipasha Das (Business Analyst)

    Infosys Technologies Ltd.

  • 8/8/2019 Bipasa Infosys

    2/12

    SAP Business Process Automation: A Unique Differentiation 2

    Table of Content

    SAP Business Process Testing Space

    Scope of the Paper

    Challenges in SAP Testing

    SAP Automation with a Difference

    Business Benefits

    A Case in Point

  • 8/8/2019 Bipasa Infosys

    3/12

    SAP Business Process Automation: A Unique Differentiation 3

    Business Process Changes

    Within Company

    Business Changes

    Customer Applications

    Other Applications

    Integration Platforms

    Sarbanes Oxley

    Regulatory Compliance

    Internal Compliance

    Support Packs

    SAP

    Upgrades

    Disaster Recovery

    System Environment

    Hardware, Database Changes

    SAP Business Process Testing Space

    Frequent upgrades

    Enter cycle of RegressiontestingTest critical businessprocesses

    Market pressure deadlines

    Extensive functional testingTest CoverageImpact: Interruptions tobusiness engagements

    High PriorityFunctional and Regressiontesting

    AvailabilityPerformanceEnd-to-end integrationtesting

  • 8/8/2019 Bipasa Infosys

    4/12

    SAP Business Process Automation: A Unique Differentiation 4

    Scope of the Paper

  • 8/8/2019 Bipasa Infosys

    5/12

    SAP Business Process Automation: A Unique Differentiation 5

    Challenges in SAP Testing

    Manual Testing Challenges1 Automation Testing Challenges2

    Enormous Testing Time Requirement

    Risk of low test coverage

    Compliance and Regulatory Risk

    Integration Testing Risk

    Consequence of Change Request

    Higher Total Cost of Ownership

    Unstable and without reusability

    Synchronization issues

    Handling Exceptions

    Maintenance Overhead

    Requires advanced technical skills

    Complexity of testing tools

  • 8/8/2019 Bipasa Infosys

    6/12

    SAP Business Process Automation: A Unique Differentiation 6

    SAP Automation with a Difference - The Framework

    HYBRI

    D

    FRAMEWORK

    Keyword Driven

    Data Driven

    Define keywords/ actionsBuild automation blocks

    Same script usedmultiple times

    No hard coding of data

  • 8/8/2019 Bipasa Infosys

    7/12SAP Business Process Automation: A Unique Differentiation 7

    Business Expert Automation expert

    Analyze test cases

    Identify keywords

    Model UI/ Business process andTest Cases

    Enhance Keyword Library

    Create Object Repository

    Associate Repository withalready modeled Test cases

    Generate Scripts

    Execute Script

    SAP Automation with a Difference The Methodology

  • 8/8/2019 Bipasa Infosys

    8/12SAP Business Process Automation: A Unique Differentiation 8

    SAP Automation with a Difference - Edge

    Handling Exceptions Reusable Blocks Data Parameterization

    Example of a Recovery

    Scenario:

    Transaction: MIRO

    Exhaustive keywords and

    functions designed to recover

    from such unexpected events

    and errors

    Pass data at run time

    Same script different data

    sets

    Reusability Enhanced

    Login : Login to the SAP

    client

    T-Code 1 :

    .

    .

    .

    T-Code N :

    Logout: Logs out of the

    SAP client

    Identify >> Create>> Reuse

    T-CodeCompanyCode

    PurchOrg Plant Material

    M E2 1N 10 0 0 E S0 1 4 0 0 0 M a te ria l1

    M E2 1N 2 0 0 0 E S11 6 0 0 0 M a te ria l2

  • 8/8/2019 Bipasa Infosys

    9/12SAP Business Process Automation: A Unique Differentiation 9

    Business Benefits

    Critical Parameter Traditional Way New Age Way

    Time to break even Longer Estimated to be in less than 3 release

    Business Abstraction Not possible Ensures separation of the Business and Application layers

    Reusability Limited Extensive

    ChangeManagement

    Incorporating changes isdifficult

    Incorporates changes easily

    Error HandlingMechanism

    Comparatively less user friendly

    User friendly error messages are displayed. Screenshots can be

    taken at the point-of-failures.

    Division of Labor Not Possible Possible due to use of logical Names. This enables automation

    experts and business testers to work in parallel.

  • 8/8/2019 Bipasa Infosys

    10/12SAP Business Process Automation: A Unique Differentiation 10

    Business Benefits

    Nature of Change Impact Mitigation in

    traditional automation

    Mitigation in New age automation

    Change in SAPBusiness Process

    Addition/removal of transactions or changein the sequence of transactions

    Update all test scriptsaffected by the change

    Modify the Test case definition andregenerate the scripts at the click of abutton. Changes will be reflected to all thescripts pertaining to the business process.

    SAP Hot Patches New patches are releasein SAP withnew/modified transaction

    Analyze impact andModify each script for the deleted/ modified/added script

    Only add/ modify/ disable an action andregenerate script to get the changesreflected

    Change infunctionality

    A transaction mightundergo change in

    functionality where aparticular feature may bedisabled/modified or added

    Analyze impact andmanually edit the scripts

    which use the changedscreens/controls andthis needs to bemanaged by the testautomation experts

    Additional screens/controls are modeledand associated with business process by

    the business tester and change will reflectin all scripts once regenerated

    Version Upgrades New vers ions arereleased with upgradedSAP business process

    Significantenhancements to scriptneeded

    Easy enhancements to scripts

  • 8/8/2019 Bipasa Infosys

    11/12SAP Business Process Automation: A Unique Differentiation 11

    A Case in Point

    Client Profile The Client, a leading international retail brand, was going for a global rollout of SAP and required to perform automatedtesting of critical integration business processes for one of their clusters - to test the flow of messages through various subsystems in an automated manner as manual testing was time consuming and repetitive in nature.

    Business Case Challenges

    Complex business process

    Testing knowledge limitedto few business experts.

    Updating the manualdocumentation side by sidewith the automated scripts

    Dependency onautomation expertise toextend automation

    The SolutionInfosys proposed to automate the manual test cases using

    the above SAP business process testing methodology toenable creation of maintainable test scripts in a fas ter manner.

    Infosys team adopted the following approach to meet theengagement objectives:

    Analyze the test cases and the sample testscripts provided to define the Businessprocesses.Model the business process objects for theapplications using solution User InterfaceDevelop the keyword functions that arerequired to achieve complete automation of thetest cases in scopeGenerate Test Scripts using Solutions scripting

    EngineDevelop system for automated execution of the generated scripts

    The Results

    The solution offered the followingbenefits to client:

    Maintainable automated test scriptsin short span of timeLower cost because of potentialsavings in effort because of theusage of the solutionHighly structured and detailed levelof test case script generation for themanual test casesEase of future maintenance of thetest cases using the Solutionframework.The saving in effort for key activities

    that was achieved by the client isenlisted below.

    Activity Savings in Effort

    Design and Development of test Automation framework based on Business Component Driven approach 30%

    Test case Scripting 50%

    Future Maintenance of Test suite 50%

  • 8/8/2019 Bipasa Infosys

    12/12SAP Business Process Automation: A Unique Differentiation 12

    Thank You !