Myth vs Reality: Understanding AI/ML for QA Automation - w/ Jonathan Lipps

Applitools
ApplitoolsMarketing Director em Applitools
Myth vs Reality: Understanding AI/ML for QA Automation
Jonathan Lipps • Founding Principal • Cloud Grey


@AppiumDevs • @cloudgrey_io • @jlipps • appiumpro.com
Applitools Webinar · The Internet
January 31, 2020
Founding Principal
Architect, Maintainer
Jonathan Lipps • Founding Principal • Cloud Grey


@AppiumDevs • @cloudgrey_io • @jlipps • appiumpro.com
Intro
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
AI == BS?
😮
@jlipps · cloudgrey.io
“The core feature of a B.S.-industrial
complex is that every member of the
ecosystem knows about the charade, but is
incentivized to keep shoveling.”
source:https://hackerfall.com/story/ai-bs-industrial-complex-and-its-discontents
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
How is AI any different from any other
software technology?
What are AI & ML?
@jlipps · cloudgrey.io
AI: anything a computer does that seems
smart
(not very helpful)
@jlipps · cloudgrey.io
ML: “field of study that gives computers the
ability to learn without being explicitly
programmed.” - Arthur Samuel
(ok that’s a bit better)
@jlipps · cloudgrey.io
Category of ML Main Idea
Supervised Learning Learn a function based on tagged inputs
Unsupervised Learning Learn classifications and patterns in untagged data
Reinforcement Learning
Learn by trial-and-error in a scenario that generates reward
feedback
Deep Learning A specific take on the use of neural networks
@jlipps · cloudgrey.io
Category of ML Use Cases
Supervised Learning
Classify a new instance of data based on a trained model.
Predict a numeric quantity from new data.
Unsupervised Learning
Find patterns in a dataset that are difficult for human
researchers to spot.
Reinforcement Learning
Develop human-like reasoning in a well-defined task
environment.
Deep Learning Attack problems with very complex input data.
@jlipps · cloudgrey.io
Category of ML Examples
Supervised Learning
Given information about a flower’s petal length, shape, and
other details, predict the species of flower.
Unsupervised Learning
Given a huge library of popular music, find natural
groupings of songs and see if they correspond to human
understandings of genre.
Reinforcement Learning Teach a bot to compete against humans in a video game.
Deep Learning
Given an image of an animal, classify it according to the
animal’s species.
@jlipps · cloudgrey.io
Example ML Algorithms / Approaches Main Idea
Linear Regression
Used in supervised learning to learn a function which can
be applied to new inputs to get a scalar output value.
k-Means Clustering
Used in unsupervised learning to partition an n-dimensional
space based on natural groupings of data.
Neural Networks
Used in a variety of applications. Simulates the operations
of neurons to learn the weight of different values in an
input vector.
Generative Adversarial Networks
Pit two neural networks against each other in a kind of
‘imitation game’ in order to produce fake data that passes
for real data.
@jlipps · cloudgrey.io
source: https://medium.com/machine-learning-for-humans/supervised-learning-740383a2feab
@jlipps · cloudgrey.io
source: https://medium.com/machine-learning-for-humans/unsupervised-learning-f45587588294
@jlipps · cloudgrey.io
source: https://www.youtube.com/watch?v=3lp9eN5JE2A&t=1631s
@jlipps · cloudgrey.io
source: https://towardsdatascience.com/understanding-generative-adversarial-networks-gans-cd6e4651a29
AI/ML in QA
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
@jlipps · cloudgrey.io
Categories of “AI” solutions in QA Main Idea
AI in marketing only
Intelligently designed software that doesn’t use machine
learning models.
AI/ML in a supporting role
ML models are used to support features, not as a
replacement for test authoring.
AI/ML as the primary driver of automation
Tests are written and bugs found by autonomous bots
acting on pre- or post-trained ML models.
@jlipps · cloudgrey.io
Categories of “AI” solutions in QA Example
AI in marketing only
Scrape production user activity logs to generate test cases.
Capture multiple selectors for elements to increase test
robustness.
AI/ML in a supporting role
Image recognition models to detect visual differences.
Video quality models give feedback on user-perceived
quality.
AI/ML as the primary driver of automation
You hand off the app to the AI with no additional metadata
and it sends you back bug reports.
Conclusion
@jlipps · cloudgrey.io
AI == BS*
(with a few exceptions)
@jlipps · cloudgrey.io
Do you need “AI” in your testing? Why?
@jlipps · cloudgrey.io
Evaluate technologies based on their actual
ROI, not how well they claim the hype of
the zeitgeist.
@jlipps · cloudgrey.io
A handy question to probe a product with:
“What corpus did you use to train your ML
model?”
@jlipps · cloudgrey.io
Prediction: most actual ROI will be from AI/
ML in supporting roles, for a while yet.
Thank You!
Don’t forget to sign up for
Your free weekly Appium newsletter
appiumpro.com
Jonathan Lipps • Founding Principal • Cloud Grey


