®
WEBINAR: Automation Demystified
Part 7: AI in Test Automation. When to expect
The Raise of Machines?
• August 7th, 2019 – Alexey Grinevich, alexey@inflectra.com
We will be starting the webinar shortly, please stand by…
All phones will be automatically on mute until the Q&A.
®
2 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Webinar Series: Useful Information
• Housekeeping Matters
• Post Webinar Follow-Up:
• Blog
• Webinar Recording
• Presentation On Slideshare
• Post-Webinar Quiz
• Webinar Series: Test Automation,
Demystified
• Webinar Series Certificate Rules &
FAQs
®
3 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Hey, I am Alexey
• Working on Rapise test
automation tool @Inflectra
• 20 years in software
development
• 10 years in test automation
• Twitter: @AlexeyGrinevich
• Email: alexey@Inflectra.com
®
4 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Topics
 Levels of Testing Automation
 Cars vs Software
 What is Testing?
 Swim Lanes
 Current Level
 When to Expect Level 4?
 What to Do About It?
®
5 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
®
6 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Same for Automated Testing?
Driving Software Testing
A Car Software Application
A Driver Human or Robot Tester
The Road Network ???
From Address 1 to Address 2 Perform Testing
®
7 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
The Road
®
8 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
The Road in Software Testing
 Lanes are Forms, Controls and API entry points
 Road signs and Map are specifications and documentation
 Route is a scenario
®
9 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
The Goal
Get from Address 1 to Address 2
 
Perform Testing
®
10 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
What is Testing
 Finding bugs.
 Looking for crashes.
 Checking that application can be used for its purpose.
 Checking that application confirms to the specification.
 Deciding if an application may go to the production.
 Validating that application is secure and does not expose private or restricted information
outside (security testing).
 Checking that application is able to serve required load (load testing).
 Comparison testing (to similar product).
 Regression testing (compare to previous version of the same product)
 Localization testing (product works for multiple countries).
 Usability testing.
 Documentation testing.
 … more …, much more.
®
11 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
So Testing Is…
 No Common Meaning
 One of the goals – define testing for specific application
 Currently Done Manually
®
12 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
4 Swim Lanes
 Software Interaction
 Scenario Creation
 Model / Specification Creation
 Goals / Targets / Acceptance Creteria
®
13 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Swim Lane State
No AI (Manual)
Partial AI
Full AI
®
14 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Swim Lane 1: Software Interaction
 Find controls on the screen.
 Click / Select / Set Text / ETC
 Most well developed lane.
 Partial AI and expect Full AI
®
15 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Swim Lane 2: Scenario Creation
 Create Scenarios based on
 Specifications
 Documentation
 Logs / Traces
 Monkey Testing
 Currently No AI to Partial AI
®
16 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Swim Lane 3: Model / Specification
 Formal Specifications
 Gherkin/Cucumber
 Diagrams
 Finite State Machines
 Currently No AI to Partial AI
®
17 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Swim Lane 4: Goals and Criteria
 Sometimes goals are known
 100% Code Coverage
 99.9% Fault Tolerance
 Size Limitations
 defined by Tester or QA eng.
 Currently No AI
®
18 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Summary on Automation
Interaction Scenarios Model / Spec Goals / Targets
Manual Level 1
Partial Level 2
Full Level 3 Level 4
®
19 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
What is Currently Done
Rapise Applitools Functionize Mabl ReTest Test.ai TestCraft Testim
From Natural Language V V
Find elements like a Person V
Visual Testing V V V
Self-Healing Locators V V V V V V V
Monkey Testing V
®
20 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Where are we?
 Level 2
 Some Swim Lanes moving to Level 3.
®
21 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Rapise
 Self-Healing
 Moz 500 Analysis
 Web Profiles
®
22 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
®
23 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
®
24 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Moz 500
®
25 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Level 4: When?
 Level 3: When?
 Let’s look into history
®
26 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Trains
 London Underground's Victoria line – 1967
 ATO (Automatic Train Operation)
 Grade of Automation (GoA) GoA 0 to GoA 4
 There are several lines operating at GoA 4 (unattended train
operation) and more to appear within next few years
®
27 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Auto Pilot
 Was there in 1930
 But still no fully automatic
