SlideShare a Scribd company logo
1 of 37
Improve Automation Testing
~ speed up deployment ~
Nov. 30, 2018
Sadaaki Emura
Rakuten, Inc.
2
Introduction
3
Who am I
Name : Sadaaki Emura (nickname M)
join in Rakuten: 2007
Group: Service Quality Assurance in LPD
established in 2016
Role: Test Engineer Lead, automation
Hobby: jog , climbing , horse racing
4
LPD organization
Product
Manager
Engineer QA
(Leisure Product Department)
5
Our team (QA)
Scope : 5 services
Members : 9 + off site (if needed)
Skill : QA specialist (almost not programmer)
Mission : Quality Assurance
by manual & automation test
6
Our Automation Testing activity
7
Automation testing activity
2016
Proof
of
concept
2017
Expansion
2018
Improve
speed
8
Why is this year theme “improve speed”?
Make impact
= release many apps frequently
photoAC
9
What was bottleneck in development speed?
Specification
Design
Development Test (E2E) Development
Test Design
Test case / script
Implement
Test Execution
scope
10
What was bottleneck in development speed?
1. Setup test environment takes time
2. Test feedback was late
3. Scripting for PC and SP takes time
11
1. Setup test environment takes time
photoAC
What was bottleneck in development speed?
Example
Install apps (1st time) 120 min
Setup devices 5 min
Run apps 2 min
Closing 5 min
:
12
2. Test feedback was late (E2E)
■One job has
Mouse click : 3 sec
Input form : 5 sec
Page transition : 10 sec
:
2-3 mins / page
10 mins / job
What was bottleneck in development speed?
■Single process worsens speed
Test
job
Test
job
Test
job
10 mins
13
For PC For SP
What was bottleneck in development speed?
3. Scripting for PC and SP takes time
Apps support PC and SP
Need to create 2 script
14
How did we resolve?
15
Solution to resolve these bottleneck
1. Every time, Everywhere, Everyone can use
2. Many test run at same time
3. One script covers multiple devices
Features
16
Test script
management
Mobile Labo Architecture
Chrom
e
FF
IE
iPhon
e
Andro
id
Edge
Safari
CI environment
AppiumAPI
SeleniumAPI
SeleniumAPI
Client side
Test
Environment
(Mobile Labo)
Clients
Windows server MAC server MAC server
Test script
management
Test script
management
https://jenkins.io/
Java
17
Mobile Labo image
https://qiita.com/emurin
Document ▼
Mac
Windows
Smart phone
Appium/Selenium
18
1. Every time, Everywhere, Everyone can use
per person every time
As Is
Install apps (1st time) 120 min
Setup devices 5 min
Run apps 2 min
Closing 5 min
:
To Be
Connect API 1 min
19
2. Many test run at same time
FireFox Chrome
android iOS iOS
One JENKINS runs a couple of test script
20
3. One script covers multiple devices
PC
SP
Able to run test in each device
※apps rule
- same function
- same class name (HTML)
:
example : responsive site
21
What’s happened?
22
Improvement effect 1
Example (keiba)
Betting Lite (投票Lite) in Horse Racing
PC & SP are same function
• Step is Choose race, Bet , Confirm ,
Complete
• 9 betting method / 4 type
• Selecting order of placing(Max 3rd)
⇒ 736 test case x 2 devices(PC , SP)
PC SP
23
Improvement effect 1 (initial phase)
Manual testing
Previous automation
Mobile labo
120 hour
60 hour
Method Speed
30 hour
※1 include scripting , setup task
※2 include scripting task
※1
※2
24
Improvement effect 1 (CI phase)
Manual testing
Previous automation
Mobile labo
120 hour
1.5 hour
Method Speed
0.5 hour
※1 include setup task
※1
25
Improvement effect 2
Example (Wedding)
Wedding Service is responsive site
• Reserve wedding hall
• Review wedding hall
• Search wedding hall
:
⇒ 302 test case x 2 devices(PC , SP)
PC SP
26
Improvement effect 2 (initial phase)
Manual testing
Previous automation
Mobile labo
50 hour
20 hour
Method Speed
11 hour
※1 include scripting , setup task
※2 include scripting task
※1
※2
27
Improvement effect 2 (CI phase)
Manual testing
Previous automation
Mobile labo
50 hour
0.5 hour
Method Speed
0.2 hour
※1 include setup task
※1
28
Improvement effect
Mobile Labo improves speed
FREEIMAGES/Geo Okretic
29
Next challenge
30
photoAC
Next challenge
encounter issues
31
Issue 1 : clash with others
iPhon
e 1
Andro
id
Chro
me
iPhon
e 2
iPhon
e 1
Andro
id
Chro
me
iPhon
e 2
clash
Able to use devices
Not able to use same device
at same time
32
Issue 2 : need to know device location
iPhon
e 1
Andro
id 1
Appium API
MAC server 1
iPhon
e 2
Andro
id 2
iPhon
e X
Andro
id X
Appium API
MAC server X
…
Clients set configuration
- Appium IP address & port
- Capabilities (UDID etc)
Where ?
33
New problem and Next step
Improve speed more
1. Clash with others
2. Need to know device location
FREEIMAGES/Alexander
34
In this year ?
35
New problem and Next step (This was situation in Aug.)
Improve speed more
1. Clash with others
2. Need to know device location
FREEIMAGES/Alexander
Improved
36
New problem was resolved in 2 months
Andro
id
Selenium hub
Appium node
Andro
id
Appium node
・・・・
• Handle node
(client does not need to know where appium)
• Block client if devices are busy
JaSST'18 Hokkaido Improve Automation Testing

