SlideShare a Scribd company logo
1 of 22
- 1 -
Automating End To End
Scenarios
Presenters:
Sandra Alequin (Senior Manager, Allstate Insurance)
Monika Mehrotra (Senior Manager, lnfosys Ltd)
- 2 -
Enterprise testing (ETest) strategy was established in pursuit of a
strategic objective: to improve agency and customer experience with
a goal of minimizing production problems and reducing the risk due
to major application releases on critical business functions.
ETest strategy implementation included establishing new processes,
tools, team and environment. ETest consists of 200+ applications
with over 600+ backend services and equally high number of
interacting databases.
33 key business functions, which are highly integrated, are tested
end-to-end prior to being put in production under this strategy.
Enterprise Testing (ETest) Strategy at Allstate
- 3 -
Executive Summary
Java
Applications
.NET
Applications
Siebel
Applications
Mobile
Applications
Open Web
Applications
Mainframe
Presentation Layer Middle-Tier Data Layer
Mainframe
Web
Servers
Application
Servers
LDAP
MQ
TIBCO
SOAP
REST
JMS
EJBs
JDBC
Store
Procedure
FTP
Mobile
Web
Browsers
Applications
Enterprise Testing Environment – An Overview
DatabaseDatabaseDatabase
- 4 -
 Over 200+ application from a mix of legacy (AS400, Mainframes) and
new technologies (.NET, Java)
600+ services on different technologies like SOAP, REST etc
Unresponsive Backend Services can cause failures in tests and hence
need constant pinging to keep them alive
Time consuming Defect Root Cause Analysis due to large number of
systems and integrations
Deactivation of Test IDs post Data Refresh activities
Complexities in Enterprise Testing Environment
- 5 -
Validation points introduced across different layers for deeper and wider test coverage
5
Executive Summary
Java
Applications
.NET
Applications
Siebel
Applications
Mobile
Applications
Open Web
Applications
Mainframe
Database
Presentation Layer Middle-Tier Data Layer
Mainframe
Web
Servers
Application
Servers
LDAP
MQ
TIBCO
SOAP
REST
JMS
EJBs
JDBC
Store
Procedure
FTP
Mobile
Web
Browsers
Applications
Existing validation points Newly introduced validation points
Solution to address E-Test Environment challenges
DatabaseDatabase
- 6 -
Executive Summary
• Implementation of trouble
shooting at service layer to
reduce effort spent root
cause analysis
• Reduction in time spent on
debugging and enable faster
fixes for defects
• Validation of middle tier
components that otherwise are
not tested as part of GUI testing
scenarios
• Deeper and wider coverage
introduced into architecture
with middle tier validation
• Validated integration and
interaction points ensuring
quality in systems
integration
• Data navigating from one
end to another in network is
tracked for quality and
reliability
Smoother Integration Better Coverage Defect Isolationa b c
Users - Presentation layer
Headless clients
consuming services
Data Access Logic Data Utilities Data Sources
Presentation – Middle Tier Integration
Middle Tier – Data Layer Integration
Service Service Service Service Service Service Service
b
a
a
c
c a
b
Addition of Middle Tier Validation in E-Test
- 7 -
Complexity, size and time to execute E-Test regression suite
warranted the need to automate the regression suite
An assessment on then E-Test processes were performed and an
Integrated (frontend and backend) automation solution was arrived
at to target improvement in efficiency and effectiveness of E-Test
regression suite execution by giving deeper and wider test coverage.
De-risked and cost effective 2-Phased approach was adopted to build
out the integrated automation.
Phase 1 was performed for feasibility analysis and devise solution
for automation requirements.
Phase 2 was implementing the solution and rollout
Necessity for Integrated Test Automation Solution
- 8 -
QTP Automation
Framework
Service Validation
Framework
Frontend Layer
UI Components
Presentation Layer Logic
Backend Service Layer
Service Orchestration
Services
Backend Data Layer
Data Access Components
Data utilities
Data Validation
using CA LISA
E Test Environment
Leverage LISA for
early validation at
service/data layer
Validating UI layer
on a more stable
Backend
Integrated Automation Solution
HP Quality
Center
HP Quick Test
Professional
CA LISA
CA LISA
Backend (Service and Data layer) validation will be automated with CA LISA and Frontend (UI
layer) validation will be automated with HP QTP. The solution will be orchestrated using HP QC
and provides flexibility to validate layers in integrated or silo mode.
- 9 -
Switch of test machine is
required to continue execution
Stop for Batch Cycle
Resume after Batch Cycle
Data needs to be captured
and transferred between
the test scripts/test sets
LISA Scripts integration with
QTP and HPQC for backend
scripts execution
Typical ETest End-to-End Scenario for Automation
? – Questions to be answered and solutions to be proven out
Customer does inquiry and requests for a
Quote
Mobile Search Web Search
Agent contacts customer and the quote is converted to a request for
new business
New business is received and reviewed by underwriters
Home Office Staff verifications Underwriters
Underwriter provides approved , New business documents generated and Customer access documents
Document Management
System
Customer Access
Endorsement
confirmation
Policy EndorsementRegistration
Renewal Validations
Validate Renewals processing after payments
Policy Endorsements, Renewals and billing
Endorsement
Documents
Renewal of
Policies
Renewal
Billing
Renewal
Documents:
Endorsement
processing
Renewals Payments
Sample ETest Scenario
?
?
?
?
Exclusive Agent
Applications
Independent Agent
Applications Home Office Staff
- 10 -
 Tests were run on specific workstations to mimic customer and user
