rsdc 2008 vinod

32
Engineering “Software Engineering” – The Astra Way ! Page 1 © Astra Infotech IBM Rational Software Development Konferenz The next generation is about to start… Test Automation of SAP Implementation Vinod Varma, Astra Infotech Pvt. Ltd. Holiday Inn München 4. - 5. September 2008

Post on 20-Oct-2014

791 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 1© Astra Infotech

IBM Rational Software Development KonferenzThe next generation is about to start…

Test Automation of SAP Implementation

Vinod Varma, Astra Infotech Pvt. Ltd.

Holiday Inn – München

4. - 5. September 2008

Page 2: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 2© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– Highlights

– The Process

– The Architecture

– Challenges and Solutions (Illustrative)

• Demo

Page 3: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 3© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– Highlights

– The Process

– The Architecture

– Challenges and Solutions (Illustrative)

• Demo

Page 4: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 4© Astra Infotech

Introduction

• About Astra

– The Software Engineering Company

– IBM Business Partner (Advanced)

– Services

• Software Engineering Consulting & Consulting

• IBM Rational tools implementation

• Outsourced Software Testing

– Documented case studies

• http://www-306.ibm.com/software/in/rational/astra_casestudy

Page 5: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 5© Astra Infotech

Introduction

• Why Astra?– Small but, highly skilled, focused and experienced team

– More than 20 years of industry exposure with more than 100 years of collective experience

– Experience from variety of applications, organization and verticals

– Team scalability though various internal academic initiatives

– A well balanced, demonstrated software engineering ecosystem in place

Page 6: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 6© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– Highlights

– The Process

– The Architecture

– Challenges and Solutions (Illustrative)

• Demo

Page 7: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 7© Astra Infotech

• About the Project

– Project involves

• Back office portal, for

– Maintaining information on

» Customer and

» Equipments with the customer

– Logging messages from customers, for services

– Assigning work orders for service engineers

• Mobile application used by service engineers

– Updating work progress

– Synchronizing with back office portal

Software Test Automation Project

Page 8: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 8© Astra Infotech

Software Test Automation Project

• A business process (Example)

– Placing a Work Order

• Select a customer

• Create or Select an equipment

• Create or Select a message

• Create a work order

Page 9: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 9© Astra Infotech

Software Test Automation Project

• A Scenario (Example)

– Placing a Work Order

• Login

• Search a customer by street and city

• Select a customer from the list

• Select an equipment with him

• Create a message

• Create a work order related to the message

Accomplishing this involve combination of test cases,

using specific set of data values

Page 10: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 10© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– Highlights

– The Process

– The Architecture

– Challenges and Solutions (Illustrative)

• Demo

Page 11: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 11© Astra Infotech

The Solution

• Test automation

– A testing project

– An automation project

Page 12: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 12© Astra Infotech

The Solution

• Test automation is a testing project

• Successful testing requires

– Testing with business perspective

– Testing

• As customers and users would

• Aligned with engineering principles

– Leveraging experience from industry

– Following open, scalable, practical, measurable process

Page 13: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 13© Astra Infotech

The Solution

• Test automation is an automation project

– Managing test assets

• Test plans

• Test suites

• Test cases

• Test scripts

– Establishing structure among test assets

• Test architecture

– Reusable assets

• Maintaining traceability

– Requirements

– Changes

» Defects

Page 14: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 14© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– Highlights

– The Process

– The Architecture

– Challenges and Solutions (Illustrative)

• Demo

Page 15: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 15© Astra Infotech

Highlights

• Business process modeling

– Helps to get the big picture and business perspective

• Provides context for the system requirements

– Understanding the business, not the automation part alone

• Better value proposition

• Easier adaptability to the live environment

Page 16: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 16© Astra Infotech

Highlights

• Requirement Management

– Clarity, classification and traceability

– Effective control on changes

– Enhanced quality, since better input controls

– Customer and end user perspective

Page 17: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 17© Astra Infotech

Highlights

• Traceability

– Connecting islands

– Connecting perspectives

Business Model

Requirement

Model

Test Cases

Defects

trace

trace

trace

trace

traceDesign Model

trace

trace

Features

Use cases

User Experience

Workload

UI Design

Database Design

...

TestScript

TestData

Page 18: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 18© Astra Infotech

Highlights

• Test Architecture

– Provides structure to test assets

– Enables reusability

– Enables automation

• Traceability from business models though requirements, test cases,

test scripts, versions, releases and defects

• Maintainability, with effective traceability and version control

Page 19: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 19© Astra Infotech

Highlights

• Project Management

– Iterative approach

• Continuous focus on risk, leading to better project success

– Effective control

• Measurable, objective and metric driven approach

Page 20: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 20© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– Highlights

– The Process

– The Architecture

– Challenges and Solutions (Illustrative)

• Demo

Page 21: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 21© Astra Infotech

The Process

• Open, scalable, practical and measurable process

Process Highlights

Classify and Document

Software Requirements

Assess

Testability

Setup Test

Environment

Create Test Plan

and Test CasesArchitect and

Design

Implement Test

Execute Test Analyse Test Results

Model Business

Processes

Analyze Problem

Page 22: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 22© Astra Infotech

The Process

• Execution

– Iterative model

• Balancing stakeholder concerns and priorities

• Continuous risk identification and mitigation

• Short feedback cycles

• Testing early and continuous

Page 23: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 23© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– Highlights

– The Process

– The Architecture

– Challenges and Solutions (Illustrative)

• Demo

Page 24: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 24© Astra Infotech

The Solution Framework

• Simplified picture

Test Suites and Shell script

User action script

SuperScriptReusable LibrariesSharedMap

Scripts organized module-wise in packages/folders

Corresponding to scenarios to be tested

Architect and

Design

Page 25: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 25© Astra Infotech

The Solution Framework

• Automation

– Extraction of test cases from requirements

• Implemented as Rational Functional Tester Plug-in

– Requirements managed in IBM Rational RequisitePro

– Test cases managed in IBM Rational ClearQuest Test Manager

Page 26: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 26© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– Highlights

– The Process

– The Architecture

– Challenges and Solutions (Illustrative)

• Demo

Page 27: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 27© Astra Infotech

Challenges and Solutions

SNo Challenge Solution

1 Test automation tool selection IBM Rational Functional Tester

with SAP Plugin

2 Many scripts use more or less

same set of objects.

Shared object map

3 Dynamic data verification Tokenizing data from control for

identification and verification

4 Variety of ways to accomplish a

task

Modular scripts to cater to

variations

Page 28: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 28© Astra Infotech

Challenges and Solutions (contd…)

SNo Challenge Solution

5 Similar tasks to be accomplished in

various contexts

Reusable, modular script

6 Contexts, and variations in reuse Reusable, modular script

7 Variety of ways, with minor

variations, to accomplish a task

Reusable, modular script with

action based on dynamic data

Page 29: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 29© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– The Process

– The Architecture

– Highlights

• Demo

• Questions and Answers

Page 30: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 30© Astra Infotech

Demo

Page 31: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 31© Astra Infotech

Agenda

• Introduction

• The Project

• The Solution

– The Process

– The Architecture

– Highlights

• Demo

Page 32: Rsdc 2008 Vinod

Engineering “Software Engineering” – The Astra Way ! Page 32© Astra Infotech