More Related Content

What's hot

Mobile Apps development best practices. TDD, CI, CD
Mobile Apps development best practices. TDD, CI, CDMobile Apps development best practices. TDD, CI, CD
Mobile Apps development best practices. TDD, CI, CDGlobalLogic Ukraine
 
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and DeliveryUsg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and DeliveryStephen Garrett
 
Introduction to Automated Testing
Introduction to Automated TestingIntroduction to Automated Testing
Introduction to Automated TestingLars Thorup
 
Lets talk about CI CD Pipeline in Agile
Lets talk about CI CD Pipeline in Agile Lets talk about CI CD Pipeline in Agile
Lets talk about CI CD Pipeline in Agile Poonam Panday
 
Extreme Programming - to the next-level
Extreme Programming - to the next-levelExtreme Programming - to the next-level
Extreme Programming - to the next-levelLars Thorup
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test CompleteVartika Saxena
 
Continuous Integration at T3CON08
Continuous Integration at T3CON08Continuous Integration at T3CON08
Continuous Integration at T3CON08Sebastian Kurfürst
 
Starting Test Automation In Your Project - Webinar by 99X Technology
Starting Test Automation In Your Project - Webinar by 99X TechnologyStarting Test Automation In Your Project - Webinar by 99X Technology
Starting Test Automation In Your Project - Webinar by 99X Technology99X Technology
 
Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration Amazon Web Services
 
Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]Maria Carcar
 
Load Testing Tools | Testbytes
Load Testing Tools | TestbytesLoad Testing Tools | Testbytes
Load Testing Tools | TestbytesTestbytes
 
Automated Performance Testing
Automated Performance TestingAutomated Performance Testing
Automated Performance TestingLars Thorup
 
Test automation
Test automationTest automation
Test automationXavier Yin
 
Ranorex presentation
Ranorex presentationRanorex presentation
Ranorex presentationISsoft
 

What's hot (20)

Mobile Apps development best practices. TDD, CI, CD
Mobile Apps development best practices. TDD, CI, CDMobile Apps development best practices. TDD, CI, CD
Mobile Apps development best practices. TDD, CI, CD
 
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and DeliveryUsg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
 
Introduction to Automated Testing
Introduction to Automated TestingIntroduction to Automated Testing
Introduction to Automated Testing
 
Lets talk about CI CD Pipeline in Agile
Lets talk about CI CD Pipeline in Agile Lets talk about CI CD Pipeline in Agile
Lets talk about CI CD Pipeline in Agile
 