experience. So how to switch test machines to continue automated
execution?
 How to handle the execution of a single test case across multiple
job batches?
 How would the data required for execution across batch of same
test case maintained throughout the execution of the case, which
may span across days?
 How to integrate HPQC (Test Management), HPQTP (UI Automation)
and CA LISA (Service layer validation) tools to perform an integrated
test run?
Automation Challenges in ETest End-to-End Scenarios
- 11 -
Test Automation challenges addressed
Data Extraction
& Persistence
Multiple Machines
Execution
Execution Inline
with Daily Batch
cycles
LISA Scripts integration
with QTP and HPQC
1 2 3 4
Customer does inquiry and requests for a
Quote
Mobile Search Web Search
Agent contacts customer and the quote is converted to a request for
new business
New business is received and reviewed by underwriters
Home Office Staff verifications Underwriters
Underwriter provides approved , New business documents generated and Customer access documents
Document Management
System
Customer Access
Endorsement
confirmation
Policy EndorsementRegistration
Renewal Validations
Validate Renewals processing after payments
Policy Endorsements, Renewals and billing
Endorsement
Documents
Renewal of
Policies
Renewal
Billing
Renewal
Documents:
Endorsement
processing
Renewals Payments
Sample ETest Scenario
2
1
3
4
Exclusive Agent
Applications
Independent Agent
Applications Home Office Staff
- 12 -
12
# 1-Data Extraction & Persistence
Data Persistence in XML Files
DataPersistenceacross
machines
DataPersistence
acrossbatchruns
Customer Inquiry, Quote & New Business
Customer Machine:
Customer Inquiry and
Begins Property Quote:
(Mobile and Web)
Agent Machine:
New Business
Purchase
Under Writer
Machine; New
Business
Agent Machine:
Endorsement : Agent
Customer Machine:
Customer: Login to
“Customer Account",
Register
Batch 1: Customer
Inquiry and Begins
Property Quote: (Web)
Batch 2: New Business
Purchase: Agent
Batch 3: New Business :
Agent
Data is getting read by
different machines from XML
Reference # is persisted in XML and used by script for Policy # generation
1
1
Policy # is persisted used by script and later used other scripts2
2
1 2
•Data is persisted in Shared LAN drive which is accessible by all machines
•Data is persisted in form of XMLs for each test case.
•XPATH Queries are employed for faster data retrieval
- 13 -
13
Test Execution Dependency- Across Batches
Customer Inquiry, Quote & New Business
Customer Agent Search :
(Mobile and Web)
Customer creates Quote
Customer Inquiry, Quote & New Business
Manage Agency by
Agent
Purchases quote and
email validation
Validation of New
Business
Batch 2
• Automated Script generates Execution Control XML for each Test Case
• Test Script execution status with other details are captured in XML structure
• Execution sets Test Set_Status “Y” in case of Pass “N” for failure
• Next Test Script reads XML data and determines if execution is required or not
Invoke Next
Batch test case if
Status=“Y”
Stop Execution
for test case if
Status=“N”
STOP
Determine Execution
is required/not from
XML
Batch 1
# 2 - Execution Inline with Daily Batch cycles
Cross Test Set Dependency with XMLs
- 14 -
14
1A
1B
1C
E Test Release 1
HP QC Test Lab Folders
at Scenario level
HP QC Test Lab Folder at Release level
Batch1
Batch2
BatchN…
Batch1
Batch2
BatchN…
Batch1
Batch2
BatchN…
HP QC Test Sets at
Batch run levels
Each Test Set contains specific test scripts to be run as part of E Test Case
HPQC identifies available machine in the host group and triggers
execution on the available machine within the group. Upon execution
completion, test results are reported back to quality center and execution
is moved to next test script
Machine Groups
HP QC Test Cases
Batch 1 for 1A contains scripts to be
executed before batch cycle process
runs
#3 - Multiple Machines Execution
Hosting in HPQC
- 15 -
15
# 4 - CA LISA integration with HPQTP & HPQC
CA LISA
- 16 -
16
HP Quality
Center
Mainframe Web Java
Enterprise Automation Components
(Reusable Functions, Keyword functions, Framework Driver Engine)
Platforms Under Test
Automation Framework
Remote Machines
Testers
Java Specific
Components
Web Specific
Components
Mainframe Specific
Components
Framework to handle Application Diversity
- 17 -
Test Case Modeling
17
Application
Workflow
Payment
Work
flow
Data
Data1
Data
Work
flow
Work
flow
Data
Data2
Data3
Data1
Data2
Data3
Data1
Data2
Data3
Modularizing the application workflow
by creating multiple reusable Business
Process Components (BPCs)
Workflow created in
excel using action
keywords
Multiple data sets can be mapped to
the same workflow to easily create
different data oriented test cases
Customer
Registration
Agent Search
Diagrammatic representation of test case modeling
Test Case modeling with the framework
- 18 -
Test Case Modeling
18
ETest Implementation Approach
Assessment of ETest
Environment and Test
Scenarios
ETest Automation
Feasibility Analysis
ETest Implementation
Design
ETest SOA Validation
Implementation
ETest SOA validation
rollout
ETest UI Automation
Feasibility Analysis
ETest Automation
Unique requirements
identified
ETest Automation
Solution Development
for requirements
Proof Of Concept for
ETest Automation
Complete Automation
Implementation in
ETest
Rollout of Automation
Testing for ETest
- 19 -
Executive Summary
Current State Post Implementation Benefits
Quality
• Test steps scoped
based on
available effort
• End to End
Business scenario
validated in base
state
• Volume test steps
execution was increased
by 3 times
• End to End Business
scenario implemented
in multiple states
• 200% improvement across Tests and
ROCs
• Improved coverage at backend layer
• Increased and consistent validation
• Multiple Regression Runs in current
window
Time
• 3-week window
to execute E2E
tests
• 1-week window to
execute E2E tests
• 33% reduction in the execution
window
• Creating window for more execution
• Reduced turn around time on defect
resolution
Cost
• High manual
effort to rerun
failed scenarios
• Overall team is
reduced by 40%
• 30% reduction in execution cost
• Early validation
• Reduced issues and effort during End
to End
• Lessen manual effort with automation
ETest Automation - Post Implementation Analysis
- 20 -
Executive Summary
Additional Benefits of Integrated Automation Solution
Predictability
 Validation at backend layer resulting in early defect detection
 Post implementation UI execution happens on a validated backend
