SlideShare a Scribd company logo
1 of 27
Download to read offline
Analytics in Quality Assurance
Rohit Vyas
Sr. QE
Certification Team, Pune(IN)
About Me
● QA Engineer
● Sr. QA Lead
● Sr. QE
– 366 Days on 25th Jan -2017
Leveraging Analytics in QA
Predictive Analysis
Predictive Analysis
Current QA Challenges
● What all testcases need to be executed to minimize
the defect leakage rate < 10% and maximize the
coverage > 90%?
● Identify the tests to be included in test suite which can
be executed with resources <=5 and time_duration
<10 days with severity defects= 0% ? (Min(Tc))
● Number of resources required to execute test suite
with min(Tc) for ModuleX with min(defect leakage
rate) within min(testing time frame)?
Role of Predictive Analytics In QA
● TC Prioritization in RR
● Resource utilization
● Report generation
Why TCP?
TCP ?
● Focus on ranking all existing TC without eliminating.
Detect Fault Soon.
● Executes TC's in given order until the testing budget is
exhausted.
TCP Effect
0 2 4 6 8 10 12 14 16 18
0
10
20
30
40
50
60
Bugs
0 2 4 6 8 10 12 14 16 18
0
10
20
30
40
50
60
70
Bugs
How TCP ?
Techniques for TCP
● Text diversity-based Prioritization
AllDist(Ti,PS,d)= Min{d(Ti,Tj)} | Tj PS
● Topic diversity-based
● History Based clustering
● C 1 = { tc x — tc x 2 FT(n) }
● C 2 = { tc x — tc x 62 C1 AND tc x 2 FT(n-1) }
● C 3 = { tc x — tc x 62 [(C 1 ,C 2 ) AND tc x 2 FT(n-2)}
Inputs For TCP.
● Change information
● Historical Fault detection
● Dynamic and Static Coverage Data
● SRD
● Test Scripts
Data Sources
System Under Test
Type Release Total Test New Test %New Test Median Old
Test
TR 3.0 580 398 68% 1
RR 5.5 1055 39 4% 4
Type Release Release
Date
No. Of test No. of Faults Failure Rate
RR 3.0 1/12/2016 580 127 21.90%
RR 4.0 25/12/2016 1055 6 0.57%
K Mean Clustering
● Assume Euclidean space/distance
● Start picking k , the number of clusters
● Initialize clusters by picking one point per clusters and
find the minimum distance
● Repeat for all the clusters
Resource Allocation
● Right Tester/QA ?
● QA score
● How well QA handles Deadline Meets
● Resource allocation predictions based on the Analysis
● Predict the success rate of project with n number of
resources having 5+ years of domain expertise QA
within min(time_frame)
Resource Allocation Problems
Understand your Resource
● Identifying the Performance [Demographic, Gender
Biased, Skills]
● Resource Allocation in RR & TR
● Resources Churn Detection
Data Sets
Proje
ct
ID Age Gend
er
Marital
Status
Issues
Reporte
d
Priori
ty of
Bug
Relea
se
Time
Locat
ion
Project
Complexit
y
aaa a123 23 M S 12 xx xx xx xx
Project Complexity Age Gender Domain Expertise Interest Level
xx xx xx xx xx xx xx
Data Source
Reports
Metrics That Matters
● Analytical Reports
– Add values to current test tools generated reports
on better explaining the data collected and will be
useful for future prediction and forecasting.
Metrics That Matters
● Measuring the Doneness
● Resource Allocation
● Measuring Performance and biases
● Beyond the Check Marks
Tools
● R
● Statpro
● Excel or LibreOffice for Regression
References
● Test case prioritization
http://sealab.cs.umanitoba.ca/wp-content/uploads/2
016/07/Published.pdf
qe_camp_17
qe_camp_17

More Related Content

Similar to qe_camp_17

Test Estimation
Test Estimation Test Estimation
Test Estimation SQALab
 
Measuring your way_to_successful_automation_webinar
Measuring your way_to_successful_automation_webinarMeasuring your way_to_successful_automation_webinar
Measuring your way_to_successful_automation_webinarSauce Labs
 
An Agile Testing Dashboard: Metrics that Matter
An Agile Testing Dashboard: Metrics that MatterAn Agile Testing Dashboard: Metrics that Matter
An Agile Testing Dashboard: Metrics that MatterTechWell
 
Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2Perfecto by Perforce
 
Overview of test process improvement framework
Overview of test process improvement frameworkOverview of test process improvement framework
Overview of test process improvement frameworkQA Club Kiev
 
Overview of test process improvement framework
Overview of test process improvement frameworkOverview of test process improvement framework
Overview of test process improvement frameworkCiklum Ukraine
 
Test case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxTest case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxmaheshwari581940
 
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdfSarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdfQA or the Highway
 
Day 1 1620 - 1705 - maple - pranabendu bhattacharyya
Day 1   1620 - 1705 - maple - pranabendu bhattacharyyaDay 1   1620 - 1705 - maple - pranabendu bhattacharyya
Day 1 1620 - 1705 - maple - pranabendu bhattacharyyaPMI2011
 
Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02
Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02
Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02PMI_IREP_TP
 
Acceptance Testing
Acceptance TestingAcceptance Testing
Acceptance Testingrosman
 
2 anton muzhailo - formal test process improvement. how to invest to the te...
2   anton muzhailo - formal test process improvement. how to invest to the te...2   anton muzhailo - formal test process improvement. how to invest to the te...
2 anton muzhailo - formal test process improvement. how to invest to the te...Ievgenii Katsan
 
Testing fundamentals in a changing world
Testing fundamentals in a changing worldTesting fundamentals in a changing world
Testing fundamentals in a changing worldPractiTest
 
Estimator Metrics STC 2009
Estimator Metrics STC 2009Estimator Metrics STC 2009
Estimator Metrics STC 2009Amit Bhardwaj
 
Estimates in Software Development and Testing
Estimates in Software Development and TestingEstimates in Software Development and Testing
Estimates in Software Development and TestingQualityAssuranceGroup
 
Risk based testing and random testing
Risk based testing and random testingRisk based testing and random testing
Risk based testing and random testingHimanshu
 
An analytical approach to effective risk based test planning
An analytical approach to effective risk based test planning An analytical approach to effective risk based test planning
An analytical approach to effective risk based test planning Joe Kevens
 

Similar to qe_camp_17 (20)

Srinivas_Resume
Srinivas_ResumeSrinivas_Resume
Srinivas_Resume
 
Test Estimation
Test Estimation Test Estimation
Test Estimation
 
Measuring your way_to_successful_automation_webinar
Measuring your way_to_successful_automation_webinarMeasuring your way_to_successful_automation_webinar
Measuring your way_to_successful_automation_webinar
 
Six sigma
Six sigmaSix sigma
Six sigma
 
An Agile Testing Dashboard: Metrics that Matter
An Agile Testing Dashboard: Metrics that MatterAn Agile Testing Dashboard: Metrics that Matter
An Agile Testing Dashboard: Metrics that Matter
 
[Vu Van Nguyen] Test Estimation in Practice
[Vu Van Nguyen]  Test Estimation in Practice[Vu Van Nguyen]  Test Estimation in Practice
[Vu Van Nguyen] Test Estimation in Practice
 
Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2
 
Overview of test process improvement framework
Overview of test process improvement frameworkOverview of test process improvement framework
Overview of test process improvement framework
 
Overview of test process improvement framework
Overview of test process improvement frameworkOverview of test process improvement framework
Overview of test process improvement framework
 
Test case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxTest case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptx
 
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdfSarah Geisinger - Continious Testing Metrics That Matter.pdf
Sarah Geisinger - Continious Testing Metrics That Matter.pdf
 
Day 1 1620 - 1705 - maple - pranabendu bhattacharyya
Day 1   1620 - 1705 - maple - pranabendu bhattacharyyaDay 1   1620 - 1705 - maple - pranabendu bhattacharyya
Day 1 1620 - 1705 - maple - pranabendu bhattacharyya
 
Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02
Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02
Day1 1620-1705-maple-pranabendubhattacharyya-131008043643-phpapp02
 
Acceptance Testing
Acceptance TestingAcceptance Testing
Acceptance Testing
 
2 anton muzhailo - formal test process improvement. how to invest to the te...
2   anton muzhailo - formal test process improvement. how to invest to the te...2   anton muzhailo - formal test process improvement. how to invest to the te...
2 anton muzhailo - formal test process improvement. how to invest to the te...
 
Testing fundamentals in a changing world
Testing fundamentals in a changing worldTesting fundamentals in a changing world
Testing fundamentals in a changing world
 
Estimator Metrics STC 2009
Estimator Metrics STC 2009Estimator Metrics STC 2009
Estimator Metrics STC 2009
 
Estimates in Software Development and Testing
Estimates in Software Development and TestingEstimates in Software Development and Testing
Estimates in Software Development and Testing
 
Risk based testing and random testing
Risk based testing and random testingRisk based testing and random testing
Risk based testing and random testing
 
An analytical approach to effective risk based test planning
An analytical approach to effective risk based test planning An analytical approach to effective risk based test planning
An analytical approach to effective risk based test planning
 

qe_camp_17

  • 1. Analytics in Quality Assurance Rohit Vyas Sr. QE Certification Team, Pune(IN)
  • 2. About Me ● QA Engineer ● Sr. QA Lead ● Sr. QE – 366 Days on 25th Jan -2017
  • 5.
  • 7. Current QA Challenges ● What all testcases need to be executed to minimize the defect leakage rate < 10% and maximize the coverage > 90%? ● Identify the tests to be included in test suite which can be executed with resources <=5 and time_duration <10 days with severity defects= 0% ? (Min(Tc)) ● Number of resources required to execute test suite with min(Tc) for ModuleX with min(defect leakage rate) within min(testing time frame)?
  • 8. Role of Predictive Analytics In QA ● TC Prioritization in RR ● Resource utilization ● Report generation
  • 10. TCP ? ● Focus on ranking all existing TC without eliminating. Detect Fault Soon. ● Executes TC's in given order until the testing budget is exhausted.
  • 11. TCP Effect 0 2 4 6 8 10 12 14 16 18 0 10 20 30 40 50 60 Bugs 0 2 4 6 8 10 12 14 16 18 0 10 20 30 40 50 60 70 Bugs
  • 12. How TCP ? Techniques for TCP ● Text diversity-based Prioritization AllDist(Ti,PS,d)= Min{d(Ti,Tj)} | Tj PS ● Topic diversity-based ● History Based clustering ● C 1 = { tc x — tc x 2 FT(n) } ● C 2 = { tc x — tc x 62 C1 AND tc x 2 FT(n-1) } ● C 3 = { tc x — tc x 62 [(C 1 ,C 2 ) AND tc x 2 FT(n-2)}
  • 13. Inputs For TCP. ● Change information ● Historical Fault detection ● Dynamic and Static Coverage Data ● SRD ● Test Scripts
  • 15. System Under Test Type Release Total Test New Test %New Test Median Old Test TR 3.0 580 398 68% 1 RR 5.5 1055 39 4% 4 Type Release Release Date No. Of test No. of Faults Failure Rate RR 3.0 1/12/2016 580 127 21.90% RR 4.0 25/12/2016 1055 6 0.57%
  • 16. K Mean Clustering ● Assume Euclidean space/distance ● Start picking k , the number of clusters ● Initialize clusters by picking one point per clusters and find the minimum distance ● Repeat for all the clusters
  • 17. Resource Allocation ● Right Tester/QA ? ● QA score ● How well QA handles Deadline Meets
  • 18. ● Resource allocation predictions based on the Analysis ● Predict the success rate of project with n number of resources having 5+ years of domain expertise QA within min(time_frame) Resource Allocation Problems
  • 19. Understand your Resource ● Identifying the Performance [Demographic, Gender Biased, Skills] ● Resource Allocation in RR & TR ● Resources Churn Detection
  • 20. Data Sets Proje ct ID Age Gend er Marital Status Issues Reporte d Priori ty of Bug Relea se Time Locat ion Project Complexit y aaa a123 23 M S 12 xx xx xx xx Project Complexity Age Gender Domain Expertise Interest Level xx xx xx xx xx xx xx
  • 22. Reports Metrics That Matters ● Analytical Reports – Add values to current test tools generated reports on better explaining the data collected and will be useful for future prediction and forecasting.
  • 23. Metrics That Matters ● Measuring the Doneness ● Resource Allocation ● Measuring Performance and biases ● Beyond the Check Marks
  • 24. Tools ● R ● Statpro ● Excel or LibreOffice for Regression
  • 25. References ● Test case prioritization http://sealab.cs.umanitoba.ca/wp-content/uploads/2 016/07/Published.pdf