Extreme Programming - to the next-level
Extreme Programming - to the next-levelExtreme Programming - to the next-level
Extreme Programming - to the next-level
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Fast end-to-end-tests
Fast end-to-end-testsFast end-to-end-tests
Fast end-to-end-tests
 
Mobile CI
Mobile CIMobile CI
Mobile CI
 
Continuous Integration at T3CON08
Continuous Integration at T3CON08Continuous Integration at T3CON08
Continuous Integration at T3CON08
 
Starting Test Automation In Your Project - Webinar by 99X Technology
Starting Test Automation In Your Project - Webinar by 99X TechnologyStarting Test Automation In Your Project - Webinar by 99X Technology
Starting Test Automation In Your Project - Webinar by 99X Technology
 
Open source load testing
Open source load testingOpen source load testing
Open source load testing
 
Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration
 
Test complete, work done so far
Test complete, work done so farTest complete, work done so far
Test complete, work done so far
 
CICD by Teerapat
CICD by TeerapatCICD by Teerapat
CICD by Teerapat
 
Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]
 
Load Testing Tools | Testbytes
Load Testing Tools | TestbytesLoad Testing Tools | Testbytes
Load Testing Tools | Testbytes
 
Automated Performance Testing
Automated Performance TestingAutomated Performance Testing
Automated Performance Testing
 
Test automation
Test automationTest automation
Test automation
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
 
Ranorex presentation
Ranorex presentationRanorex presentation
Ranorex presentation
 

Similar to JaSST'18 Hokkaido Improve Automation Testing

PGI - QA Automation Initiatives v2
PGI - QA Automation Initiatives v2PGI - QA Automation Initiatives v2
PGI - QA Automation Initiatives v2Mahmudul Hasan
 
GTAC 2015
GTAC 2015GTAC 2015
GTAC 2015Dino Su
 
How to feature flag and run experiments in iOS and Android
How to feature flag and run experiments in iOS and AndroidHow to feature flag and run experiments in iOS and Android
How to feature flag and run experiments in iOS and AndroidOptimizely
 
Improve test automation operation
Improve test automation operationImprove test automation operation
Improve test automation operationRakuten Group, Inc.
 
Reliable mobile test automation
Reliable mobile test automationReliable mobile test automation
Reliable mobile test automationVishal Banthia
 
Mobile Automation Basic Concepts / Demo
Mobile Automation Basic Concepts / DemoMobile Automation Basic Concepts / Demo
Mobile Automation Basic Concepts / DemoTestingCR
 
Selenium conference, 2016
Selenium conference, 2016Selenium conference, 2016
Selenium conference, 2016Pooja Shah
 
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 ...Applitools
 
Alexey Ostapov: Distributed Video Management and Security Systems: Tips and T...
Alexey Ostapov: Distributed Video Management and Security Systems: Tips and T...Alexey Ostapov: Distributed Video Management and Security Systems: Tips and T...
Alexey Ostapov: Distributed Video Management and Security Systems: Tips and T...Andriy Krayniy
 
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"Sadaaki Emura
 
Creating testing tools to support development
Creating testing tools to support developmentCreating testing tools to support development
Creating testing tools to support developmentChema del Barco
 
Improving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester TrainingImproving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester TrainingAnna Russo
 
Agile Development of High Performance Applications
Agile Development of High Performance ApplicationsAgile Development of High Performance Applications
Agile Development of High Performance ApplicationsFabian Lange
 
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with AppiumSrijan Technologies
 
Testing SharePoint solutions overview
Testing SharePoint solutions overviewTesting SharePoint solutions overview
Testing SharePoint solutions overviewSpiffy
 
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_ResumeRanjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resumeranjith nagisetty
 

Similar to JaSST'18 Hokkaido Improve Automation Testing (20)

PGI - QA Automation Initiatives v2
PGI - QA Automation Initiatives v2PGI - QA Automation Initiatives v2
PGI - QA Automation Initiatives v2
 
GTAC 2015
GTAC 2015GTAC 2015
GTAC 2015
 
How to feature flag and run experiments in iOS and Android
How to feature flag and run experiments in iOS and AndroidHow to feature flag and run experiments in iOS and Android
How to feature flag and run experiments in iOS and Android
 