layer
Portability
 Solution can be deployed on E-Test or other environments with
minimal effort
Coverage
 Improve coverage by introducing more validations at all layers of
validation
Modularity &
Scalability
 Deploy solution in packages to enable selective run
 Ability to run automation scripts for specific scenario category
and/or applications.
- 21 -
Questions & Answers
- 22 -
Thank you.

More Related Content

What's hot

Load Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINXLoad Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINX
NGINX, Inc.
 
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider SecurityTHE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
DevOpsDays Tel Aviv
 

What's hot (20)

Overview of Site Reliability Engineering (SRE) & best practices
Overview of Site Reliability Engineering (SRE) & best practicesOverview of Site Reliability Engineering (SRE) & best practices
Overview of Site Reliability Engineering (SRE) & best practices
 
DevOps Maturity Curve v5
DevOps Maturity Curve v5DevOps Maturity Curve v5
DevOps Maturity Curve v5
 
DevSecOps - The big picture
DevSecOps - The big pictureDevSecOps - The big picture
DevSecOps - The big picture
 
Getting Started with Amazon AppStream
Getting Started with Amazon AppStreamGetting Started with Amazon AppStream
Getting Started with Amazon AppStream
 
Introduction to Penetration Testing
Introduction to Penetration TestingIntroduction to Penetration Testing
Introduction to Penetration Testing
 
