SlideShare a Scribd company logo
1 of 19
Download to read offline
©Unpickle, 2016. All Rights Reserved - Privileged and Confidentialwww.unpickle.in
Automated testing of software
applications using Machine Learning
Milind Kelkar
Chief Analytics Officer
August 05, 2016
1
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
CONFERENCE PROGRAM AUG 05, 2016
2
• STePIN SUMMIT 2016
• Conference Day 2
• Park Plaza, Bangalore, India
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Today’s Agenda
3
• What is Machine Learning (ML)
• Framework to leverage ML
• Software Testing Use Cases
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Support
Vector
Machine
Machine Learning Techniques
4
Deep
Learning
Dimension
Reduction
Regression
Anomaly Detection Classification
Ensemble Bayes
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Deep Learning
5
ww.huffingtonpost.com
Driverless Car using Neural Networks
Stay on
Course
Accelerator
Brakes
Steering
Wheel
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential 6
Zebra or
Horse
Stripes
Yes
SLP MLP ABT
No
GBN PNN
Classification
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Why Machine Learning for Testing
7
• Embed a “robot” inside a program
– Fast, consistent conformance of a product to requirements
• Real time decisioning
– Reduce time to test and monitor
• Software applications we cannot program by hand
– Analyse the weaknesses of test suites so as to be able to
iteratively improve them
• Self-Customization Programs
– Auto-correct complexity of the software application
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
T
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Framework to leverage ML
8
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Leveraging Machine Learning (ML)
9
Machines testing software applications
Machines masquerading as Humans
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Summarizing Machine Learning
10
• Virtual Assistant
• Re-engineering of
test suites
• Driverless Car
• Adaptive
Automation
• Spam detection
• Software Defect
Prediction
• Intelligent Search
• Live Validation
Humans RationalActThink
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Software defect prediction in 3 steps
11
• Goal of Machine Learning
1. BUILD computer systems
2. Learn from EXPERIENCE
3. Improve PERFORMANCE over experience
1. BUILD
% of code correctly classified as “defect”
or “not a defect”
Machine classifying a line code as “defect”
or “not a defect”
2. EXPERIENCEMachine - Learning from YOU labelling a
code as “defect” or “not a defect”
3. PERFORM
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Software defect prediction
12
Occurrence of corrections to a tested file
Physical
Line of
Code
Total Line
count
Blank Line
of Code
Comment
Line of
Code
Coupling
between
Objects
Cyclomatic
Complexity
Number
Weighted
Methods per
Class
Depth of
Inheritance
Tree
Source Code
Metric Set
Test Source Code
Metric Set
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Intelligent Search
13
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Live Validation - Infer
14
• Finding Bugs before it goes Live
• Potential issues and bad coding habits
• Guesses rationally
• Spot bugs in minutes
• Fix rate of about 80 percent
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Adaptive Automation – Test Case Generation
15
• Adaptive Automation: Leveraging Machine Learning to Support Uninterrupted Automated Testing of Software
Application; Rajesh Mathur, Scott Miles, Miao Du arXiv:1508.00671v1 [cs.SE] 4 Aug 2015
1. Automatically exploring the screens or
pages
2. Generating tests which exercise all of the
discovered fields
3. Guide the values used in the test cases
4. Employ a database of common field
names and associated formats
5. Historical user interaction logs to test
most often used navigation paths
Check that it
only accepts
mobile formats
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Act like Humans
16
Commercial Bank of Dubai
https://www.cbd.ae/
Virtual Assistant on the Website
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Link Problems to Test Cases
17
• Using Machine Learning to Refine Black-Box Test Specifications and Test Suites; Lionel
C. Briand ; Yvan Labiche; Zaheer Bawar; (2007)
Problems Causes
Misspecification
Missed Category
Unused
Categories
Ill-defined
Choices
Missing Test
Cases
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Languages for Machine Learning
18
• Prolog
• Python
• R
• Matlab
• Scala
• Clojure
• Ruby
• Rapidminer
• Java
• Weka Toolkit
• SpringXD
• Mahout
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
T
©Unpickle, 2016. All Rights Reserved - Privileged and Confidential
Thank You
19

More Related Content

Similar to Automated testing of software applications using machine learning edited

Swiss Army Knife for Automation Testing
Swiss Army Knife for Automation TestingSwiss Army Knife for Automation Testing
Swiss Army Knife for Automation TestingAbhishek Kant
 
Ensuring Maximum Quality in the Era of IoT and Wearables
Ensuring Maximum Quality in the Era of IoT and WearablesEnsuring Maximum Quality in the Era of IoT and Wearables
Ensuring Maximum Quality in the Era of IoT and WearablesJosiah Renaudin
 