Improve test automation operation
Improve test automation operationImprove test automation operation
Improve test automation operation
 
Mobitop
MobitopMobitop
Mobitop
 
Mobitop
MobitopMobitop
Mobitop
 
Mobitop
MobitopMobitop
Mobitop
 
Mobitop
MobitopMobitop
Mobitop
 
Reliable mobile test automation
Reliable mobile test automationReliable mobile test automation
Reliable mobile test automation
 
Mobile Automation Basic Concepts / Demo
Mobile Automation Basic Concepts / DemoMobile Automation Basic Concepts / Demo
Mobile Automation Basic Concepts / Demo
 
Selenium conference, 2016
Selenium conference, 2016Selenium conference, 2016
Selenium conference, 2016
 
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 ...
 
Alexey Ostapov: Distributed Video Management and Security Systems: Tips and T...
Alexey Ostapov: Distributed Video Management and Security Systems: Tips and T...Alexey Ostapov: Distributed Video Management and Security Systems: Tips and T...
Alexey Ostapov: Distributed Video Management and Security Systems: Tips and T...
 
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"
 
Creating testing tools to support development
Creating testing tools to support developmentCreating testing tools to support development
Creating testing tools to support development
 
Improving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester TrainingImproving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester Training
 
Agile Development of High Performance Applications
Agile Development of High Performance ApplicationsAgile Development of High Performance Applications
Agile Development of High Performance Applications
 
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
 
Testing SharePoint solutions overview
Testing SharePoint solutions overviewTesting SharePoint solutions overview
Testing SharePoint solutions overview
 
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_ResumeRanjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
Ranjith kumar Nagisetty(AndiordApp and PostSiliconTest Engineer)_Resume
 

More from Sadaaki Emura

Test Automation Journey 2023 useful knowledge to start test automation
Test Automation Journey  2023 useful knowledge to start test automationTest Automation Journey  2023 useful knowledge to start test automation
Test Automation Journey 2023 useful knowledge to start test automationSadaaki Emura
 
What is Unit Testing
What is Unit TestingWhat is Unit Testing
What is Unit TestingSadaaki Emura
 
20220527_JaSST'22 Tohoku
20220527_JaSST'22 Tohoku20220527_JaSST'22 Tohoku
20220527_JaSST'22 TohokuSadaaki Emura
 
How to introduce test automation in VeriServe Test Automation Talk #2
How to introduce test automation in VeriServe Test Automation Talk #2How to introduce test automation in VeriServe Test Automation Talk #2
How to introduce test automation in VeriServe Test Automation Talk #2Sadaaki Emura
 
Test automation engineer
Test automation engineerTest automation engineer
Test automation engineerSadaaki Emura
 
20211221 jasst nano_test automation operation
20211221 jasst nano_test automation operation20211221 jasst nano_test automation operation
20211221 jasst nano_test automation operationSadaaki Emura
 
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 TokyoSadaaki Emura
 
20191029 automation struggle
20191029 automation struggle 20191029 automation struggle
20191029 automation struggle Sadaaki Emura
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lessonSadaaki Emura
 
basic of Test automation installation
basic of Test automation installation basic of Test automation installation
basic of Test automation installation Sadaaki Emura
 
20190531 jasst19 tohoku
20190531 jasst19 tohoku20190531 jasst19 tohoku
20190531 jasst19 tohokuSadaaki Emura
 
Struggles and Challenges in STLC in Ques No.13
Struggles and Challenges in STLC in Ques No.13Struggles and Challenges in STLC in Ques No.13
Struggles and Challenges in STLC in Ques No.13Sadaaki Emura
 
20190424 q ameetup-m -publish
20190424 q ameetup-m -publish20190424 q ameetup-m -publish
20190424 q ameetup-m -publishSadaaki Emura
 
20181211 QA meetup in office
20181211 QA meetup in office20181211 QA meetup in office
20181211 QA meetup in officeSadaaki Emura
 