Api security-testing
Api security-testingApi security-testing
Api security-testing
 
Agile Metrics...That Matter
Agile Metrics...That MatterAgile Metrics...That Matter
Agile Metrics...That Matter
 
Load Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINXLoad Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINX
 
Distributed Tracing for Kafka with OpenTelemetry with Daniel Kim | Kafka Summ...
Distributed Tracing for Kafka with OpenTelemetry with Daniel Kim | Kafka Summ...Distributed Tracing for Kafka with OpenTelemetry with Daniel Kim | Kafka Summ...
Distributed Tracing for Kafka with OpenTelemetry with Daniel Kim | Kafka Summ...
 
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider SecurityTHE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
 
Zero Trust Networks
Zero Trust NetworksZero Trust Networks
Zero Trust Networks
 
Client Side Monitoring With Prometheus
Client Side Monitoring With PrometheusClient Side Monitoring With Prometheus
Client Side Monitoring With Prometheus
 
Threat hunting 101 by Sandeep Singh
Threat hunting 101 by Sandeep SinghThreat hunting 101 by Sandeep Singh
Threat hunting 101 by Sandeep Singh
 
10 Essential SAFe(tm) patterns you should focus on when scaling Agile
10 Essential SAFe(tm) patterns you should focus on when scaling Agile10 Essential SAFe(tm) patterns you should focus on when scaling Agile
10 Essential SAFe(tm) patterns you should focus on when scaling Agile
 
Site (Service) Reliability Engineering
Site (Service) Reliability EngineeringSite (Service) Reliability Engineering
Site (Service) Reliability Engineering
 
Threat Hunting Playbook.pdf
Threat Hunting Playbook.pdfThreat Hunting Playbook.pdf
Threat Hunting Playbook.pdf
 
Apache metron - An Introduction
Apache metron - An IntroductionApache metron - An Introduction
Apache metron - An Introduction
 
Threat Hunting
Threat HuntingThreat Hunting
Threat Hunting
 
Threat Hunting with Splunk
Threat Hunting with SplunkThreat Hunting with Splunk
Threat Hunting with Splunk
 
The DevOps Journey
The DevOps JourneyThe DevOps Journey
The DevOps Journey
 

Similar to Automating End-to-End Business Scenario Testing

CV_SyedShoeb_2015
CV_SyedShoeb_2015CV_SyedShoeb_2015
CV_SyedShoeb_2015
Syed Shoeb
 
