Efficient Test AutomationFor Business ApplicationsSreekanth Singaraju, VPSrinivas Rao Labhani, Sr. ArchitectSharon Lee, Director of Marketing
2
Agenda
• Characteristics of Effective Testing• Challenges with Traditional Automation• Challenges of Business Driven Application Testing• Titanium Testing Solution • Business Centric Approach• Best Practices• Benefits of Business Centric Approach
3
Characteristics of Effective Testing
• Deliver quality software rapidly• Provides consistent quality measurement and reporting• Enable testing of supported technologies …cloud, mobile, social• Support intersecting programs and iterative development• Execute all aspects of testing - functionality, performance, security,
technical debt...• Communicate risks in Simple English
4
Automation’s Impact on Testing
Most businesses executing in manual testing mode tend to skip elements in the QA process to meet testing windows. The testing gaps created often lead to problems in product quality, decreasing user satisfaction and driving maintenance costs significantly higher.
5
Challenges with Traditional Automation
• Lack of collaboration between SMEs and Automation Engineers– Duplication of effort in documentation and application knowledge
gaining• No Role based approach, leading to overlap of duties to be
performed– Decentralized—inefficient use of resource
• High Maintenance without Intelligent Framework– Increased customization affecting the business scenarios are tightly
coupled with budget as there will be cost involved in maintaining automation scripts developed earlier due to updates to the AUT
– Impact Analysis not very easy
6
Challenges of Business Driven Application Testing
Heavily Driven by Business
Logic
Heavily Driven by Business
Logic
Lot of Security
Entitlement
Lot of Security
Entitlement
Business Process Flows
Business Process Flows
Heavy Data
Conditional Flows
Heavy Data
Conditional Flows
7
Titanium Testing Solution addresses these challenges and delivers rapid business value
ResourcesExperienceExpertiseFlexibilityScalable
Best PracticesAcceleratorsFrameworksTemplates
Titanium Dashboard Light out Test Lab
Titanium TestData Strategy
8
What is Business Process Testing?
• The testing of the full business process, from the start of a transaction through to the completion
• Features of BPT• Allows non-technical SMEs to Quickly build, data drive, and
document tests in one web-based system.• Enables QA efforts to best leverage talent through specific roles and
responsibilities• BPT entails the use of business components as building blocks for
more complex business scenarios. This built-in framework enforces modularization.
9
Business Centric Approach
Design
Identify the Business Components
Create the Business Components
Create the Manual Suite by Drag and Drop
Execute and Validate the Business Tests
Subject Matter Expert or Business Analyst
Execution & Analysis
Drag and Drop Components to create Tests in HP QC
Configure the Input/Output Parameters, Configuration and Test
Data
Add the Business Flows/Business Tests in Test Lab Module of HP QC
Execution and Analysis
Automation Engineer and SME/BA/Testing Team (Execution Team)
Development
Understand and Analyze the Business Components
Create the Object: Repository, Automated Business Components
Create the Functional/Business Functions
Execute and Validate the Automated Business Tests
Automation Engineer validated by SME/BA
Understand and Analyze the Business Components
Create the Object: Repository, Automated Business Components
Create the Functional/Business Functions
Execute and Validate the Automated Business Tests
Handover the Components to Automation Team
Handover the Automated Components to SME/BA/Testing Team
10
Automated BPT Framework Approach
Driver ComponentsShared ORBusiness FlowsExternal Test DataReports
Business Process Testing
Scripted Business Components
Functions Library
Shared Object Repository
Driver Business Component
Test Data Configuration Files
Recovery Scenarios
Reporting
HTML Report
Execution Log
Test Summary
Log
Quick Test Professional
Quality Center
11
Additional Automated BPT Approaches
• External Test Data Excel Sheet as Input Approach– Application is not large & complex– When there is no need to passing on parameter values from one
component to another– Input and output parameters and CSV file Approach – Application is large & complex and has huge test data requirements.– Pass on parameter values from one component to another
• When a single test needs to run in multiple iterations – However, cannot be used in case of dynamic test data parameters
which change frequently and needs to be passed on from one component to the other
12
Best Practices
• Re-usable Components• Tailored Traceability Matrix helps to:
– Identify coverage– Perform impact analysis– Metrics delivered
• Use external .dat file for storing and retrieval of business component input and output values
• Run Book• Test Data Requirements for each business scenario
13
Titanium in Action
Business Challenges:• The Business Process of the AUT is to support a critical sales force
support function• Develop and implement Test Data Strategy• Design automation framework using HP Business Process Testing
software, QTP and QC• Development end to end comprehensive regression automation
regression suite for various modules• Publish comprehensive results to the stakeholders for performing
analysis in case of failures
85% Automation Coverage Delivered
of Automatable scenarios automated
Reduction in regression effort
Embraced by business users
14
Titanium in Action
Approach:• Designed and implemented a Test Data Strategy to create test setup
from VLOD of 4+TB• Implemented Titanium Automation using QTP, Quality Center and
HP Business Process Testing• Developed test cases for last 17 sprint, 60+ components and
developed automation regression scenarios• Created Traceability matrix at component level from manual test
cases to automation scenarios
15
QUESTIONS & DISCUSSION
www.allianceglobalservices.com
16
Thank YouFor more information email us at: [email protected]
Top Related