Codeless Test Automation - Myth or Magic
Codeless Test Automation - Myth or MagicCodeless Test Automation - Myth or Magic
Codeless Test Automation - Myth or MagicAdam Sandman
 
5 Keys to Your Best Automated Testing Strategy
5 Keys to Your Best Automated Testing Strategy5 Keys to Your Best Automated Testing Strategy
5 Keys to Your Best Automated Testing StrategySOASTA
 
3 tips to increase mobile test coverage
3 tips to increase mobile test coverage3 tips to increase mobile test coverage
3 tips to increase mobile test coverageSOASTA
 
Test Automation Seminar Momentum
Test Automation Seminar MomentumTest Automation Seminar Momentum
Test Automation Seminar MomentumMomentum NI
 
Bhabani Shankar Behera_CV
Bhabani Shankar Behera_CVBhabani Shankar Behera_CV
Bhabani Shankar Behera_CVchiku134
 
Real Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingReal Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingSauce Labs
 
Amalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automationAmalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automationAgile Testing Alliance
 
Test Masters 2016 Spring Conference
Test Masters 2016 Spring ConferenceTest Masters 2016 Spring Conference
Test Masters 2016 Spring ConferenceAdam Sandman
 
D-CAST: The Future of Agile Testing Meetup
D-CAST: The Future of Agile Testing MeetupD-CAST: The Future of Agile Testing Meetup
D-CAST: The Future of Agile Testing MeetupAdam Sandman
 
B4usolution_AI for automation
B4usolution_AI for automationB4usolution_AI for automation
B4usolution_AI for automationb4usolution .
 
Mobile Automation: Lessons From The Trenches
Mobile Automation: Lessons From The TrenchesMobile Automation: Lessons From The Trenches
Mobile Automation: Lessons From The TrenchesAshok Karania
 
Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...
Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...
Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...Infostretch
 
Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...
Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...
Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...DevOps.com
 
Crowd4Test business_proposal
Crowd4Test business_proposalCrowd4Test business_proposal
Crowd4Test business_proposalRanganadh Damera
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemSundar Sritharan
 
Softwere Testing Aplication Specific Techniques
Softwere Testing Aplication Specific TechniquesSoftwere Testing Aplication Specific Techniques
Softwere Testing Aplication Specific Techniquesmaharajdey
 
Siva Sharan P Resume
Siva Sharan P ResumeSiva Sharan P Resume
Siva Sharan P ResumePinupolu Siva
 

Similar to Automated testing of software applications using machine learning edited (20)

Swiss Army Knife for Automation Testing
Swiss Army Knife for Automation TestingSwiss Army Knife for Automation Testing
Swiss Army Knife for Automation Testing
 
Ensuring Maximum Quality in the Era of IoT and Wearables
Ensuring Maximum Quality in the Era of IoT and WearablesEnsuring Maximum Quality in the Era of IoT and Wearables
Ensuring Maximum Quality in the Era of IoT and Wearables
 
Codeless Test Automation - Myth or Magic
Codeless Test Automation - Myth or MagicCodeless Test Automation - Myth or Magic
Codeless Test Automation - Myth or Magic
 
5 Keys to Your Best Automated Testing Strategy
5 Keys to Your Best Automated Testing Strategy5 Keys to Your Best Automated Testing Strategy
5 Keys to Your Best Automated Testing Strategy
 
3 tips to increase mobile test coverage
3 tips to increase mobile test coverage3 tips to increase mobile test coverage
3 tips to increase mobile test coverage
 
Test Automation Seminar Momentum
Test Automation Seminar MomentumTest Automation Seminar Momentum
Test Automation Seminar Momentum
 
Bhabani Shankar Behera_CV
Bhabani Shankar Behera_CVBhabani Shankar Behera_CV
Bhabani Shankar Behera_CV
 
Real Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingReal Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated Testing
 
Amalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automationAmalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automation
 
Test Masters 2016 Spring Conference
Test Masters 2016 Spring ConferenceTest Masters 2016 Spring Conference
Test Masters 2016 Spring Conference
 
D-CAST: The Future of Agile Testing Meetup
D-CAST: The Future of Agile Testing MeetupD-CAST: The Future of Agile Testing Meetup
D-CAST: The Future of Agile Testing Meetup
 
B4usolution_AI for automation
B4usolution_AI for automationB4usolution_AI for automation
B4usolution_AI for automation
 
Mobile Automation: Lessons From The Trenches
Mobile Automation: Lessons From The TrenchesMobile Automation: Lessons From The Trenches
Mobile Automation: Lessons From The Trenches
 
Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...
Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...
Hyper-connected apps: Hyper-Connected Apps: Testing Peripherals and Mobile Ap...
 
Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...
Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...
Continuous Testing vs Test Automation Share on Facebook Share on LinkedIn Sha...
 
