SlideShare a Scribd company logo
Improve test automation operation
June 30th, 2020
Sadaaki, Emura
Leisure Product Dept.
Rakuten, Inc.
2
Who am I
Name : Sadaaki Emura (nickname M)
Join in Rakuten : 2007
Career : Embedded engineer (2000-2002)
Web engineer (2002-2015)
Product manager (2015-2016)
QA (2016~)
Role: Test Automation Engineer Lead
Birthplace : Kanazawa-city
Hobby: jog , climbing , horse racing
3
Organization
Developer group QA group
Manual test team Test automation team
@IllustAC
ココ
の人
:5 services
4
Organization
5
Today story
1. Test Automation operation is struggling
2. Improve test automation operation
6
Test automation brings benefits in proportion to coverage!
• Reduce total cost of regression test
• Quick feedback
• Take work easy
© FREEIMAGES
7
Test automation brings struggle actually
©photoAC
focus
• Many failure reports come
• Synchronize latest specification
• a few test automation engineers
8
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
Failure report
classif
y
9
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
• Good activity !
• Happy to report engineer!
©いらすとや
10
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
• Script has bug
• Script covers old specification
• Scenario dependency
©いらすとや
11
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
• Test data invalid
• Application is not ready
©いらすとや
12
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
• Network disconnected
• 500 error (releasing operation?)
• 503 error (what’s happened?)
©いらすとや
13
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
14
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
0… 5.3
21.1
73.4
Fing bug Test automation script issue
Environment issue Temporary unstable
15
0… 5.3
21.1
73.4
Operation for Temporary unstable
1.Investigate failure report (common)
2.Run test automation script again
3.Check if result is success
Ex. Operation Cost
1 operation = 2 mins
Daily operation = 100 * 2 = 200 mins
Monthly operation = 200 * 22 = 75 hours
Temporary Unstable
Waste
time!
16
Today story
1. Test Automation operation is struggling
2. Improve test automation operation
17
0… 5.3
21.1
73.4
Operation for Temporary unstable
1.Investigate failure report (common)
2.Run test automation script again
3.Check if result is success
Ex. Operation Cost
1 operation = 2 mins
Daily operation = 100 * 2 = 200 mins
Monthly operation = 200 * 22 = 75 hours
Temporary Unstable
Waste
time!
18
Auto recover system
• Classify failure report automatically
• Re run test automation script when “Temporary unstable”
Improve test automation operation
19
Auto recover system
Test Result is
Failure
Predict reason
Temporary
unstable
Re run
Yes
20
Auto recover system
Test Result is
Failure
Predict reason
Temporary
unstable
Re run
Yes
Test result output
• Console error message by Ranorex
• Error page screenshot
21
Auto recover system
Test Result is
Failure
Predict reason
Temporary
unstable
Re run
Yes
Use data
• Console error message
• Screenshot
• Previous prediction data
Use Technology (Python)
• Tesseract-OCR
• Deep Neural Network with Keras
22
Auto recover system
Test Result is
Failure
Predict reason
Temporary
unstable
Re run
Yes
Input test report
Extract message
from screenshot
Text base
prediction
Image
base
prediction
No result
Output prediction
In progress
Feedback
23
Auto recover system
Test Result is
Failure
Predict reason
Temporary
unstable
Re run
Yes
• Reduce waste time operation
• Not waste test resource and time
24
Auto recover system benefit
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
Oct-19 Nov-19 Dec-19 Jan-20 Feb-20 Mar-20
auto recovery manual recovery
Ex.
Date : March-20
Temporary unstable Ratio : 75%
Operation time without system: 100 hours
100 * 0.65 = 65 hours
saved
65%
25
Summary
• Test automation operation takes time and includes boring task
• Let’s automate some of operation
• Auto recover system is not perfect yet, keep improvement
20200630 Rakuten QA meetup #2 "Improve test automation operation"

More Related Content

PPTX
Test Automation Improvement by Machine Learning Jasst'21 Tokyo
PPTX
Test automation engineer
PPTX
Test automation lesson
PPTX
ISTQB Advanced Test Manager Training
PPTX
ISTQB Foundation and Selenium Java Automation Testing
PPTX
Test management struggles and challenges in SDLC
PPTX
5 Considerations When Adopting Automated Testing
PDF
Wso2con test-automation
Test Automation Improvement by Machine Learning Jasst'21 Tokyo
Test automation engineer
Test automation lesson
ISTQB Advanced Test Manager Training
ISTQB Foundation and Selenium Java Automation Testing
Test management struggles and challenges in SDLC
5 Considerations When Adopting Automated Testing
Wso2con test-automation

What's hot (20)