@AppiumDevs • @cloudgrey_io • @jlipps • appiumpro.com
1 de 37

Mais conteúdo relacionado

Mais procurados(20)

Implementing Test Automation in Agile ProjectsImplementing Test Automation in Agile Projects
Implementing Test Automation in Agile Projects
Dominik Dary4.6K visualizações
10 Benefits of Automated Testing10 Benefits of Automated Testing
10 Benefits of Automated Testing
TestObject - Mobile Testing89.7K visualizações
Appium vs Espresso and XCUI TestAppium vs Espresso and XCUI Test
Appium vs Espresso and XCUI Test
Perfecto by Perforce3.7K visualizações
Amalgamation of BDD, parallel execution and mobile automationAmalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automation
Agile Testing Alliance3.6K visualizações
ESLint Plugin for UI TestsESLint Plugin for UI Tests
ESLint Plugin for UI Tests
Applitools671 visualizações
React a11y-csunReact a11y-csun
React a11y-csun
Poonam Tathavadkar543 visualizações
Creating testing tools to support developmentCreating testing tools to support development
Creating testing tools to support development
Chema del Barco383 visualizações
I dream of ISPWebI dream of ISPWeb
I dream of ISPWeb
Gil Zilberfeld820 visualizações
How to Leverage XCUITest for Continuous TestingHow to Leverage XCUITest for Continuous Testing
How to Leverage XCUITest for Continuous Testing
Perfecto by Perforce159 visualizações
Shift left-csun-sagar-barbhayaShift left-csun-sagar-barbhaya
Shift left-csun-sagar-barbhaya
SAGAR BARBHAYA600 visualizações
The four generations of test automationThe four generations of test automation
The four generations of test automation
renard_vardy2.3K visualizações

Similar a Myth vs Reality: Understanding AI/ML for QA Automation - w/ Jonathan Lipps

State Of AI 2018State Of AI 2018
State Of AI 2018Karthik Murugesan
286 visualizações156 slides

Similar a Myth vs Reality: Understanding AI/ML for QA Automation - w/ Jonathan Lipps(20)

Adapt or Die: Keynote with Anant JhingranAdapt or Die: Keynote with Anant Jhingran
Adapt or Die: Keynote with Anant Jhingran
Apigee | Google Cloud2.2K visualizações
State Of AI 2018State Of AI 2018
State Of AI 2018
Karthik Murugesan286 visualizações
The Incredible Disappearing Data ScientistThe Incredible Disappearing Data Scientist
The Incredible Disappearing Data Scientist
Rebecca Bilbro318 visualizações
Understanding the New World of Cognitive ComputingUnderstanding the New World of Cognitive Computing
Understanding the New World of Cognitive Computing
DATAVERSITY13.6K visualizações
Machine Learning API'S By Mushahid AliMachine Learning API'S By Mushahid Ali
Machine Learning API'S By Mushahid Ali
Mushahid Ali66 visualizações
Ai open powermeetupmarch25th_latestAi open powermeetupmarch25th_latest
Ai open powermeetupmarch25th_latest
Ganesan Narayanasamy133 visualizações
MLSEV. Machine Learning: Technical PerspectiveMLSEV. Machine Learning: Technical Perspective
MLSEV. Machine Learning: Technical Perspective
BigML, Inc310 visualizações
Ai open powermeetupmarch25thAi open powermeetupmarch25th
Ai open powermeetupmarch25th
IBM29 visualizações
How to use LLMs in synthesizing training data?How to use LLMs in synthesizing training data?
How to use LLMs in synthesizing training data?
Benjaminlapid19 visualizações
Debugging AIDebugging AI
Debugging AI
Dr. Christian Betz195 visualizações
Cognitive Automation - Your AI CoworkerCognitive Automation - Your AI Coworker
Cognitive Automation - Your AI Coworker
Tamilselvan Subramanian6.4K visualizações

