Upload
harivelan-gnanavel
View
91
Download
1
Embed Size (px)
Citation preview
Business Process Business Process Testing BASICTesting BASIC
Business Process Business Process Testing BASICTesting BASIC
Home
BPT
-- Naem Ali
Presented by
Introduction to Business Process Test
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.
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.
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
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
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
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
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
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
Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 11 -
Modules in BPT
Business RequirementBusiness componentTest PlanTest LabDefect
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).
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
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
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
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.
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
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.
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
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
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
Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 22 -
Creating Input/Output Parameters to a Component ..2
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
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.
Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 25 -
Attachments …
Uploading the user defined function as an attachments
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
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
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
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
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
Copyright Polaris Software Lab Limited, 2005.Confidential. Not to be republished without prior consent. - 31 -
THANK YOU ….THANK YOU ….