Istqb : Test automation Engineer
Istqb : Test automation EngineerIstqb : Test automation Engineer
Istqb : Test automation EngineerSadaaki Emura
 

More from Sadaaki Emura (16)

Test Automation Journey 2023 useful knowledge to start test automation
Test Automation Journey  2023 useful knowledge to start test automationTest Automation Journey  2023 useful knowledge to start test automation
Test Automation Journey 2023 useful knowledge to start test automation
 
What is Unit Testing
What is Unit TestingWhat is Unit Testing
What is Unit Testing
 
20220527_JaSST'22 Tohoku
20220527_JaSST'22 Tohoku20220527_JaSST'22 Tohoku
20220527_JaSST'22 Tohoku
 
How to introduce test automation in VeriServe Test Automation Talk #2
How to introduce test automation in VeriServe Test Automation Talk #2How to introduce test automation in VeriServe Test Automation Talk #2
How to introduce test automation in VeriServe Test Automation Talk #2
 
Test automation engineer
Test automation engineerTest automation engineer
Test automation engineer
 
20211221 jasst nano_test automation operation
20211221 jasst nano_test automation operation20211221 jasst nano_test automation operation
20211221 jasst nano_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
 
20191029 automation struggle
20191029 automation struggle 20191029 automation struggle
20191029 automation struggle
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lesson
 
basic of Test automation installation
basic of Test automation installation basic of Test automation installation
basic of Test automation installation
 
20190531 jasst19 tohoku
20190531 jasst19 tohoku20190531 jasst19 tohoku
20190531 jasst19 tohoku
 
Struggles and Challenges in STLC in Ques No.13
Struggles and Challenges in STLC in Ques No.13Struggles and Challenges in STLC in Ques No.13
Struggles and Challenges in STLC in Ques No.13
 
20190424 q ameetup-m -publish
20190424 q ameetup-m -publish20190424 q ameetup-m -publish
20190424 q ameetup-m -publish
 
20181211 QA meetup in office
20181211 QA meetup in office20181211 QA meetup in office
20181211 QA meetup in office
 
Istqb : Test automation Engineer
Istqb : Test automation EngineerIstqb : Test automation Engineer
Istqb : Test automation Engineer
 
QA improvement
QA improvementQA improvement
QA improvement
 

Recently uploaded

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 

Recently uploaded (20)

Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 