Mais de Applitools(20)

The Future of AI-Based Test AutomationThe Future of AI-Based Test Automation
The Future of AI-Based Test Automation
Applitools114 visualizações
Getting Started with Visual TestingGetting Started with Visual Testing
Getting Started with Visual Testing
Applitools262 visualizações
AI-Powered-Cross-Browser TestingAI-Powered-Cross-Browser Testing
AI-Powered-Cross-Browser Testing
Applitools196 visualizações
Future-Proofing Your Automation PipelineFuture-Proofing Your Automation Pipeline
Future-Proofing Your Automation Pipeline
Applitools1.2K visualizações
How to Leverage AI to Enhance UI TestingHow to Leverage AI to Enhance UI Testing
How to Leverage AI to Enhance UI Testing
Applitools756 visualizações

Último(20)

Unleash The MonkeysUnleash The Monkeys
Unleash The Monkeys
Jacob Duijzer7 visualizações
Best Mics For Your Live StreamingBest Mics For Your Live Streaming
Best Mics For Your Live Streaming
ontheflystream6 visualizações
Advanced API Mocking TechniquesAdvanced API Mocking Techniques
Advanced API Mocking Techniques
Dimpy Adhikary17 visualizações
[PHPCon 2023] Blaski i ciebie BDD[PHPCon 2023] Blaski i ciebie BDD
[PHPCon 2023] Blaski i ciebie BDD
Mateusz Zalewski47 visualizações
DevsRankDevsRank
DevsRank
devsrank78610 visualizações
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j31 visualizações
Cycleops - Automate deployments on top of bare metal.pptxCycleops - Automate deployments on top of bare metal.pptx
Cycleops - Automate deployments on top of bare metal.pptx
Thanassis Parathyras29 visualizações
WebAssemblyWebAssembly
WebAssembly
Jens Siebert32 visualizações
 Les nouveautés produit Neo4j Les nouveautés produit Neo4j
Les nouveautés produit Neo4j
Neo4j26 visualizações
What Can Employee Monitoring Software Do?​What Can Employee Monitoring Software Do?​
What Can Employee Monitoring Software Do?​
wAnywhere17 visualizações
LAVADORA ROLO.docxLAVADORA ROLO.docx
LAVADORA ROLO.docx
SamuelRamirez835247 visualizações

