W10 Test Analytics, AI/ ML Wednesday, May 2nd, 2018 1:45 PM Machine Learning Heralds the End of Selenium Presented by: Jason Arbon Appdiff, Inc. Brought to you by: 350 Corporate Way, Suite 400, Orange Park, FL 32073 888 --- 268 --- 8770 ·· 904 --- 278 --- 0524 - info@techwell.com - http://www.stareast.techwell.com/
Jason Arbon Appdiff, Inc. Jason Arbon is the CEO of Appdiff, which is redefining how enterprises develop, test, and ship mobile apps with zero code and zero setup required. He was formerly the director of engineering and product at Applause.com/uTest.com, where he led product strategy to deliver crowdsourced testing via more than 250,000 community members and created the app store data analytics service. Jason previously held engineering leadership roles at Google and Microsoft and coauthored How Google Tests Software and App Quality: Secrets for Agile App Teams.
4/25/18 Machine Learning Heralds the End of Selenium Jason Arbon #STAREAST #AI @jarbon @testdotai 1
4/25/18 #STAREAST #AI @jarbon @testdotai 2
4/25/18 so 2004 #STAREAST #AI @jarbon @testdotai 4 Big Problems with Selenium / Appium #STAREAST #AI @jarbon @testdotai 3
4/25/18 You Have To Code #STAREAST #AI @jarbon @testdotai Element Selection #STAREAST #AI @jarbon @testdotai 4
4/25/18 Hard-Coded Step Sequencing #STAREAST #AI @jarbon @testdotai Little Reuse #STAREAST #AI @jarbon @testdotai 5
4/25/18 Automation breaks just when you need it. #STAREAST #AI @jarbon @testdotai Why AI? #STAREAST #AI @jarbon @testdotai 6
4/25/18 People can deal with change and the unexpected. #STAREAST #AI @jarbon @testdotai Test code can’t. #STAREAST #AI @jarbon @testdotai 7
4/25/18 How does AI fix all this? #STAREAST #AI @jarbon @testdotai AI works like People #STAREAST #AI @jarbon @testdotai 8
4/25/18 You Have To Code #STAREAST #AI @jarbon @testdotai Approach #2 Approach #1 Use Machine Learning Use Machine Learning to directly instead of Selectors. smartly update/repair Selectors when they break. #STAREAST #AI @jarbon @testdotai 9
4/25/18 Approach #1 Element Identification Old / Past VS Selenium IDE Test.ai Pain Finding Identifiers Auto Labeled Quick Visual Custom Labeling Have to write code (brittle) 10
4/25/18 Element Selection #STAREAST #AI @jarbon @testdotai 11
4/25/18 12
4/25/18 Hard-Coded Step Sequencing #STAREAST #AI @jarbon @testdotai Step Sequencing Old / Past VS Selenium IDE Test.ai Have to code exact steps. Familiar Cucumber/Gherkin Brittle when app changes. Only list labels of interesting steps and verifications. Also, GUI Editor #STAREAST #AI @jarbon @testdotai 13
4/25/18 #STAREAST #AI @jarbon @testdotai Test Execution Old / Past VS #STAREAST #AI @jarbon @testdotai 14
4/25/18 Little Reuse #STAREAST #AI @jarbon @testdotai AIT - Open - Manual Too #STAREAST #AI @jarbon @testdotai 15
4/25/18 Write Once, Run Cross Platform #STAREAST #AI @jarbon @testdotai Game-Changer: Write Once, Run on All Similar Apps #STAREAST #AI @jarbon @testdotai 16
4/25/18 Many Companies Working on AI for Testing #STAREAST #AI @jarbon @testdotai Harnessing Collective Intelligence For Testing 17
4/25/18 Leverage AI #STAREAST #AI @jarbon @testdotai Approach #3 Approach #1 Record and look for Record and auto Anomalies repair selectors Approach #4 Approach #2 Drag and Drop test Visual Differencing Cross Platform creation. AI executes tests like a human. #STAREAST #AI @jarbon @testdotai 18
4/25/18 Approach #1 Approach #2 19
4/25/18 Approach #3 Approach #4 20
4/25/18 Approach #4 Test Reporting Old / Past VS Test.ai Selenium IDE Q-Learning test step generation Many tests flaky/break as app changes Element Classifiers at runtime Simple pass/fail See test steps Presentable #STAREAST #AI @jarbon @testdotai 21
4/25/18 #STAREAST #AI @jarbon @testdotai #STAREAST #AI @jarbon @testdotai 22
4/25/18 jason@test.ai @jarbon #STAREAST #AI @jarbon @testdotai 23
Recommend
More recommend