Business Process Testing BASIC

31
Business Process Business Process Testing BASIC Testing BASIC Home BPT -- Naem Ali Present ed by

Transcript of Business Process Testing BASIC

Page 1: Business Process Testing BASIC

Business Process Business Process Testing BASICTesting BASIC

Business Process Business Process Testing BASICTesting BASIC

Home

BPT

-- Naem Ali

Presented by

Page 2: Business Process Testing BASIC

Introduction to Business Process Test

Page 3: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 3 -

BPT Overview

BPT is Released in 2004 with QTP/WR.

Business Process Testing (BPT) allows for non-technical experts to build tests with out having to understand a coding language. 

BPT is basically an application layer over QuickTestPro or Win-Runner, both of which are their legacy record/playback/scripting tools. 

Page 4: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 4 -

Features of BPT

Start test case design early in the software development lifecycle.

Automate maintenance of test cases and test plan documentation.

Manage change impact for SAP applications.

Unify distributed tests with test asset reuse.

Detect and diagnose application problems before you go live.

Page 5: Business Process Testing BASIC

BPT Life Cycle

Requirement Analysis

Requirement Analysis

1

DesignDesign

2

ScriptingScripting

3

ExecutionExecution

4

ReportingReporting

5

Application Functionality Study

DefineApproach

DesignApplicationArea

IdentifyBusinessComponents

Spec Preparation

BusinessFlow for allBusiness Components

Reusable Components

Parameterization

Static Review

Script Dry Run

BatchExecutionUsing TestManagementTool(QC)

EvidenceCapturing

ResultsAnalysis

CustomizedReports

Traceability

User Manual

Re-execution on need basis

Page 6: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 6 -

Understand application under testIdentify the testing tool to be usedIdentify scenarios/test cases to be automatedCheck automation feasibility of identified scenarios/test casesPerform a POC on any of the identified scenario/test case

Requirement Analysis

Requirement Analysis

1

DesignDesign

2

ScriptingScripting

3

ExecutionExecution

4

ReportingReporting

5

Re-execution on need basis

BPT – Requirement Analysis

Page 7: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 7 -

• Prepare automation test strategy

• Define the Application Area

• Identify the business components for the Application Area

• Identify the code conventions and standards for the testing tool

• Prepare component specification

• Prepare component verification checklist

Requirement Analysis

Requirement Analysis

1

DesignDesign

2

ScriptingScripting

3

ExecutionExecution

4

ReportingReporting

5

Re-execution on need basis

BPT - Design

Page 8: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 8 -

• Common Object Repository Preparation

• Generate common libraries(User-Defined Functions)

• Scripting of Individual Business components

• Synchronize for inherent application delays

• Add verification points

• Plan recovery scenarios

• Integrate, review, run and validate the scripts

Requirement Analysis

Requirement Analysis

1

DesignDesign

2

ScriptingScripting

3

ExecutionExecution

4

ReportingReporting

5

Re-execution on need basis

BPT - Scripting

Page 9: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 9 -

Add the Business Components to the Test Plan in QC

Parameterization is done to run the tests for different sets of Data

Schedule and Run the scripts in uninterrupted mode through Test Lab

Analyze the results

BPT - Execution

Requirement Analysis

Requirement Analysis

1

DesignDesign

2

ScriptingScripting

3

ExecutionExecution

4

ReportingReporting

5

Re-execution on need basis

Page 10: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 10 -

Generate customized reports on script execution

Generate traceabilty between the scripts executed and scenarios identified

Prepare and publish automation test report

Re-execute the scripts on need basis

BPT - Reporting

Requirement Analysis

Requirement Analysis

1

DesignDesign

2

ScriptingScripting

3

ExecutionExecution

4

ReportingReporting

5

Re-execution on need basis

Page 11: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 11 -

Modules in BPT

Business RequirementBusiness componentTest PlanTest LabDefect

Page 12: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 12 -

Business Requirement

BusinessRequirement

Mapping of components with Business Requirements is done by the SME‘ s (Subject Matter Experts).

Page 13: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 13 -

Business Components

Designing of Components according to the Scenarios

Details

BusinessComponents

It describes the overall summary of BC with pre and post conditions

Page 14: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 14 -

Snapshot..

We can capture snapshot and store in BPT for a particular component

Page 15: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 15 -

Parameters..

We can add parameters to Components in Business Component Module

Page 16: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 16 -

Creating New Parameters

Creating New parameter and giving name to it.

Page 17: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 17 -

keyword View ...

We can have only Keyword view in BPT

Page 18: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 18 -

Components Used By ..

Here we can we view all the users who are using the component.

Page 19: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 19 -

Test Plan

It is like a design phase Designing the Scenarios by mapping the

components. Objects are stored in Application Area in QC

Test Plan

Page 20: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 20 -

Editing a Component

We can modify a particular component by using Edit Component option

Page 21: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 21 -

Creating Input/Output Parameters to a Component ..

We can pass the run-time input/output values to components

Page 22: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 22 -

Creating Input/Output Parameters to a Component ..2

Page 23: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 23 -

Running the scenario ..

Run Button

Run the scenario by pressing Run Button

Page 24: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 24 -

Ready to run the scenario..

Dialog window showing that Ready to run all this ScenariosAnd diff. Components that are included.

Page 25: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 25 -

Attachments …

Uploading the user defined function as an attachments

Page 26: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 26 -

Attachments..

When we select a particular module, It will show all files related that particular module

Page 27: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 27 -

Attaching the user defined function files

Designing the Test sets by mapping the Scenarios

Executing the Scripts according to the Scenarios

Page 28: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 28 -

Scripts Execution in Execution Grid ..

We can run the multiple test scenarios as Batch by drag & drop

Test Lab

Page 29: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 29 -

Running single Batch/All the Batches at once

Running scenarios, individual Batch/All the Batches at once

Page 30: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 30 -

Defects..

Used for Tacking defects Defects which are found while execution are logged here

Defects

Page 31: Business Process Testing BASIC

Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 31 -

THANK YOU ….THANK YOU ….