Myth vs Reality: Understanding AI/ML for QA Automation - w/ Jonathan Lipps

  • 1. Myth vs Reality: Understanding AI/ML for QA Automation Jonathan Lipps • Founding Principal • Cloud Grey 
 @AppiumDevs • @cloudgrey_io • @jlipps • appiumpro.com Applitools Webinar · The Internet January 31, 2020
  • 2. Founding Principal Architect, Maintainer Jonathan Lipps • Founding Principal • Cloud Grey 
 @AppiumDevs • @cloudgrey_io • @jlipps • appiumpro.com
  • 6. @jlipps · cloudgrey.io “The core feature of a B.S.-industrial complex is that every member of the ecosystem knows about the charade, but is incentivized to keep shoveling.” source:https://hackerfall.com/story/ai-bs-industrial-complex-and-its-discontents
  • 8. @jlipps · cloudgrey.io How is AI any different from any other software technology?
  • 9. What are AI & ML?
  • 10. @jlipps · cloudgrey.io AI: anything a computer does that seems smart (not very helpful)
  • 11. @jlipps · cloudgrey.io ML: “field of study that gives computers the ability to learn without being explicitly programmed.” - Arthur Samuel (ok that’s a bit better)
  • 12. @jlipps · cloudgrey.io Category of ML Main Idea Supervised Learning Learn a function based on tagged inputs Unsupervised Learning Learn classifications and patterns in untagged data Reinforcement Learning Learn by trial-and-error in a scenario that generates reward feedback Deep Learning A specific take on the use of neural networks
  • 13. @jlipps · cloudgrey.io Category of ML Use Cases Supervised Learning Classify a new instance of data based on a trained model. Predict a numeric quantity from new data. Unsupervised Learning Find patterns in a dataset that are difficult for human researchers to spot. Reinforcement Learning Develop human-like reasoning in a well-defined task environment. Deep Learning Attack problems with very complex input data.
  • 14. @jlipps · cloudgrey.io Category of ML Examples Supervised Learning Given information about a flower’s petal length, shape, and other details, predict the species of flower. Unsupervised Learning Given a huge library of popular music, find natural groupings of songs and see if they correspond to human understandings of genre. Reinforcement Learning Teach a bot to compete against humans in a video game. Deep Learning Given an image of an animal, classify it according to the animal’s species.
  • 15. @jlipps · cloudgrey.io Example ML Algorithms / Approaches Main Idea Linear Regression Used in supervised learning to learn a function which can be applied to new inputs to get a scalar output value. k-Means Clustering Used in unsupervised learning to partition an n-dimensional space based on natural groupings of data. Neural Networks Used in a variety of applications. Simulates the operations of neurons to learn the weight of different values in an input vector. Generative Adversarial Networks Pit two neural networks against each other in a kind of ‘imitation game’ in order to produce fake data that passes for real data.
  • 16. @jlipps · cloudgrey.io source: https://medium.com/machine-learning-for-humans/supervised-learning-740383a2feab
  • 17. @jlipps · cloudgrey.io source: https://medium.com/machine-learning-for-humans/unsupervised-learning-f45587588294
  • 18. @jlipps · cloudgrey.io source: https://www.youtube.com/watch?v=3lp9eN5JE2A&t=1631s
  • 19. @jlipps · cloudgrey.io source: https://towardsdatascience.com/understanding-generative-adversarial-networks-gans-cd6e4651a29
  • 29. @jlipps · cloudgrey.io Categories of “AI” solutions in QA Main Idea AI in marketing only Intelligently designed software that doesn’t use machine learning models. AI/ML in a supporting role ML models are used to support features, not as a replacement for test authoring. AI/ML as the primary driver of automation Tests are written and bugs found by autonomous bots acting on pre- or post-trained ML models.
  • 30. @jlipps · cloudgrey.io Categories of “AI” solutions in QA Example AI in marketing only Scrape production user activity logs to generate test cases. Capture multiple selectors for elements to increase test robustness. AI/ML in a supporting role Image recognition models to detect visual differences. Video quality models give feedback on user-perceived quality. AI/ML as the primary driver of automation You hand off the app to the AI with no additional metadata and it sends you back bug reports.
  • 32. @jlipps · cloudgrey.io AI == BS* (with a few exceptions)
  • 33. @jlipps · cloudgrey.io Do you need “AI” in your testing? Why?
  • 34. @jlipps · cloudgrey.io Evaluate technologies based on their actual ROI, not how well they claim the hype of the zeitgeist.
  • 35. @jlipps · cloudgrey.io A handy question to probe a product with: “What corpus did you use to train your ML model?”
  • 36. @jlipps · cloudgrey.io Prediction: most actual ROI will be from AI/ ML in supporting roles, for a while yet.
  • 37. Thank You! Don’t forget to sign up for Your free weekly Appium newsletter appiumpro.com Jonathan Lipps • Founding Principal • Cloud Grey 
 @AppiumDevs • @cloudgrey_io • @jlipps • appiumpro.com