passenger air travels
®
28 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Infrastructure
 Road quality, regulations
 Supplementary technologies (sensors, scanners, EBS, ABS,
Cruise Control, ML, Computer Vision)
 Global Infrastructure:
 GPS / Glonass / Galileo
 CAT IIIb landing or Autoland
 Demand. The way we use cars changes
 Bikes
 Public transportation
 Uber
 High speed trains
®
29 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
How it Affects Software Automation?
 Infrastructure actively changes
 Quick Delivery
 Test by Users
 Software is Flexible
 Microservice Architecture
 Lass fault tolerant
 Flaky by Nature
 Accessibility Standards
 Iaccessible
 ARIA
®
30 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
What Affects AI Adoption
 Infrastructure
 Short Release Cycles
 AI
 So Primary Focus is:
 Application Lifetime Management (Spira)
 Automated Test Maintainability (Rapise)
®
31 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Summary
 So When Is Level 4?
 Sir Antony Hoare
 Null pointer
 Quick Sort
 Hoar monitors
®
32 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Global Challenge
 The Verifying Compiler: A Grand Challenge for Computing
Research’
As an example drawn from Computer Science, I revive
an old challenge: the construction and application of a
verifying compiler that guarantees correctness of a program
before running it.
 Way to Avoid Programmers and thus Testers
 2055
®
33 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
The World Changes an Unexpected Way
®
34 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Stay Calm
 Machine Learning vs AI
 Boston Dynamics (no ML)
 AlphaGo (19x19 -> 9x9)
®
35 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Questions are Welcome
Contact me
• Twitter: @AlexeyGrinevich
• Email: alexey@inflectra.com
• Web: https://www.inflectra.com/Rapise/
®
36 | 8/7/2019 © Copyright 2006-2019 Inflectra Corporation
Q&A
Thank You for Watching
Subscribe to Our Channel for More Videos on Software Testing