Crowd4Test business_proposal
Crowd4Test business_proposalCrowd4Test business_proposal
Crowd4Test business_proposal
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
 
Automation_testing
Automation_testingAutomation_testing
Automation_testing
 
Softwere Testing Aplication Specific Techniques
Softwere Testing Aplication Specific TechniquesSoftwere Testing Aplication Specific Techniques
Softwere Testing Aplication Specific Techniques
 
Siva Sharan P Resume
Siva Sharan P ResumeSiva Sharan P Resume
Siva Sharan P Resume
 

Recently uploaded

Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...Suhani Kapoor
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxTanveerAhmed817946
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 

Recently uploaded (20)

Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 

Automated testing of software applications using machine learning edited

  • 1. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidentialwww.unpickle.in Automated testing of software applications using Machine Learning Milind Kelkar Chief Analytics Officer August 05, 2016 1
  • 2. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential CONFERENCE PROGRAM AUG 05, 2016 2 • STePIN SUMMIT 2016 • Conference Day 2 • Park Plaza, Bangalore, India
  • 3. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Today’s Agenda 3 • What is Machine Learning (ML) • Framework to leverage ML • Software Testing Use Cases
  • 4. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Support Vector Machine Machine Learning Techniques 4 Deep Learning Dimension Reduction Regression Anomaly Detection Classification Ensemble Bayes
  • 5. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Deep Learning 5 ww.huffingtonpost.com Driverless Car using Neural Networks Stay on Course Accelerator Brakes Steering Wheel
  • 6. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential 6 Zebra or Horse Stripes Yes SLP MLP ABT No GBN PNN Classification
  • 7. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Why Machine Learning for Testing 7 • Embed a “robot” inside a program – Fast, consistent conformance of a product to requirements • Real time decisioning – Reduce time to test and monitor • Software applications we cannot program by hand – Analyse the weaknesses of test suites so as to be able to iteratively improve them • Self-Customization Programs – Auto-correct complexity of the software application
  • 8. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential T ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Framework to leverage ML 8
  • 9. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Leveraging Machine Learning (ML) 9 Machines testing software applications Machines masquerading as Humans
  • 10. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Summarizing Machine Learning 10 • Virtual Assistant • Re-engineering of test suites • Driverless Car • Adaptive Automation • Spam detection • Software Defect Prediction • Intelligent Search • Live Validation Humans RationalActThink
  • 11. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Software defect prediction in 3 steps 11 • Goal of Machine Learning 1. BUILD computer systems 2. Learn from EXPERIENCE 3. Improve PERFORMANCE over experience 1. BUILD % of code correctly classified as “defect” or “not a defect” Machine classifying a line code as “defect” or “not a defect” 2. EXPERIENCEMachine - Learning from YOU labelling a code as “defect” or “not a defect” 3. PERFORM
  • 12. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Software defect prediction 12 Occurrence of corrections to a tested file Physical Line of Code Total Line count Blank Line of Code Comment Line of Code Coupling between Objects Cyclomatic Complexity Number Weighted Methods per Class Depth of Inheritance Tree Source Code Metric Set Test Source Code Metric Set
  • 13. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Intelligent Search 13
  • 14. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Live Validation - Infer 14 • Finding Bugs before it goes Live • Potential issues and bad coding habits • Guesses rationally • Spot bugs in minutes • Fix rate of about 80 percent
  • 15. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Adaptive Automation – Test Case Generation 15 • Adaptive Automation: Leveraging Machine Learning to Support Uninterrupted Automated Testing of Software Application; Rajesh Mathur, Scott Miles, Miao Du arXiv:1508.00671v1 [cs.SE] 4 Aug 2015 1. Automatically exploring the screens or pages 2. Generating tests which exercise all of the discovered fields 3. Guide the values used in the test cases 4. Employ a database of common field names and associated formats 5. Historical user interaction logs to test most often used navigation paths Check that it only accepts mobile formats
  • 16. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Act like Humans 16 Commercial Bank of Dubai https://www.cbd.ae/ Virtual Assistant on the Website
  • 17. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Link Problems to Test Cases 17 • Using Machine Learning to Refine Black-Box Test Specifications and Test Suites; Lionel C. Briand ; Yvan Labiche; Zaheer Bawar; (2007) Problems Causes Misspecification Missed Category Unused Categories Ill-defined Choices Missing Test Cases
  • 18. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Languages for Machine Learning 18 • Prolog • Python • R • Matlab • Scala • Clojure • Ruby • Rapidminer • Java • Weka Toolkit • SpringXD • Mahout
  • 19. ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential T ©Unpickle, 2016. All Rights Reserved - Privileged and Confidential Thank You 19