JaSST'18 Hokkaido Improve Automation Testing

  • 1. Improve Automation Testing ~ speed up deployment ~ Nov. 30, 2018 Sadaaki Emura Rakuten, Inc.
  • 3. 3 Who am I Name : Sadaaki Emura (nickname M) join in Rakuten: 2007 Group: Service Quality Assurance in LPD established in 2016 Role: Test Engineer Lead, automation Hobby: jog , climbing , horse racing
  • 5. 5 Our team (QA) Scope : 5 services Members : 9 + off site (if needed) Skill : QA specialist (almost not programmer) Mission : Quality Assurance by manual & automation test
  • 8. 8 Why is this year theme “improve speed”? Make impact = release many apps frequently photoAC
  • 9. 9 What was bottleneck in development speed? Specification Design Development Test (E2E) Development Test Design Test case / script Implement Test Execution scope
  • 10. 10 What was bottleneck in development speed? 1. Setup test environment takes time 2. Test feedback was late 3. Scripting for PC and SP takes time
  • 11. 11 1. Setup test environment takes time photoAC What was bottleneck in development speed? Example Install apps (1st time) 120 min Setup devices 5 min Run apps 2 min Closing 5 min :
  • 12. 12 2. Test feedback was late (E2E) ■One job has Mouse click : 3 sec Input form : 5 sec Page transition : 10 sec : 2-3 mins / page 10 mins / job What was bottleneck in development speed? ■Single process worsens speed Test job Test job Test job 10 mins
  • 13. 13 For PC For SP What was bottleneck in development speed? 3. Scripting for PC and SP takes time Apps support PC and SP Need to create 2 script
  • 14. 14 How did we resolve?
  • 15. 15 Solution to resolve these bottleneck 1. Every time, Everywhere, Everyone can use 2. Many test run at same time 3. One script covers multiple devices Features
  • 16. 16 Test script management Mobile Labo Architecture Chrom e FF IE iPhon e Andro id Edge Safari CI environment AppiumAPI SeleniumAPI SeleniumAPI Client side Test Environment (Mobile Labo) Clients Windows server MAC server MAC server Test script management Test script management https://jenkins.io/ Java
  • 17. 17 Mobile Labo image https://qiita.com/emurin Document ▼ Mac Windows Smart phone Appium/Selenium
  • 18. 18 1. Every time, Everywhere, Everyone can use per person every time As Is Install apps (1st time) 120 min Setup devices 5 min Run apps 2 min Closing 5 min : To Be Connect API 1 min
  • 19. 19 2. Many test run at same time FireFox Chrome android iOS iOS One JENKINS runs a couple of test script
  • 20. 20 3. One script covers multiple devices PC SP Able to run test in each device ※apps rule - same function - same class name (HTML) : example : responsive site
  • 22. 22 Improvement effect 1 Example (keiba) Betting Lite (投票Lite) in Horse Racing PC & SP are same function • Step is Choose race, Bet , Confirm , Complete • 9 betting method / 4 type • Selecting order of placing(Max 3rd) ⇒ 736 test case x 2 devices(PC , SP) PC SP
  • 23. 23 Improvement effect 1 (initial phase) Manual testing Previous automation Mobile labo 120 hour 60 hour Method Speed 30 hour ※1 include scripting , setup task ※2 include scripting task ※1 ※2
  • 24. 24 Improvement effect 1 (CI phase) Manual testing Previous automation Mobile labo 120 hour 1.5 hour Method Speed 0.5 hour ※1 include setup task ※1
  • 25. 25 Improvement effect 2 Example (Wedding) Wedding Service is responsive site • Reserve wedding hall • Review wedding hall • Search wedding hall : ⇒ 302 test case x 2 devices(PC , SP) PC SP
  • 26. 26 Improvement effect 2 (initial phase) Manual testing Previous automation Mobile labo 50 hour 20 hour Method Speed 11 hour ※1 include scripting , setup task ※2 include scripting task ※1 ※2
  • 27. 27 Improvement effect 2 (CI phase) Manual testing Previous automation Mobile labo 50 hour 0.5 hour Method Speed 0.2 hour ※1 include setup task ※1
  • 28. 28 Improvement effect Mobile Labo improves speed FREEIMAGES/Geo Okretic
  • 31. 31 Issue 1 : clash with others iPhon e 1 Andro id Chro me iPhon e 2 iPhon e 1 Andro id Chro me iPhon e 2 clash Able to use devices Not able to use same device at same time
  • 32. 32 Issue 2 : need to know device location iPhon e 1 Andro id 1 Appium API MAC server 1 iPhon e 2 Andro id 2 iPhon e X Andro id X Appium API MAC server X … Clients set configuration - Appium IP address & port - Capabilities (UDID etc) Where ?
  • 33. 33 New problem and Next step Improve speed more 1. Clash with others 2. Need to know device location FREEIMAGES/Alexander
  • 35. 35 New problem and Next step (This was situation in Aug.) Improve speed more 1. Clash with others 2. Need to know device location FREEIMAGES/Alexander Improved
  • 36. 36 New problem was resolved in 2 months Andro id Selenium hub Appium node Andro id Appium node ・・・・ • Handle node (client does not need to know where appium) • Block client if devices are busy