Improved Go to Market Time & Reduced Operational Cost
Improved Go to Market Time & Reduced Operational CostImproved Go to Market Time & Reduced Operational Cost
Improved Go to Market Time & Reduced Operational Cost
ITC Infotech
 
Diljith Abraham -Test Specialist
Diljith Abraham -Test Specialist Diljith Abraham -Test Specialist
Diljith Abraham -Test Specialist
diljith abraham
 
Sujith Kumar Resume- SSE
Sujith Kumar Resume- SSESujith Kumar Resume- SSE
Sujith Kumar Resume- SSE
Sujith Kumar
 
dataR Corporate Overview
dataR Corporate OverviewdataR Corporate Overview
dataR Corporate Overview
fpipolo
 
Resume_QA_8_Yrs_Exp_Vijay
Resume_QA_8_Yrs_Exp_VijayResume_QA_8_Yrs_Exp_Vijay
Resume_QA_8_Yrs_Exp_Vijay
Vijay Bichkar
 

Similar to Automating End-to-End Business Scenario Testing (20)

CV_SyedShoeb_2015
CV_SyedShoeb_2015CV_SyedShoeb_2015
CV_SyedShoeb_2015
 
jaynewresume6
jaynewresume6jaynewresume6
jaynewresume6
 
Testing Process
Testing ProcessTesting Process
Testing Process
 
Gowtham_resume
Gowtham_resumeGowtham_resume
Gowtham_resume
 
Rethinking Test Automation: The Case for Moving Beyond the User Interface
Rethinking Test Automation: The Case for Moving Beyond the User InterfaceRethinking Test Automation: The Case for Moving Beyond the User Interface
Rethinking Test Automation: The Case for Moving Beyond the User Interface
 
Navaneethan Balakrishnan_Resume
Navaneethan Balakrishnan_ResumeNavaneethan Balakrishnan_Resume
Navaneethan Balakrishnan_Resume
 
SV Training Intro - 20181129 4.pptx
SV Training Intro - 20181129 4.pptxSV Training Intro - 20181129 4.pptx
SV Training Intro - 20181129 4.pptx
 
Improved Go to Market Time & Reduced Operational Cost
Improved Go to Market Time & Reduced Operational CostImproved Go to Market Time & Reduced Operational Cost
Improved Go to Market Time & Reduced Operational Cost
 
Diljith Abraham -Test Specialist
Diljith Abraham -Test Specialist Diljith Abraham -Test Specialist
Diljith Abraham -Test Specialist
 
Navaneethan Balakrishnan_Resume
Navaneethan Balakrishnan_ResumeNavaneethan Balakrishnan_Resume
Navaneethan Balakrishnan_Resume
 
Shuvam dutta
Shuvam duttaShuvam dutta
Shuvam dutta
 
Shuvam dutta | Performance tester
Shuvam dutta | Performance testerShuvam dutta | Performance tester
Shuvam dutta | Performance tester
 
Sujith Kumar Resume- SSE
Sujith Kumar Resume- SSESujith Kumar Resume- SSE
Sujith Kumar Resume- SSE
 
Resume
ResumeResume
Resume
 
8_Testing_Resume_SAP Testing
8_Testing_Resume_SAP Testing8_Testing_Resume_SAP Testing
8_Testing_Resume_SAP Testing
 
Resume_Sahida Sultana
Resume_Sahida SultanaResume_Sahida Sultana
Resume_Sahida Sultana
 
dataR Corporate Overview
dataR Corporate OverviewdataR Corporate Overview
dataR Corporate Overview
 
Resume_QA_8_Yrs_Exp_Vijay
Resume_QA_8_Yrs_Exp_VijayResume_QA_8_Yrs_Exp_Vijay
Resume_QA_8_Yrs_Exp_Vijay
 
2016_George Baker
2016_George Baker2016_George Baker
2016_George Baker
 
Impetus qLabs Solutions
Impetus qLabs SolutionsImpetus qLabs Solutions
Impetus qLabs Solutions
 

