Top Banner
IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew IBM
13

IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

Mar 26, 2015

Download

Documents

Zachary Medina
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

STEP-AUTO 2011

Hybrid Framework

Best Test Automation Framework for ERP Projects

Presented By

Jessel R Mathew

IBM

Page 2: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

Testing is a critical factor in any ERP implementation

Testing occupies nearly 50% of the total ERP budget

One way to reduce the burden on testing is test automation

STEP-AUTO 2011

Introduction

Page 3: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

Problem Statement

ERP consultants or manual testers do not have automation or programming

knowledge

Automation testers do not have in depth ERP functional knowledge

So there is disconnect in the system

STEP-AUTO 2011

Page 4: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

The disconnect in the system between ERP consultant and automation tester, can

be bridged using a framework that would create reusable and configurable

components, which can be assembled by the ERP consultants or manual testers

and executed

Framework that would best fit ERP projects would be a Hybrid framework

Hybrid framework can be implemented using any functional test automation tool that

can retrieve values from the cells in an excel sheet

Solution

STEP-AUTO 2011

Page 5: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

Hybrid Framework - Folder structure

STEP-AUTO 2011

Page 6: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

Library Folder

The entire application is divided into reusable components of application-specific test functions or scenarios

These reusable components or test functions are parameterized and stored in library folder

Commonly used functions are stored in subfolder named Common

All the functions or reusable components are created by the automation tester who have good programming knowledge

STEP-AUTO 2011

Page 7: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

Keyword folder

S. No Keyword Description Parameters Function

1 Login This function is used to login into sales and distribution module

username, password Sales_login

2 Create_Product This function is used to create a new product

name, model no, type Sales_create_product

3 Create_Customer This function is used to create a customer

customername, area Sales_create_customer

4 Edit_Product This function is used to edit an existing product

productid, name, model

Sales_edit_product

STEP-AUTO 2011

Page 8: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

Test Case Number To be executed Keyword Testdata

TS-01 1 Login Jessel,password1

TS-02 1 Create_Product TV,21323,LCD,42

TS-03 0 Create_Product TV,81323,LED,40

TS-04 1 Create_Customer Sony , Banglaore

TS-05 0 Edit_Product 1234,TV,21323,LCD,21

Input folder

Expected folder

All the reports are generated from the tool is stored in the expected folder

STEP-AUTO 2011

Page 9: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

All the test cases that need to be executed is listed in an excel sheet

A .bat file is executed, which invokes the excel sheet containing the list of test cases

that need to be executed

S. No To be executed Testcase Number

TCN-01 1 TC-001

TCN-02 1 TC-020

TCN-03 0 TC-031

TCN-04 1 TC-045

TCN-05 0 TC-052

Execution

STEP-AUTO 2011

Page 10: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

.Bat file

List of Test cases

S No To Be Executed Testcase Number

TCN-01 1 TC-001

TCN-02 1 TC-002

TCN-03 1 TC-003

Test Case : TC_001

TestStep Number

To be executed Keyword Testdata

TS-01 1 Login jessel,password1

TS-02 1 Create_Product TV,21323,LCD,42

TS-03 0 Create_Product TV,81323,LED,40

Keyword List

S No Keyword Description Parameters Function

1 Login This function is used to login into sales and distribution module

username, password

sales_login

2 Create_Product This function is used to create a new product

ProductName, model no, type , size

sales_create_product

STEP-AUTO 2011

Page 11: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

ERP functional consultants or manual tester can execute automated scripts by assembling the keywords and passing the test data in the sequence they want to execute in an excel sheet

Quality test cases and test data will be created as functional consultants or manual testers who have in depth ERP functional knowledge design the tests

Data-driven approach of this framework would aide in testing with wide variations of data

Majority of our test resources can be used to design tests suitable for automation without knowing anything about the automation tools that is planned to deploy

Bulk of our testers can concentrate on test design. It is the automation framework folks who will focus on the tools and utilities to automate those tests

Benefits

STEP-AUTO 2011

Page 12: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation

Less time is taken by functional consultants or manual tester for testing as the process has been automated. Testers are not restricted to executing few automated scripts. They can design any number of tests without depending on automation testers, when reusable components are ready and execute them

All test cases that are designed can be left for overnight run, which could save considerable amount of time

More time available for testing, leading to be higher test Coverage and reduction of risk

Faster test execution would lead to faster test cycles which would contribute to delivering the project within timeline

This would increase the overall efficiency and contribute to the quality of the project

Faster test cycles, improved efficiency and quality, will lead to drastic reduction of project cost

Benefits (Continued)

STEP-AUTO 2011

Page 13: IBM Global Services © 2011 IBM Corporation STEP-AUTO 2011 Hybrid Framework Best Test Automation Framework for ERP Projects Presented By Jessel R Mathew.

IBM Global Services

© 2011 IBM Corporation