Editor's Notes

  1. まず、組織の話 ・5つのサービスを持っている ・ロールでチームが分かれている
  2. QAの組織は ・ 9名 + offsite (増減します) ・ QAのスペシャリスト集団 ただ、ほとんどはエンジニア経験なし ・マニュアル、自動化で品質を担保する
  3. そのなかで、自動化の活動に絞って説明します
  4. 2016年にチームができました それとあわせてテスト自動化を導入を検討しはじめ、1つのサービスに対して導入を行いました 2017年 今度は残りの4サービスに対しても自動化を横展開することを行ってきました 今年は そのテスト自動化のスピードを改善することを目標に取り組んでおります
  5. では、なぜ今年 速度改善を目標に置いているか? LPDの課として、市場(しじょう)に対してMake impactするということを今年のテーマに挙げています。 つまりは良質のアプリケーションを定期的に、かつ多くリリースしていくことでユーザーへインパクトを与えていきたいということです QAとしては、テスト速度を改善することで、このテーマに寄与
  6. 具体的には 開発フローとして、この部分です
  7. では、現在の課題 何がスピードのボトルネックになっているのか 3つ 1. テストの環境構築 2. テストのフィードバック時間 3. 自動化のスクリプト工数、PC用、SP用で構築する時間 では具体的にひとつひとつ説明いたします
  8. Selenium , appium等のsoftwareをつかっています 最初であれば構築 それ以降でも、テスト実行都度、起動させるための設定に多くの時間がテスト実行時毎発生していました
  9. マニュアルテストに比べれば早いですが、それでも時間がかかる 例えば。。。  1ページで2-3分、1JOB 10分 これらのジョブをシーケンシャルに実行することで全部終わらせるのに非常に時間がかかっていました
  10. PCとSPをサポートしており 似た構造ではありますが、それぞれでSCRIPTを記述する必要があり 単純に、媒体数の分工数がかかってます
  11. で、どうやって解決したか
  12. モバイルラボ テストプラットフォームを構築しました (残り6分) 特徴は主に3つあります いつでもどこでもだれでも使える 多くのテストを同時実行 一つのスクリプトでマルチデバイス対応
  13. 実物はこんな感じです この場では、構築方法に関して説明しませんが それにかかわるドキュメントはqiitaにあがっていますのでそっち見てください 3つの特徴に関して説明していきます
  14. これまでテスト実行するときの構築時間が AsIs ToBe このプラットフォームのAPIに接続するだけですぐ使えます
  15. 2PC、3SP
  16. 1つのスクリプトでPC,SP走らせることができています ただ、その場合サービス側にいくつかの条件が発生します レスポンシブといったデザイン、HTMLのオブジェクトの定義の統一
  17. では具体的にどのような効果ができたか 2つ持ってきています。 競馬とウェディングです
  18. ひとつめは競馬です 特徴として ・馬券を投票する機能の部分 ・単勝、複勝といった賭式、ながし、ボックスといった買い方、そして最大16頭から馬を選ぶ この場合、全テストケースは約1500件
  19. 3つの実行時間を出しています  マニュアル  モバイルラボを導入する前の自動化  今回のモバイルラボ イニシャルなので、自動化ではスクリプティングといった構築系の処理も含んでいます このように75% CUT、従来方式に比べ50%CUTになっています
  20. CIのフェーズに入った場合、イニシャルコストがなくなるため、かなりの改善になっています
  21. 次の例はウェディングです この機能の特徴は ・ブライダル予約 ・さまざまなフォーム入力 約600ケース
  22. このように、モバイルラボのテストプラットフォームを導入によりテスト実行時間の改善がはかれました。
  23. 次のステップに関して(のこり2分
  24. 改善はしたものの、いくつかの課題にぶつかりました 2つあります
  25. 一つ目は テスト実行が衝突する
  26. 2つ目は 場所を知る必要がある → 切り替えが発生 オペレーション 1のissueに関連するが、空いてる別のデバイスへiOS11と指定するだけでクライアント側が意識しなくてもよいようにしたい
  27. この2点を今年残り解決させたいと思います さらにテスト効率が上がるとおもわれて、ことし取り組みたいと思っております
  28. と、おもったのですが、もう今年はおわりじゃないですか。 この資料は9月予定していたもので
  29. この2点を今年残り解決させたいと思います さらにテスト効率が上がるとおもわれて、ことし取り組みたいと思っております
  30. ということで、それが解決しました アークテクチャをすこし変更しております 具体的にselenium gridとappiumを掛け合わせています こちらもqiitaに資料が上がっております これにより、 Clientは場所を意識せず、selenium hubのlocationのみ意識すればよい 同時実行しようとすると、同デバイスに割り振るか、BUSYであとから来たユーザーをブロックし、テストの衝突を防ぎます