More from TechWell

More from TechWell (20)

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and Recovering
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build Architecture
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good Start
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test Strategy
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for Success
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlow
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your Sanity
 
Ma 15
Ma 15Ma 15
Ma 15
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps Strategy
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOps
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—Leadership
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile Teams
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile Game
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps Implementation
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery Process
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to Automate
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for Success
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile Transformation
 

Recently uploaded

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Recently uploaded (20)

WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 

Automating End-to-End Business Scenario Testing

  • 1. - 1 - Automating End To End Scenarios Presenters: Sandra Alequin (Senior Manager, Allstate Insurance) Monika Mehrotra (Senior Manager, lnfosys Ltd)
  • 2. - 2 - Enterprise testing (ETest) strategy was established in pursuit of a strategic objective: to improve agency and customer experience with a goal of minimizing production problems and reducing the risk due to major application releases on critical business functions. ETest strategy implementation included establishing new processes, tools, team and environment. ETest consists of 200+ applications with over 600+ backend services and equally high number of interacting databases. 33 key business functions, which are highly integrated, are tested end-to-end prior to being put in production under this strategy. Enterprise Testing (ETest) Strategy at Allstate
  • 3. - 3 - Executive Summary Java Applications .NET Applications Siebel Applications Mobile Applications Open Web Applications Mainframe Presentation Layer Middle-Tier Data Layer Mainframe Web Servers Application Servers LDAP MQ TIBCO SOAP REST JMS EJBs JDBC Store Procedure FTP Mobile Web Browsers Applications Enterprise Testing Environment – An Overview DatabaseDatabaseDatabase
  • 4. - 4 -  Over 200+ application from a mix of legacy (AS400, Mainframes) and new technologies (.NET, Java) 600+ services on different technologies like SOAP, REST etc Unresponsive Backend Services can cause failures in tests and hence need constant pinging to keep them alive Time consuming Defect Root Cause Analysis due to large number of systems and integrations Deactivation of Test IDs post Data Refresh activities Complexities in Enterprise Testing Environment
  • 5. - 5 - Validation points introduced across different layers for deeper and wider test coverage 5 Executive Summary Java Applications .NET Applications Siebel Applications Mobile Applications Open Web Applications Mainframe Database Presentation Layer Middle-Tier Data Layer Mainframe Web Servers Application Servers LDAP MQ TIBCO SOAP REST JMS EJBs JDBC Store Procedure FTP Mobile Web Browsers Applications Existing validation points Newly introduced validation points Solution to address E-Test Environment challenges DatabaseDatabase
  • 6. - 6 - Executive Summary • Implementation of trouble shooting at service layer to reduce effort spent root cause analysis • Reduction in time spent on debugging and enable faster fixes for defects • Validation of middle tier components that otherwise are not tested as part of GUI testing scenarios • Deeper and wider coverage introduced into architecture with middle tier validation • Validated integration and interaction points ensuring quality in systems integration • Data navigating from one end to another in network is tracked for quality and reliability Smoother Integration Better Coverage Defect Isolationa b c Users - Presentation layer Headless clients consuming services Data Access Logic Data Utilities Data Sources Presentation – Middle Tier Integration Middle Tier – Data Layer Integration Service Service Service Service Service Service Service b a a c c a b Addition of Middle Tier Validation in E-Test
  • 7. - 7 - Complexity, size and time to execute E-Test regression suite warranted the need to automate the regression suite An assessment on then E-Test processes were performed and an Integrated (frontend and backend) automation solution was arrived at to target improvement in efficiency and effectiveness of E-Test regression suite execution by giving deeper and wider test coverage. De-risked and cost effective 2-Phased approach was adopted to build out the integrated automation. Phase 1 was performed for feasibility analysis and devise solution for automation requirements. Phase 2 was implementing the solution and rollout Necessity for Integrated Test Automation Solution
  • 8. - 8 - QTP Automation Framework Service Validation Framework Frontend Layer UI Components Presentation Layer Logic Backend Service Layer Service Orchestration Services Backend Data Layer Data Access Components Data utilities Data Validation using CA LISA E Test Environment Leverage LISA for early validation at service/data layer Validating UI layer on a more stable Backend Integrated Automation Solution HP Quality Center HP Quick Test Professional CA LISA CA LISA Backend (Service and Data layer) validation will be automated with CA LISA and Frontend (UI layer) validation will be automated with HP QTP. The solution will be orchestrated using HP QC and provides flexibility to validate layers in integrated or silo mode.
  • 9. - 9 - Switch of test machine is required to continue execution Stop for Batch Cycle Resume after Batch Cycle Data needs to be captured and transferred between the test scripts/test sets LISA Scripts integration with QTP and HPQC for backend scripts execution Typical ETest End-to-End Scenario for Automation ? – Questions to be answered and solutions to be proven out Customer does inquiry and requests for a Quote Mobile Search Web Search Agent contacts customer and the quote is converted to a request for new business New business is received and reviewed by underwriters Home Office Staff verifications Underwriters Underwriter provides approved , New business documents generated and Customer access documents Document Management System Customer Access Endorsement confirmation Policy EndorsementRegistration Renewal Validations Validate Renewals processing after payments Policy Endorsements, Renewals and billing Endorsement Documents Renewal of Policies Renewal Billing Renewal Documents: Endorsement processing Renewals Payments Sample ETest Scenario ? ? ? ? Exclusive Agent Applications Independent Agent Applications Home Office Staff
  • 10. - 10 -  Tests were run on specific workstations to mimic customer and user experience. So how to switch test machines to continue automated execution?  How to handle the execution of a single test case across multiple job batches?  How would the data required for execution across batch of same test case maintained throughout the execution of the case, which may span across days?  How to integrate HPQC (Test Management), HPQTP (UI Automation) and CA LISA (Service layer validation) tools to perform an integrated test run? Automation Challenges in ETest End-to-End Scenarios
  • 11. - 11 - Test Automation challenges addressed Data Extraction & Persistence Multiple Machines Execution Execution Inline with Daily Batch cycles LISA Scripts integration with QTP and HPQC 1 2 3 4 Customer does inquiry and requests for a Quote Mobile Search Web Search Agent contacts customer and the quote is converted to a request for new business New business is received and reviewed by underwriters Home Office Staff verifications Underwriters Underwriter provides approved , New business documents generated and Customer access documents Document Management System Customer Access Endorsement confirmation Policy EndorsementRegistration Renewal Validations Validate Renewals processing after payments Policy Endorsements, Renewals and billing Endorsement Documents Renewal of Policies Renewal Billing Renewal Documents: Endorsement processing Renewals Payments Sample ETest Scenario 2 1 3 4 Exclusive Agent Applications Independent Agent Applications Home Office Staff
  • 12. - 12 - 12 # 1-Data Extraction & Persistence Data Persistence in XML Files DataPersistenceacross machines DataPersistence acrossbatchruns Customer Inquiry, Quote & New Business Customer Machine: Customer Inquiry and Begins Property Quote: (Mobile and Web) Agent Machine: New Business Purchase Under Writer Machine; New Business Agent Machine: Endorsement : Agent Customer Machine: Customer: Login to “Customer Account", Register Batch 1: Customer Inquiry and Begins Property Quote: (Web) Batch 2: New Business Purchase: Agent Batch 3: New Business : Agent Data is getting read by different machines from XML Reference # is persisted in XML and used by script for Policy # generation 1 1 Policy # is persisted used by script and later used other scripts2 2 1 2 •Data is persisted in Shared LAN drive which is accessible by all machines •Data is persisted in form of XMLs for each test case. •XPATH Queries are employed for faster data retrieval
  • 13. - 13 - 13 Test Execution Dependency- Across Batches Customer Inquiry, Quote & New Business Customer Agent Search : (Mobile and Web) Customer creates Quote Customer Inquiry, Quote & New Business Manage Agency by Agent Purchases quote and email validation Validation of New Business Batch 2 • Automated Script generates Execution Control XML for each Test Case • Test Script execution status with other details are captured in XML structure • Execution sets Test Set_Status “Y” in case of Pass “N” for failure • Next Test Script reads XML data and determines if execution is required or not Invoke Next Batch test case if Status=“Y” Stop Execution for test case if Status=“N” STOP Determine Execution is required/not from XML Batch 1 # 2 - Execution Inline with Daily Batch cycles Cross Test Set Dependency with XMLs
  • 14. - 14 - 14 1A 1B 1C E Test Release 1 HP QC Test Lab Folders at Scenario level HP QC Test Lab Folder at Release level Batch1 Batch2 BatchN… Batch1 Batch2 BatchN… Batch1 Batch2 BatchN… HP QC Test Sets at Batch run levels Each Test Set contains specific test scripts to be run as part of E Test Case HPQC identifies available machine in the host group and triggers execution on the available machine within the group. Upon execution completion, test results are reported back to quality center and execution is moved to next test script Machine Groups HP QC Test Cases Batch 1 for 1A contains scripts to be executed before batch cycle process runs #3 - Multiple Machines Execution Hosting in HPQC
  • 15. - 15 - 15 # 4 - CA LISA integration with HPQTP & HPQC CA LISA
  • 16. - 16 - 16 HP Quality Center Mainframe Web Java Enterprise Automation Components (Reusable Functions, Keyword functions, Framework Driver Engine) Platforms Under Test Automation Framework Remote Machines Testers Java Specific Components Web Specific Components Mainframe Specific Components Framework to handle Application Diversity
  • 17. - 17 - Test Case Modeling 17 Application Workflow Payment Work flow Data Data1 Data Work flow Work flow Data Data2 Data3 Data1 Data2 Data3 Data1 Data2 Data3 Modularizing the application workflow by creating multiple reusable Business Process Components (BPCs) Workflow created in excel using action keywords Multiple data sets can be mapped to the same workflow to easily create different data oriented test cases Customer Registration Agent Search Diagrammatic representation of test case modeling Test Case modeling with the framework
  • 18. - 18 - Test Case Modeling 18 ETest Implementation Approach Assessment of ETest Environment and Test Scenarios ETest Automation Feasibility Analysis ETest Implementation Design ETest SOA Validation Implementation ETest SOA validation rollout ETest UI Automation Feasibility Analysis ETest Automation Unique requirements identified ETest Automation Solution Development for requirements Proof Of Concept for ETest Automation Complete Automation Implementation in ETest Rollout of Automation Testing for ETest
  • 19. - 19 - Executive Summary Current State Post Implementation Benefits Quality • Test steps scoped based on available effort • End to End Business scenario validated in base state • Volume test steps execution was increased by 3 times • End to End Business scenario implemented in multiple states • 200% improvement across Tests and ROCs • Improved coverage at backend layer • Increased and consistent validation • Multiple Regression Runs in current window Time • 3-week window to execute E2E tests • 1-week window to execute E2E tests • 33% reduction in the execution window • Creating window for more execution • Reduced turn around time on defect resolution Cost • High manual effort to rerun failed scenarios • Overall team is reduced by 40% • 30% reduction in execution cost • Early validation • Reduced issues and effort during End to End • Lessen manual effort with automation ETest Automation - Post Implementation Analysis
  • 20. - 20 - Executive Summary Additional Benefits of Integrated Automation Solution Predictability  Validation at backend layer resulting in early defect detection  Post implementation UI execution happens on a validated backend layer Portability  Solution can be deployed on E-Test or other environments with minimal effort Coverage  Improve coverage by introducing more validations at all layers of validation Modularity & Scalability  Deploy solution in packages to enable selective run  Ability to run automation scripts for specific scenario category and/or applications.
  • 21. - 21 - Questions & Answers
  • 22. - 22 - Thank you.