SlideShare a Scribd company logo
1 of 26
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: TestAutomation Engineer Lead
Birthplace : Kanazawa-city
Hobby: jog , climbing , horse racing
3
Organization
4
Organization
Developer group QA group
Manual test team automation test team
@IllustAC
ココ
の人
:
5
Today story
• Test Automation operation is struggling
• Improve test automation operation
6
Today story
• TestAutomation operation is struggling
• Improve test automation operation
7
Test automation brings benefits in proportion to coverage!
• Reduce total cost of regression test
• Quick feedback
• Take work easy
© FREEIMAGES
8
Test automation brings struggle actually
• Many failure reports come
• Synchronize latest specification
• a few engineers
©photoAC
9
Classify many failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
10
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
• Good activity !
• Happy to report engineer!
©いらすとや
11
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
• Script has bug
• Script covers old specification
• Modify script
©いらすとや
12
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
• Test data invalid
• Scenario dependency issue
• Arrange test scenario
©いらすとや
13
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
• Network disconnected
• 500 error (releasing operation?)
• 503 error (what’s happened?)
©いらすとや
14
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
15
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
0.2 5.3
21.1
73.4
Fing bug Test automation script issue
Environment issue Temporary unstable
16
Operation for Temporary unstable
1. Investigate failure report
2. Run test automation script again
3. Check if result is success
Ex. OperationCost
1 operation = 2 mins
Daily operation = 100 * 2 = 200 mins
Monthly operation = 200 * 22 = 75 hours
Waste time!
17
Today story
• Test Automation operation is struggling
• Improve test automation operation
18
Classify failure report
• Find bug
• Test automation script issue
• Environment issue
• Temporary unstable
0.2 5.3
21.1
73.4
Fing bug Test automation script issue
Environment issue Temporary unstable
• This failure account for ¾
• Recover operation is “Re-Run”
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
• Message in screenshot
• Screenshot
• Previous prediction data
UseTechnology (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
Get 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
Improve test automation operation

More Related Content

Similar to Improve test automation operation

Cloudstack Continuous Delivery
Cloudstack Continuous DeliveryCloudstack Continuous Delivery
Cloudstack Continuous Delivery
buildacloud
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2
 
Agile performance testing
Agile performance testingAgile performance testing
Agile performance testing
Andriy Melnyk
 

Similar to Improve test automation operation (20)

20200630 Rakuten QA meetup #2 "Improve test automation operation"
20200630 Rakuten QA meetup #2 "Improve test automation operation"20200630 Rakuten QA meetup #2 "Improve test automation operation"
20200630 Rakuten QA meetup #2 "Improve test automation operation"
 
Test Automation Improvement by Machine Learning Jasst'21 Tokyo
Test Automation Improvement by Machine Learning Jasst'21 TokyoTest Automation Improvement by Machine Learning Jasst'21 Tokyo
Test Automation Improvement by Machine Learning Jasst'21 Tokyo
 
Software Test Automation
Software Test AutomationSoftware Test Automation
Software Test Automation
 
Test automation engineer
Test automation engineerTest automation engineer
Test automation engineer
 
Bugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perfBugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perf
 
20180828 QA meetup
20180828 QA meetup20180828 QA meetup
20180828 QA meetup
 
Mobile User Experience: Auto Drive through Performance Metrics
Mobile User Experience:Auto Drive through Performance MetricsMobile User Experience:Auto Drive through Performance Metrics
Mobile User Experience: Auto Drive through Performance Metrics
 
John Fodeh - Adventures in Test Automation-Breaking the Boundaries of Regress...
John Fodeh - Adventures in Test Automation-Breaking the Boundaries of Regress...John Fodeh - Adventures in Test Automation-Breaking the Boundaries of Regress...
John Fodeh - Adventures in Test Automation-Breaking the Boundaries of Regress...
 
John Fodeh Adventures in Test Automation - EuroSTAR 2013
John Fodeh Adventures in Test Automation - EuroSTAR 2013John Fodeh Adventures in Test Automation - EuroSTAR 2013
John Fodeh Adventures in Test Automation - EuroSTAR 2013
 
Wso2con test-automation
Wso2con test-automationWso2con test-automation
Wso2con test-automation
 
Cloudstack Continuous Delivery
Cloudstack Continuous DeliveryCloudstack Continuous Delivery
Cloudstack Continuous Delivery
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
 
[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi
[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi
[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi
 
JaSST'18 Hokkaido Improve Automation Testing
JaSST'18 Hokkaido Improve Automation TestingJaSST'18 Hokkaido Improve Automation Testing
JaSST'18 Hokkaido Improve Automation Testing
 
Agile performance testing
Agile performance testingAgile performance testing
Agile performance testing
 
Selenium Success
Selenium SuccessSelenium Success
Selenium Success
 
Agile testing - Principles and best practices
Agile testing  - Principles and best practicesAgile testing  - Principles and best practices
Agile testing - Principles and best practices
 
Test parallelization using Jenkins
Test parallelization using JenkinsTest parallelization using Jenkins
Test parallelization using Jenkins
 
Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...
 
Android CD
Android CDAndroid CD
Android CD
 

More from Rakuten Group, Inc.

More from Rakuten Group, Inc. (20)

コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話
コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話
コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話
 
楽天における安全な秘匿情報管理への道のり
楽天における安全な秘匿情報管理への道のり楽天における安全な秘匿情報管理への道のり
楽天における安全な秘匿情報管理への道のり
 
What Makes Software Green?
What Makes Software Green?What Makes Software Green?
What Makes Software Green?
 
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...
 
DataSkillCultureを浸透させる楽天の取り組み
DataSkillCultureを浸透させる楽天の取り組みDataSkillCultureを浸透させる楽天の取り組み
DataSkillCultureを浸透させる楽天の取り組み
 
大規模なリアルタイム監視の導入と展開
大規模なリアルタイム監視の導入と展開大規模なリアルタイム監視の導入と展開
大規模なリアルタイム監視の導入と展開
 
楽天における大規模データベースの運用
楽天における大規模データベースの運用楽天における大規模データベースの運用
楽天における大規模データベースの運用
 
楽天サービスを支えるネットワークインフラストラクチャー
楽天サービスを支えるネットワークインフラストラクチャー楽天サービスを支えるネットワークインフラストラクチャー
楽天サービスを支えるネットワークインフラストラクチャー
 
楽天の規模とクラウドプラットフォーム統括部の役割
楽天の規模とクラウドプラットフォーム統括部の役割楽天の規模とクラウドプラットフォーム統括部の役割
楽天の規模とクラウドプラットフォーム統括部の役割
 
Rakuten Services and Infrastructure Team.pdf
Rakuten Services and Infrastructure Team.pdfRakuten Services and Infrastructure Team.pdf
Rakuten Services and Infrastructure Team.pdf
 
The Data Platform Administration Handling the 100 PB.pdf
The Data Platform Administration Handling the 100 PB.pdfThe Data Platform Administration Handling the 100 PB.pdf
The Data Platform Administration Handling the 100 PB.pdf
 
Supporting Internal Customers as Technical Account Managers.pdf
Supporting Internal Customers as Technical Account Managers.pdfSupporting Internal Customers as Technical Account Managers.pdf
Supporting Internal Customers as Technical Account Managers.pdf
 
Making Cloud Native CI_CD Services.pdf
Making Cloud Native CI_CD Services.pdfMaking Cloud Native CI_CD Services.pdf
Making Cloud Native CI_CD Services.pdf
 
How We Defined Our Own Cloud.pdf
How We Defined Our Own Cloud.pdfHow We Defined Our Own Cloud.pdf
How We Defined Our Own Cloud.pdf
 
Travel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech infoTravel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech info
 
Travel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech infoTravel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech info
 
OWASPTop10_Introduction
OWASPTop10_IntroductionOWASPTop10_Introduction
OWASPTop10_Introduction
 
Introduction of GORA API Group technology
Introduction of GORA API Group technologyIntroduction of GORA API Group technology
Introduction of GORA API Group technology
 
100PBを越えるデータプラットフォームの実情
100PBを越えるデータプラットフォームの実情100PBを越えるデータプラットフォームの実情
100PBを越えるデータプラットフォームの実情
 
社内エンジニアを支えるテクニカルアカウントマネージャー
社内エンジニアを支えるテクニカルアカウントマネージャー社内エンジニアを支えるテクニカルアカウントマネージャー
社内エンジニアを支えるテクニカルアカウントマネージャー
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

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: TestAutomation Engineer Lead Birthplace : Kanazawa-city Hobby: jog , climbing , horse racing
  • 4. 4 Organization Developer group QA group Manual test team automation test team @IllustAC ココ の人 :
  • 5. 5 Today story • Test Automation operation is struggling • Improve test automation operation
  • 6. 6 Today story • TestAutomation operation is struggling • Improve test automation operation
  • 7. 7 Test automation brings benefits in proportion to coverage! • Reduce total cost of regression test • Quick feedback • Take work easy © FREEIMAGES
  • 8. 8 Test automation brings struggle actually • Many failure reports come • Synchronize latest specification • a few engineers ©photoAC
  • 9. 9 Classify many failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable
  • 10. 10 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable • Good activity ! • Happy to report engineer! ©いらすとや
  • 11. 11 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable • Script has bug • Script covers old specification • Modify script ©いらすとや
  • 12. 12 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable • Test data invalid • Scenario dependency issue • Arrange test scenario ©いらすとや
  • 13. 13 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable • Network disconnected • 500 error (releasing operation?) • 503 error (what’s happened?) ©いらすとや
  • 14. 14 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable
  • 15. 15 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable 0.2 5.3 21.1 73.4 Fing bug Test automation script issue Environment issue Temporary unstable
  • 16. 16 Operation for Temporary unstable 1. Investigate failure report 2. Run test automation script again 3. Check if result is success Ex. OperationCost 1 operation = 2 mins Daily operation = 100 * 2 = 200 mins Monthly operation = 200 * 22 = 75 hours Waste time!
  • 17. 17 Today story • Test Automation operation is struggling • Improve test automation operation
  • 18. 18 Classify failure report • Find bug • Test automation script issue • Environment issue • Temporary unstable 0.2 5.3 21.1 73.4 Fing bug Test automation script issue Environment issue Temporary unstable • This failure account for ¾ • Recover operation is “Re-Run”
  • 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 • Message in screenshot • Screenshot • Previous prediction data UseTechnology (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 Get 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