AI in Test Automation

  • 1.
    ® WEBINAR: Automation Demystified Part7: AI in Test Automation. When to expect The Raise of Machines? • August 7th, 2019 – Alexey Grinevich, alexey@inflectra.com We will be starting the webinar shortly, please stand by… All phones will be automatically on mute until the Q&A.
  • 2.
    ® 2 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Webinar Series: Useful Information • Housekeeping Matters • Post Webinar Follow-Up: • Blog • Webinar Recording • Presentation On Slideshare • Post-Webinar Quiz • Webinar Series: Test Automation, Demystified • Webinar Series Certificate Rules & FAQs
  • 3.
    ® 3 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Hey, I am Alexey • Working on Rapise test automation tool @Inflectra • 20 years in software development • 10 years in test automation • Twitter: @AlexeyGrinevich • Email: alexey@Inflectra.com
  • 4.
    ® 4 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Topics  Levels of Testing Automation  Cars vs Software  What is Testing?  Swim Lanes  Current Level  When to Expect Level 4?  What to Do About It?
  • 5.
    ® 5 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation
  • 6.
    ® 6 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Same for Automated Testing? Driving Software Testing A Car Software Application A Driver Human or Robot Tester The Road Network ??? From Address 1 to Address 2 Perform Testing
  • 7.
    ® 7 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation The Road
  • 8.
    ® 8 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation The Road in Software Testing  Lanes are Forms, Controls and API entry points  Road signs and Map are specifications and documentation  Route is a scenario
  • 9.
    ® 9 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation The Goal Get from Address 1 to Address 2   Perform Testing
  • 10.
    ® 10 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation What is Testing  Finding bugs.  Looking for crashes.  Checking that application can be used for its purpose.  Checking that application confirms to the specification.  Deciding if an application may go to the production.  Validating that application is secure and does not expose private or restricted information outside (security testing).  Checking that application is able to serve required load (load testing).  Comparison testing (to similar product).  Regression testing (compare to previous version of the same product)  Localization testing (product works for multiple countries).  Usability testing.  Documentation testing.  … more …, much more.
  • 11.
    ® 11 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation So Testing Is…  No Common Meaning  One of the goals – define testing for specific application  Currently Done Manually
  • 12.
    ® 12 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation 4 Swim Lanes  Software Interaction  Scenario Creation  Model / Specification Creation  Goals / Targets / Acceptance Creteria
  • 13.
    ® 13 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Swim Lane State No AI (Manual) Partial AI Full AI
  • 14.
    ® 14 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Swim Lane 1: Software Interaction  Find controls on the screen.  Click / Select / Set Text / ETC  Most well developed lane.  Partial AI and expect Full AI
  • 15.
    ® 15 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Swim Lane 2: Scenario Creation  Create Scenarios based on  Specifications  Documentation  Logs / Traces  Monkey Testing  Currently No AI to Partial AI
  • 16.
    ® 16 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Swim Lane 3: Model / Specification  Formal Specifications  Gherkin/Cucumber  Diagrams  Finite State Machines  Currently No AI to Partial AI
  • 17.
    ® 17 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Swim Lane 4: Goals and Criteria  Sometimes goals are known  100% Code Coverage  99.9% Fault Tolerance  Size Limitations  defined by Tester or QA eng.  Currently No AI
  • 18.
    ® 18 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Summary on Automation Interaction Scenarios Model / Spec Goals / Targets Manual Level 1 Partial Level 2 Full Level 3 Level 4
  • 19.
    ® 19 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation What is Currently Done Rapise Applitools Functionize Mabl ReTest Test.ai TestCraft Testim From Natural Language V V Find elements like a Person V Visual Testing V V V Self-Healing Locators V V V V V V V Monkey Testing V
  • 20.
    ® 20 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Where are we?  Level 2  Some Swim Lanes moving to Level 3.
  • 21.
    ® 21 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Rapise  Self-Healing  Moz 500 Analysis  Web Profiles
  • 22.
    ® 22 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation
  • 23.
    ® 23 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation
  • 24.
    ® 24 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Moz 500
  • 25.
    ® 25 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Level 4: When?  Level 3: When?  Let’s look into history
  • 26.
    ® 26 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Trains  London Underground's Victoria line – 1967  ATO (Automatic Train Operation)  Grade of Automation (GoA) GoA 0 to GoA 4  There are several lines operating at GoA 4 (unattended train operation) and more to appear within next few years
  • 27.
    ® 27 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Auto Pilot  Was there in 1930  But still no fully automatic passenger air travels
  • 28.
    ® 28 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Infrastructure  Road quality, regulations  Supplementary technologies (sensors, scanners, EBS, ABS, Cruise Control, ML, Computer Vision)  Global Infrastructure:  GPS / Glonass / Galileo  CAT IIIb landing or Autoland  Demand. The way we use cars changes  Bikes  Public transportation  Uber  High speed trains
  • 29.
    ® 29 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation How it Affects Software Automation?  Infrastructure actively changes  Quick Delivery  Test by Users  Software is Flexible  Microservice Architecture  Lass fault tolerant  Flaky by Nature  Accessibility Standards  Iaccessible  ARIA
  • 30.
    ® 30 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation What Affects AI Adoption  Infrastructure  Short Release Cycles  AI  So Primary Focus is:  Application Lifetime Management (Spira)  Automated Test Maintainability (Rapise)
  • 31.
    ® 31 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Summary  So When Is Level 4?  Sir Antony Hoare  Null pointer  Quick Sort  Hoar monitors
  • 32.
    ® 32 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Global Challenge  The Verifying Compiler: A Grand Challenge for Computing Research’ As an example drawn from Computer Science, I revive an old challenge: the construction and application of a verifying compiler that guarantees correctness of a program before running it.  Way to Avoid Programmers and thus Testers  2055
  • 33.
    ® 33 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation The World Changes an Unexpected Way
  • 34.
    ® 34 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Stay Calm  Machine Learning vs AI  Boston Dynamics (no ML)  AlphaGo (19x19 -> 9x9)
  • 35.
    ® 35 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Questions are Welcome Contact me • Twitter: @AlexeyGrinevich • Email: alexey@inflectra.com • Web: https://www.inflectra.com/Rapise/
  • 36.
    ® 36 | 8/7/2019© Copyright 2006-2019 Inflectra Corporation Q&A Thank You for Watching Subscribe to Our Channel for More Videos on Software Testing

Editor's Notes

  • #4 Thea, thank you for the intro. Thanks everyone for joining today. My name is Denis! I create software products for about 20 years. Last 10 years I do it in test automation field. Currently I am in love with Rapise – test automation tool we develop at Inflectra. Follow me on Twitter and send questions by email. You are very welcome.
  • #36 Thanks for listening. We are now opening for questions.