PPTX
Qa process 2012
PPTX
Test Automation Architecture That Works by Bhupesh Dahal
PDF
QA Process Overview for Firefox OS 2014
PDF
The limits of unit testing by Craig Stuntz
PDF
Test Automation
PDF
End-to-End Test Automation for Both Horizontal and Vertical Scale
PDF
Tutorial ranorex
PDF
Test pyramid
PDF
Testing automation in agile environment
PDF
Automation testing in Agile project
PDF
Test Automation
PPTX
Test Automation Architecture in Microservices
PDF
Managing Test Labs Without the Headaches
PPTX
5 top pain points of test automation
PDF
Need for automation testing
PDF
Testing in FrontEnd World by Nikita Galkin
PPTX
DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...
PDF
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
PDF
Agile in planday
PPTX
Test Automation failure analysis
Qa process 2012
Test Automation Architecture That Works by Bhupesh Dahal
QA Process Overview for Firefox OS 2014
The limits of unit testing by Craig Stuntz
Test Automation
End-to-End Test Automation for Both Horizontal and Vertical Scale
Tutorial ranorex
Test pyramid
Testing automation in agile environment
Automation testing in Agile project
Test Automation
Test Automation Architecture in Microservices
Managing Test Labs Without the Headaches
5 top pain points of test automation
Need for automation testing
Testing in FrontEnd World by Nikita Galkin
DaKiRY_BAQ2016_QADay_Marta Firlej "Microsoft Test Manager tool – how can we u...
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
Agile in planday
Test Automation failure analysis
Ad

Similar to 20200630 Rakuten QA meetup #2 "Improve test automation operation" (20)

PDF
Improve test automation operation
PDF
The Pothole of Automating Too Much
PDF
Testingexperience14 06 11_beersma
PPTX
Presentation - Test Automation in Digital Transformation - IITPSA SIGIST 2016042
PPTX
Best practices for test automation
PPTX
How to make Automation an asset for Organization
PDF
Why Automation Fails—in Theory and Practice
PDF
Why Test Automation Fails
PDF
CIO Review QA Mentor
PDF
Strategies For Enterprise Test Automation.pdf
PPTX
Chapter 1 - Introduction and Objectives for Test Automation
PPTX
20180828 QA meetup
PDF
Creating a successful continuous testing environment by Eran Kinsbruner
PDF
How to manage test automation complexity
PPTX
Myths of Automation Testing
PDF
QA Automation testing - Cloud deployed workflow application
PDF
Test automation Anecdotes
PPTX
Maturing your path toward DevOps with Continuous Testing
PPTX
Use Automation to Assist -Not Replace- Manual Testing
PDF
Successful Test Automation: A Manager’s View
Improve test automation operation
The Pothole of Automating Too Much
Testingexperience14 06 11_beersma
Presentation - Test Automation in Digital Transformation - IITPSA SIGIST 2016042
Best practices for test automation
How to make Automation an asset for Organization
Why Automation Fails—in Theory and Practice
Why Test Automation Fails
CIO Review QA Mentor
Strategies For Enterprise Test Automation.pdf
Chapter 1 - Introduction and Objectives for Test Automation
20180828 QA meetup
Creating a successful continuous testing environment by Eran Kinsbruner
How to manage test automation complexity
Myths of Automation Testing
QA Automation testing - Cloud deployed workflow application
Test automation Anecdotes
Maturing your path toward DevOps with Continuous Testing
Use Automation to Assist -Not Replace- Manual Testing
Successful Test Automation: A Manager’s View
Ad

More from Sadaaki Emura (14)

PPTX
Test Automation Journey 2023 useful knowledge to start test automation
PPTX
What is Unit Testing
PPTX
20220527_JaSST'22 Tohoku
PPTX
How to introduce test automation in VeriServe Test Automation Talk #2
PPTX
20211221 jasst nano_test automation operation
PPTX
20191029 automation struggle
PPTX
basic of Test automation installation
PPTX
20190531 jasst19 tohoku
PPTX
Struggles and Challenges in STLC in Ques No.13
PPTX
20190424 q ameetup-m -publish
PPTX
20181211 QA meetup in office
PPTX
JaSST'18 Hokkaido Improve Automation Testing
PPTX
Istqb : Test automation Engineer
PDF
QA improvement
Test Automation Journey 2023 useful knowledge to start test automation
What is Unit Testing
20220527_JaSST'22 Tohoku
How to introduce test automation in VeriServe Test Automation Talk #2
20211221 jasst nano_test automation operation
20191029 automation struggle
basic of Test automation installation
20190531 jasst19 tohoku
Struggles and Challenges in STLC in Ques No.13
20190424 q ameetup-m -publish
20181211 QA meetup in office
JaSST'18 Hokkaido Improve Automation Testing
Istqb : Test automation Engineer
QA improvement

Recently uploaded (20)

PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Geodesy 1.pptx...............................................
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Well-logging-methods_new................
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Digital Logic Computer Design lecture notes
PPTX
bas. eng. economics group 4 presentation 1.pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
UNIT 4 Total Quality Management .pptx
Lecture Notes Electrical Wiring System Components
Geodesy 1.pptx...............................................
Automation-in-Manufacturing-Chapter-Introduction.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Well-logging-methods_new................
Foundation to blockchain - A guide to Blockchain Tech
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Operating System & Kernel Study Guide-1 - converted.pdf
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Digital Logic Computer Design lecture notes
bas. eng. economics group 4 presentation 1.pptx

20200630 Rakuten QA meetup #2 "Improve test automation operation"

  • 1. Improve test automation operation June 30th, 2020 Sadaaki, Emura Leisure Product Dept. Rakuten, Inc.
  • 2. 2 Who am I Name : Sadaaki Emura (nickname M) Join in Rakuten : 2007 Career : Embedded engineer (2000-2002) Web engineer (2002-2015) Product manager (2015-2016) QA (2016~) Role: Test Automation Engineer Lead Birthplace : Kanazawa-city Hobby: jog , climbing , horse racing
  • 3. 3 Organization Developer group QA group Manual test team Test automation team @IllustAC ココ の人 :5 services
  • 5. 5 Today story 1. Test Automation operation is struggling 2. Improve test automation operation
  • 6. 6 Test automation brings benefits in proportion to coverage! • Reduce total cost of regression test • Quick feedback • Take work easy © FREEIMAGES
  • 7. 7 Test automation brings struggle actually ©photoAC focus • Many failure reports come • Synchronize latest specification • a few test automation engineers
  • 8. 8 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable Failure report classif y
  • 9. 9 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable • Good activity ! • Happy to report engineer! ©いらすとや
  • 10. 10 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable • Script has bug • Script covers old specification • Scenario dependency ©いらすとや
  • 11. 11 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable • Test data invalid • Application is not ready ©いらすとや
  • 12. 12 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable • Network disconnected • 500 error (releasing operation?) • 503 error (what’s happened?) ©いらすとや
  • 13. 13 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable
  • 14. 14 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable 0… 5.3 21.1 73.4 Fing bug Test automation script issue Environment issue Temporary unstable
  • 15. 15 0… 5.3 21.1 73.4 Operation for Temporary unstable 1.Investigate failure report (common) 2.Run test automation script again 3.Check if result is success Ex. Operation Cost 1 operation = 2 mins Daily operation = 100 * 2 = 200 mins Monthly operation = 200 * 22 = 75 hours Temporary Unstable Waste time!
  • 16. 16 Today story 1. Test Automation operation is struggling 2. Improve test automation operation
  • 17. 17 0… 5.3 21.1 73.4 Operation for Temporary unstable 1.Investigate failure report (common) 2.Run test automation script again 3.Check if result is success Ex. Operation Cost 1 operation = 2 mins Daily operation = 100 * 2 = 200 mins Monthly operation = 200 * 22 = 75 hours Temporary Unstable Waste time!
  • 18. 18 Auto recover system • Classify failure report automatically • Re run test automation script when “Temporary unstable” Improve test automation operation
  • 19. 19 Auto recover system Test Result is Failure Predict reason Temporary unstable Re run Yes
  • 20. 20 Auto recover system Test Result is Failure Predict reason Temporary unstable Re run Yes Test result output • Console error message by Ranorex • Error page screenshot
  • 21. 21 Auto recover system Test Result is Failure Predict reason Temporary unstable Re run Yes Use data • Console error message • Screenshot • Previous prediction data Use Technology (Python) • Tesseract-OCR • Deep Neural Network with Keras
  • 22. 22 Auto recover system Test Result is Failure Predict reason Temporary unstable Re run Yes Input test report Extract message from screenshot Text base prediction Image base prediction No result Output prediction In progress Feedback
  • 23. 23 Auto recover system Test Result is Failure Predict reason Temporary unstable Re run Yes • Reduce waste time operation • Not waste test resource and time
  • 24. 24 Auto recover system benefit 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Oct-19 Nov-19 Dec-19 Jan-20 Feb-20 Mar-20 auto recovery manual recovery Ex. Date : March-20 Temporary unstable Ratio : 75% Operation time without system: 100 hours 100 * 0.65 = 65 hours saved 65%
  • 25. 25 Summary • Test automation operation takes time and includes boring task • Let’s automate some of operation • Auto recover system is not perfect yet, keep improvement

Editor's Notes

  • #3: これまでのキャリア  最初、組み込み系のソフトウェアエンジニア 2年間  その後、WEBエンジニア 13年間  次にプロダクトマネージャの経験を経る  2016年、いまのSQA部署の構築から携わり、テスト自動化を合わせて構築しました(3年目)
  • #4: ・テスト環境は開発側が提供 ・QAはユーザー目線のテスト
  • #7: テスト自動化を毎日実行し、レグレッションテストで問題がないかを確認
  • #15: 元ネタ 2020/3-5 UNSTABLE 14844 ENVIRONMENT 4263 SCRIPT ISSUE 1068 BUG 38