SlideShare a Scribd company logo
1 of 30
Download to read offline
Agenda
● WHY > WHEN > HOW TO APPLY AUTOMATION TESTING IN
AGILE DEVELOPMENT
● DEMO > LET’S CODE TO BE YOUR OWN HERO
Why you apply Automation Testing in Agile ???
Traditional Testing (Waterfall) VS. Agile Testing
Requirements Design Development Testing Deployment
Waterfall
Agile
Incremental Development
Frequent Changes
Continuous Testing
Support Activities
Exhaustive Testing
Testing activities like data set up, test
result validation and test reporting
Continuous testing helps in ensuring the quality
of the code
Automation brings in necessary agility to testing
and helps it to respond faster and more
effectively to changes
Agile teams have only a few weeks to get a grasp
of the requirement, make the code changes and
test the changes
Automation testing can be repeated as many times and
This is highly useful in ensuring code quality when
working in a limited testing window
Reasons
Develop Unit Test
Code
Review
API
Automation
Test
E2E
Automation
Test
Manual Test
Support The Last Line Of Defense
End user
When you apply Automation Testing in Agile ???
Customer Requests
Long-term Projects
Executed with various browsers and
environments
Executed repeatedly or multiples data sets
How to apply Automation Testing in Agile ???
• Approaching the product and define the scope when doing automation test
• Suggest customer/PO to select the relevant automation tool/framework
- Define testing strategy
- Define the test plan for each release
- Define the commitment when doing automation test
Responsibilities of an Automation Testing Team
• API Automation Testing
• End 2 End Automation Testing
• Performances Testing
• Security Testing
….
Scopes of Automation Testing
START RELEASE INSTALL PRODUCTSTOP CHECKIN
DEV BRANCH
STOP CHECKIN
INT BRANCH
STOP CHECKIN
MAIN BRANCH
DEV TIMELINE
TESTING TIMELINE
API
Implementation
Function 1
API Testing
Function 1
UI/Business
implementation
Function 1
Preparing data/
testcase Function 1
API
Implementation
Function n
UI/Business
implementation
Function n
Implement UI Test
Function 1
API Testing
Function n
Preparing data/ test
case Function n
Implement UI Test
Function n
Hot fix on INT
Running test on
INT server
Hot fix on MAIN
Development Timeline
Programing editor
Programing language
CURRENT PROJECT Framework/ library support
Tools/Framework
Framework/Project Structure
API
Testing
Project
E2E
Testing
Project
1. Feature folder contains test
case that writing basing on
cucumber style
4. Steps folder contains the
automation steps
2. Helper folder contains some
common function/ action
supporting project
3. Page object folder contains
the function/action interaction
in that page
1
1
2
2
3
4
3
4
Feature Test & Implemented Steps
• Working with team to classify requirements
• Writing new feature test
• Implementing test cases
• Executing and checking test result
What Automation Team Do
Sample API Document
API Automation Testing Results
Design Test Case Using Gherkin Language
End 2 End Automation Testing Results
Azure Boards
Team
Visual Studio,
Visual Studio Code
Azure Repos (Git)
QA
Web App
Dev
Web App
Main
Web App
Backlogs &
Work items
Push code
Publish
Artifacts
Pull
ArtifactsTrigger Build
Get Source
Install tools
Package Artifacts
Run Unit Test
Build Solution
Publish Artifacts
Build Definition
Deploy to Dev
Production Stage
Azure Build
Pipeline (CI)
Azure Release
Pipeline (CD)
Run API/E2E Test
Deploy to Dev
Dev Stage
Deploy to Dev
…/Main Stage
Production
Web App
Web App
Staging slot
Production slot
Azure Artifacts
Azure Run API
Test Pipeline
Azure Run E2E
Test Pipeline
CI/CD Process
Check Error
Log
DEMO
TO BE YOUR OWN HERO
• Install Git, Node, Visual Studio Code (Extension
Cucumber (Gherkin)), Protractor, Rimraf, Gulp
• Clone projects from repositories
• Open Visual Studio Code and select cloned
project:
1. Click on Branch icon
2. Click on More Actions icon
3. Click on Pull action
⇒ Time to code by yourself
Practice Requirements
Team 1:
Part 1:
User Story 1: Implement API Test Case for Search Flight Ticket with criteria
Acceptance Criteria:
- Verify that return data for Search flight with Status Code 200, message OK :
From: Shanghai To: Beijing Date: 12/28/201
- Verify that return data can be sorted by Depart Time and filter by Price From $500 To $1000
User Story 2: Implement API Test Case for Search Flight by ID
Acceptance Criteria :
- Verify that return data display correctly for this flight id (4C82AA22-3DE0-AAF8-CA37-
007E7E592A89) with Status Code 200, message OK
Assignment
Team 1:
Part 2:
User Story 3: Implement API Test Case for Booking Flight
Acceptance Criteria:
- I can book the flight successfully with all required information fill out :
Flight ID: a99c4d43-7db2-eab1-7515-2fd94352688c
Traveler: 1 Adult, 1 Children, 1 Infant
Payment with Card Number: 4926530813590899
- Verify that Status code is 200 and flight booking code is returned
Assignment
Team 2:
Part 1:
User Story 1: Implement End 2 End Test Case for Search Flight ticket with order by Depart Time
Acceptance Criteria:
- Verify that return data for Search flight correctly:
From: Shanghai To: Beijing Date: 12/28/2019
- Verify that return data can be sorted by Depart Time
Part 2:
User Story 2: Implement End 2 End Test Case for Booking Flight
Acceptance Criteria:
- I can book the flight successfully with all required information fill out:
Search Flight number 4 ($564) from Part 1
Traveler: 1 Adult, 1 Children, 1 Infant
Baggage of Adult is 2
Payment: Card Number: 4926530813590899
- Verify that all information of Flight, Traveler, Total amount are correct at Booking Success page
Assignment
Team 3:
Part 1:
User Story 1: Implement End 2 End Test Case for Search Flight ticket with Price Filter
Acceptance Criteria :
- Verify that return data for Search Flight :
From: Shanghai To: Beijing Date: 12/28/2019
- Verify that return data can be filtered Price From $500 to $1000
Part 2:
User Story 2: Implement End 2 End Test Case for Booking Flight
Acceptance Criteria:
- I can book the flight successfully with all required information fill out:
Search Flight number 1 ($564) from Part 1
Traveler: 1 Adult, 1 Children, 1 Infant
Travel Insurance of Adult is Travel Basic
Payment: Card Number: 4926530813590899
- Verify that all information of Flight, Traveler, Total amount are correct at Booking success page
Assignment
THANK YOU!

More Related Content

What's hot

How to select the right automated testing tool
How to select the right automated testing toolHow to select the right automated testing tool
How to select the right automated testing toolKatalon Studio
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API TestingBruno Pedro
 
Testing APIs in the Cloud
Testing APIs in the CloudTesting APIs in the Cloud
Testing APIs in the CloudSmartBear
 
API Testing – Keeping a Check on Agile Software Development
API Testing – Keeping a Check on Agile Software DevelopmentAPI Testing – Keeping a Check on Agile Software Development
API Testing – Keeping a Check on Agile Software DevelopmentSoftware Testing Solution
 
Use Automation to Assist -Not Replace- Manual Testing
Use Automation to Assist -Not Replace- Manual TestingUse Automation to Assist -Not Replace- Manual Testing
Use Automation to Assist -Not Replace- Manual TestingSmartBear
 
Angular components-unit-testing
Angular components-unit-testingAngular components-unit-testing
Angular components-unit-testingTomasz Borowski
 
Easy Automated UI Testing with Canopy
Easy Automated UI Testing with CanopyEasy Automated UI Testing with Canopy
Easy Automated UI Testing with CanopyEric Potter
 
Script Driven Testing using TestComplete
Script Driven Testing using TestCompleteScript Driven Testing using TestComplete
Script Driven Testing using TestCompletesrivinayak
 
API Test Automation Tips and Tricks
API Test Automation Tips and TricksAPI Test Automation Tips and Tricks
API Test Automation Tips and Trickstesthive
 
Getting started with Appium 2.0
Getting started with Appium 2.0Getting started with Appium 2.0
Getting started with Appium 2.0Anand Bagmar
 

What's hot (20)

How to select the right automated testing tool
How to select the right automated testing toolHow to select the right automated testing tool
How to select the right automated testing tool
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API Testing
 
Api Testing
Api TestingApi Testing
Api Testing
 
Api testing
Api testingApi testing
Api testing
 
API Testing
API TestingAPI Testing
API Testing
 
Testing APIs in the Cloud
Testing APIs in the CloudTesting APIs in the Cloud
Testing APIs in the Cloud
 
API Testing – Keeping a Check on Agile Software Development
API Testing – Keeping a Check on Agile Software DevelopmentAPI Testing – Keeping a Check on Agile Software Development
API Testing – Keeping a Check on Agile Software Development
 
Use Automation to Assist -Not Replace- Manual Testing
Use Automation to Assist -Not Replace- Manual TestingUse Automation to Assist -Not Replace- Manual Testing
Use Automation to Assist -Not Replace- Manual Testing
 
Belajar Postman test runner
Belajar Postman test runnerBelajar Postman test runner
Belajar Postman test runner
 
Angular components-unit-testing
Angular components-unit-testingAngular components-unit-testing
Angular components-unit-testing
 
Easy Automated UI Testing with Canopy
Easy Automated UI Testing with CanopyEasy Automated UI Testing with Canopy
Easy Automated UI Testing with Canopy
 
Test studio
Test studioTest studio
Test studio
 
BDD for APIs
BDD for APIsBDD for APIs
BDD for APIs
 
Script Driven Testing using TestComplete
Script Driven Testing using TestCompleteScript Driven Testing using TestComplete
Script Driven Testing using TestComplete
 
TELERIK COURSE
TELERIK COURSETELERIK COURSE
TELERIK COURSE
 
API Test Automation Tips and Tricks
API Test Automation Tips and TricksAPI Test Automation Tips and Tricks
API Test Automation Tips and Tricks
 
Getting started with Appium 2.0
Getting started with Appium 2.0Getting started with Appium 2.0
Getting started with Appium 2.0
 
API TESTING
API TESTINGAPI TESTING
API TESTING
 
Test api
Test apiTest api
Test api
 
Appium vs Appium with Perfecto
Appium vs Appium with PerfectoAppium vs Appium with Perfecto
Appium vs Appium with Perfecto
 

Similar to Automation Testing in Agile: Code Your Own Tests

03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and executionClemens Reijnen
 
Automated Developer Testing: Achievements and Challenges
Automated Developer Testing: Achievements and ChallengesAutomated Developer Testing: Achievements and Challenges
Automated Developer Testing: Achievements and ChallengesTao Xie
 
www.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testingwww.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testingTutorials Book
 
Susan windsor soft test 16th november 2005
Susan windsor soft test   16th november 2005Susan windsor soft test   16th november 2005
Susan windsor soft test 16th november 2005David O'Dowd
 
Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023Scott Keck-Warren
 
Enhancing Software Quality
Enhancing Software QualityEnhancing Software Quality
Enhancing Software QualityAnand Prabhala
 
Zero touch QA automation platform for DevOps
Zero touch QA automation platform for DevOpsZero touch QA automation platform for DevOps
Zero touch QA automation platform for DevOpsTaUB Solutions
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2Yogindernath Gupta
 
How Agile Are you
How Agile Are youHow Agile Are you
How Agile Are youHeaton Cai
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2onsoftwaretest
 
Online Audio Player - STQA_Mini_Project2.pdf
Online Audio Player - STQA_Mini_Project2.pdfOnline Audio Player - STQA_Mini_Project2.pdf
Online Audio Player - STQA_Mini_Project2.pdfrohanmandhare4
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lessonSadaaki Emura
 
Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023Scott Keck-Warren
 
Qa case study
Qa case studyQa case study
Qa case studyhopperdev
 
Sw Software QA Testing
Sw Software QA TestingSw Software QA Testing
Sw Software QA Testingjonathan077070
 
Software Testing: Application And Script Independent Automation Framework: Th...
Software Testing: Application And Script Independent Automation Framework: Th...Software Testing: Application And Script Independent Automation Framework: Th...
Software Testing: Application And Script Independent Automation Framework: Th...guest0efb5e
 
V Model in Software Testing
V Model in Software TestingV Model in Software Testing
V Model in Software TestingAbdul Raheem
 
automation framework
automation frameworkautomation framework
automation frameworkANSHU GOYAL
 
Quality Management Introduction
Quality Management IntroductionQuality Management Introduction
Quality Management IntroductionDuy Tan Geek
 

Similar to Automation Testing in Agile: Code Your Own Tests (20)

03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and execution
 
Automated Developer Testing: Achievements and Challenges
Automated Developer Testing: Achievements and ChallengesAutomated Developer Testing: Achievements and Challenges
Automated Developer Testing: Achievements and Challenges
 
www.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testingwww.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testing
 
Susan windsor soft test 16th november 2005
Susan windsor soft test   16th november 2005Susan windsor soft test   16th november 2005
Susan windsor soft test 16th november 2005
 
Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023
 
Enhancing Software Quality
Enhancing Software QualityEnhancing Software Quality
Enhancing Software Quality
 
Zero touch QA automation platform for DevOps
Zero touch QA automation platform for DevOpsZero touch QA automation platform for DevOps
Zero touch QA automation platform for DevOps
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
How Agile Are you
How Agile Are youHow Agile Are you
How Agile Are you
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
 
Online Audio Player - STQA_Mini_Project2.pdf
Online Audio Player - STQA_Mini_Project2.pdfOnline Audio Player - STQA_Mini_Project2.pdf
Online Audio Player - STQA_Mini_Project2.pdf
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lesson
 
Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023
 
Qa case study
Qa case studyQa case study
Qa case study
 
Sw Software QA Testing
Sw Software QA TestingSw Software QA Testing
Sw Software QA Testing
 
Software Testing: Application And Script Independent Automation Framework: Th...
Software Testing: Application And Script Independent Automation Framework: Th...Software Testing: Application And Script Independent Automation Framework: Th...
Software Testing: Application And Script Independent Automation Framework: Th...
 
Test Life Cycle
Test Life CycleTest Life Cycle
Test Life Cycle
 
V Model in Software Testing
V Model in Software TestingV Model in Software Testing
V Model in Software Testing
 
automation framework
automation frameworkautomation framework
automation framework
 
Quality Management Introduction
Quality Management IntroductionQuality Management Introduction
Quality Management Introduction
 

More from Scrum Breakfast Vietnam

[Scrum Breakfast DN] Is it possible to make 100% Unit Test coverage for your ...
[Scrum Breakfast DN] Is it possible to make 100% Unit Test coverage for your ...[Scrum Breakfast DN] Is it possible to make 100% Unit Test coverage for your ...
[Scrum Breakfast DN] Is it possible to make 100% Unit Test coverage for your ...Scrum Breakfast Vietnam
 
Retrospective Toolbox - HCMC Scrum Breakfast - 30/11/2019
Retrospective Toolbox - HCMC Scrum Breakfast - 30/11/2019Retrospective Toolbox - HCMC Scrum Breakfast - 30/11/2019
Retrospective Toolbox - HCMC Scrum Breakfast - 30/11/2019Scrum Breakfast Vietnam
 
Team building in the Infinite game - HCMC Scrum Breakfast - 28/09/2019
Team building in the Infinite game - HCMC Scrum Breakfast - 28/09/2019Team building in the Infinite game - HCMC Scrum Breakfast - 28/09/2019
Team building in the Infinite game - HCMC Scrum Breakfast - 28/09/2019Scrum Breakfast Vietnam
 
Design Thinking in Solving Problem - HCMC Scrum Breakfast - July 27, 2019
Design Thinking in Solving Problem - HCMC Scrum Breakfast - July 27, 2019Design Thinking in Solving Problem - HCMC Scrum Breakfast - July 27, 2019
Design Thinking in Solving Problem - HCMC Scrum Breakfast - July 27, 2019Scrum Breakfast Vietnam
 
Make your Scrum team great again - DN Scrum Breakfast - June 21, 2019
Make your Scrum team great again - DN Scrum Breakfast - June 21, 2019Make your Scrum team great again - DN Scrum Breakfast - June 21, 2019
Make your Scrum team great again - DN Scrum Breakfast - June 21, 2019Scrum Breakfast Vietnam
 
Working as a remote team - HCM Scrum Breakfast - May 25, 2019
Working as a remote team - HCM Scrum Breakfast - May 25, 2019Working as a remote team - HCM Scrum Breakfast - May 25, 2019
Working as a remote team - HCM Scrum Breakfast - May 25, 2019Scrum Breakfast Vietnam
 
Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018
Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018
Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018Scrum Breakfast Vietnam
 
Benefits of BPMN in Software Development - DN Scrum Breakfast - September 29,...
Benefits of BPMN in Software Development - DN Scrum Breakfast - September 29,...Benefits of BPMN in Software Development - DN Scrum Breakfast - September 29,...
Benefits of BPMN in Software Development - DN Scrum Breakfast - September 29,...Scrum Breakfast Vietnam
 
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...Scrum Breakfast Vietnam
 
Automation Testing in Agile - HCM Scrum Breakfast - July 2018
Automation Testing in Agile - HCM Scrum Breakfast - July 2018Automation Testing in Agile - HCM Scrum Breakfast - July 2018
Automation Testing in Agile - HCM Scrum Breakfast - July 2018Scrum Breakfast Vietnam
 
[DN Scrum Breakfast] API Automation Testing Using Retrofit & Cucumber
[DN Scrum Breakfast] API Automation Testing Using Retrofit & Cucumber[DN Scrum Breakfast] API Automation Testing Using Retrofit & Cucumber
[DN Scrum Breakfast] API Automation Testing Using Retrofit & CucumberScrum Breakfast Vietnam
 
[HCM Scrum Breakfast - April 2018] Teamwork: The Leader Job (Pt.1)
[HCM Scrum Breakfast - April 2018] Teamwork: The Leader Job (Pt.1)[HCM Scrum Breakfast - April 2018] Teamwork: The Leader Job (Pt.1)
[HCM Scrum Breakfast - April 2018] Teamwork: The Leader Job (Pt.1)Scrum Breakfast Vietnam
 
[DN Scrum Breakfast] Effective Cloud Computing
[DN Scrum Breakfast] Effective Cloud Computing[DN Scrum Breakfast] Effective Cloud Computing
[DN Scrum Breakfast] Effective Cloud ComputingScrum Breakfast Vietnam
 
[HCM Scrum Breakfast - January 2018] ElasticSearch In Action
[HCM Scrum Breakfast - January 2018] ElasticSearch In Action[HCM Scrum Breakfast - January 2018] ElasticSearch In Action
[HCM Scrum Breakfast - January 2018] ElasticSearch In ActionScrum Breakfast Vietnam
 
[DN Scrum Breakfast] Automation E2E Testing with Chimp Framework and WebdriverIO
[DN Scrum Breakfast] Automation E2E Testing with Chimp Framework and WebdriverIO[DN Scrum Breakfast] Automation E2E Testing with Chimp Framework and WebdriverIO
[DN Scrum Breakfast] Automation E2E Testing with Chimp Framework and WebdriverIOScrum Breakfast Vietnam
 
[DN Scrum Breakfast] Scrum Master, do we really need one_by Nam Dang_Mar2016
[DN Scrum Breakfast] Scrum Master, do we really need one_by Nam Dang_Mar2016[DN Scrum Breakfast] Scrum Master, do we really need one_by Nam Dang_Mar2016
[DN Scrum Breakfast] Scrum Master, do we really need one_by Nam Dang_Mar2016Scrum Breakfast Vietnam
 
[DN Scrum Breakfast] Protractor: E2E Testing for AngularJS (by Thuy Nguyen)
[DN Scrum Breakfast] Protractor: E2E Testing for AngularJS (by Thuy Nguyen)[DN Scrum Breakfast] Protractor: E2E Testing for AngularJS (by Thuy Nguyen)
[DN Scrum Breakfast] Protractor: E2E Testing for AngularJS (by Thuy Nguyen)Scrum Breakfast Vietnam
 
[HCM Scrum Breakfast - June 2017] Distributed Team
[HCM Scrum Breakfast - June 2017] Distributed Team[HCM Scrum Breakfast - June 2017] Distributed Team
[HCM Scrum Breakfast - June 2017] Distributed TeamScrum Breakfast Vietnam
 

More from Scrum Breakfast Vietnam (20)

[Scrum Breakfast DN] Is it possible to make 100% Unit Test coverage for your ...
[Scrum Breakfast DN] Is it possible to make 100% Unit Test coverage for your ...[Scrum Breakfast DN] Is it possible to make 100% Unit Test coverage for your ...
[Scrum Breakfast DN] Is it possible to make 100% Unit Test coverage for your ...
 
Retrospective Toolbox - HCMC Scrum Breakfast - 30/11/2019
Retrospective Toolbox - HCMC Scrum Breakfast - 30/11/2019Retrospective Toolbox - HCMC Scrum Breakfast - 30/11/2019
Retrospective Toolbox - HCMC Scrum Breakfast - 30/11/2019
 
UI/UX Design in Agile process
UI/UX Design in Agile process  UI/UX Design in Agile process
UI/UX Design in Agile process
 
Team building in the Infinite game - HCMC Scrum Breakfast - 28/09/2019
Team building in the Infinite game - HCMC Scrum Breakfast - 28/09/2019Team building in the Infinite game - HCMC Scrum Breakfast - 28/09/2019
Team building in the Infinite game - HCMC Scrum Breakfast - 28/09/2019
 
Design Thinking in Solving Problem - HCMC Scrum Breakfast - July 27, 2019
Design Thinking in Solving Problem - HCMC Scrum Breakfast - July 27, 2019Design Thinking in Solving Problem - HCMC Scrum Breakfast - July 27, 2019
Design Thinking in Solving Problem - HCMC Scrum Breakfast - July 27, 2019
 
Make your Scrum team great again - DN Scrum Breakfast - June 21, 2019
Make your Scrum team great again - DN Scrum Breakfast - June 21, 2019Make your Scrum team great again - DN Scrum Breakfast - June 21, 2019
Make your Scrum team great again - DN Scrum Breakfast - June 21, 2019
 
Working as a remote team - HCM Scrum Breakfast - May 25, 2019
Working as a remote team - HCM Scrum Breakfast - May 25, 2019Working as a remote team - HCM Scrum Breakfast - May 25, 2019
Working as a remote team - HCM Scrum Breakfast - May 25, 2019
 
Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018
Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018
Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018
 
Benefits of BPMN in Software Development - DN Scrum Breakfast - September 29,...
Benefits of BPMN in Software Development - DN Scrum Breakfast - September 29,...Benefits of BPMN in Software Development - DN Scrum Breakfast - September 29,...
Benefits of BPMN in Software Development - DN Scrum Breakfast - September 29,...
 
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
 
Automation Testing in Agile - HCM Scrum Breakfast - July 2018
Automation Testing in Agile - HCM Scrum Breakfast - July 2018Automation Testing in Agile - HCM Scrum Breakfast - July 2018
Automation Testing in Agile - HCM Scrum Breakfast - July 2018
 
[DN Scrum Breakfast] API Automation Testing Using Retrofit & Cucumber
[DN Scrum Breakfast] API Automation Testing Using Retrofit & Cucumber[DN Scrum Breakfast] API Automation Testing Using Retrofit & Cucumber
[DN Scrum Breakfast] API Automation Testing Using Retrofit & Cucumber
 
[HCM Scrum Breakfast - April 2018] Teamwork: The Leader Job (Pt.1)
[HCM Scrum Breakfast - April 2018] Teamwork: The Leader Job (Pt.1)[HCM Scrum Breakfast - April 2018] Teamwork: The Leader Job (Pt.1)
[HCM Scrum Breakfast - April 2018] Teamwork: The Leader Job (Pt.1)
 
[DN Scrum Breakfast] Effective Cloud Computing
[DN Scrum Breakfast] Effective Cloud Computing[DN Scrum Breakfast] Effective Cloud Computing
[DN Scrum Breakfast] Effective Cloud Computing
 
[HCM Scrum Breakfast - January 2018] ElasticSearch In Action
[HCM Scrum Breakfast - January 2018] ElasticSearch In Action[HCM Scrum Breakfast - January 2018] ElasticSearch In Action
[HCM Scrum Breakfast - January 2018] ElasticSearch In Action
 
[DN Scrum Breakfast] Automation E2E Testing with Chimp Framework and WebdriverIO
[DN Scrum Breakfast] Automation E2E Testing with Chimp Framework and WebdriverIO[DN Scrum Breakfast] Automation E2E Testing with Chimp Framework and WebdriverIO
[DN Scrum Breakfast] Automation E2E Testing with Chimp Framework and WebdriverIO
 
[DN Scrum Breakfast] Scrum Master, do we really need one_by Nam Dang_Mar2016
[DN Scrum Breakfast] Scrum Master, do we really need one_by Nam Dang_Mar2016[DN Scrum Breakfast] Scrum Master, do we really need one_by Nam Dang_Mar2016
[DN Scrum Breakfast] Scrum Master, do we really need one_by Nam Dang_Mar2016
 
[DN Scrum Breakfast] Protractor: E2E Testing for AngularJS (by Thuy Nguyen)
[DN Scrum Breakfast] Protractor: E2E Testing for AngularJS (by Thuy Nguyen)[DN Scrum Breakfast] Protractor: E2E Testing for AngularJS (by Thuy Nguyen)
[DN Scrum Breakfast] Protractor: E2E Testing for AngularJS (by Thuy Nguyen)
 
[Da Nang Scrum Breakfast] Angular Tour
[Da Nang Scrum Breakfast] Angular Tour[Da Nang Scrum Breakfast] Angular Tour
[Da Nang Scrum Breakfast] Angular Tour
 
[HCM Scrum Breakfast - June 2017] Distributed Team
[HCM Scrum Breakfast - June 2017] Distributed Team[HCM Scrum Breakfast - June 2017] Distributed Team
[HCM Scrum Breakfast - June 2017] Distributed Team
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

Automation Testing in Agile: Code Your Own Tests

  • 1.
  • 2. Agenda ● WHY > WHEN > HOW TO APPLY AUTOMATION TESTING IN AGILE DEVELOPMENT ● DEMO > LET’S CODE TO BE YOUR OWN HERO
  • 3. Why you apply Automation Testing in Agile ???
  • 4. Traditional Testing (Waterfall) VS. Agile Testing Requirements Design Development Testing Deployment Waterfall Agile
  • 5. Incremental Development Frequent Changes Continuous Testing Support Activities Exhaustive Testing Testing activities like data set up, test result validation and test reporting Continuous testing helps in ensuring the quality of the code Automation brings in necessary agility to testing and helps it to respond faster and more effectively to changes Agile teams have only a few weeks to get a grasp of the requirement, make the code changes and test the changes Automation testing can be repeated as many times and This is highly useful in ensuring code quality when working in a limited testing window Reasons
  • 7. When you apply Automation Testing in Agile ???
  • 8. Customer Requests Long-term Projects Executed with various browsers and environments Executed repeatedly or multiples data sets
  • 9. How to apply Automation Testing in Agile ???
  • 10. • Approaching the product and define the scope when doing automation test • Suggest customer/PO to select the relevant automation tool/framework - Define testing strategy - Define the test plan for each release - Define the commitment when doing automation test Responsibilities of an Automation Testing Team
  • 11. • API Automation Testing • End 2 End Automation Testing • Performances Testing • Security Testing …. Scopes of Automation Testing
  • 12. START RELEASE INSTALL PRODUCTSTOP CHECKIN DEV BRANCH STOP CHECKIN INT BRANCH STOP CHECKIN MAIN BRANCH DEV TIMELINE TESTING TIMELINE API Implementation Function 1 API Testing Function 1 UI/Business implementation Function 1 Preparing data/ testcase Function 1 API Implementation Function n UI/Business implementation Function n Implement UI Test Function 1 API Testing Function n Preparing data/ test case Function n Implement UI Test Function n Hot fix on INT Running test on INT server Hot fix on MAIN Development Timeline
  • 13. Programing editor Programing language CURRENT PROJECT Framework/ library support Tools/Framework
  • 14. Framework/Project Structure API Testing Project E2E Testing Project 1. Feature folder contains test case that writing basing on cucumber style 4. Steps folder contains the automation steps 2. Helper folder contains some common function/ action supporting project 3. Page object folder contains the function/action interaction in that page 1 1 2 2 3 4 3 4
  • 15. Feature Test & Implemented Steps
  • 16. • Working with team to classify requirements • Writing new feature test • Implementing test cases • Executing and checking test result What Automation Team Do
  • 19. Design Test Case Using Gherkin Language
  • 20. End 2 End Automation Testing Results
  • 21. Azure Boards Team Visual Studio, Visual Studio Code Azure Repos (Git) QA Web App Dev Web App Main Web App Backlogs & Work items Push code Publish Artifacts Pull ArtifactsTrigger Build Get Source Install tools Package Artifacts Run Unit Test Build Solution Publish Artifacts Build Definition Deploy to Dev Production Stage Azure Build Pipeline (CI) Azure Release Pipeline (CD) Run API/E2E Test Deploy to Dev Dev Stage Deploy to Dev …/Main Stage Production Web App Web App Staging slot Production slot Azure Artifacts Azure Run API Test Pipeline Azure Run E2E Test Pipeline CI/CD Process Check Error Log
  • 22. DEMO
  • 23. TO BE YOUR OWN HERO
  • 24. • Install Git, Node, Visual Studio Code (Extension Cucumber (Gherkin)), Protractor, Rimraf, Gulp • Clone projects from repositories • Open Visual Studio Code and select cloned project: 1. Click on Branch icon 2. Click on More Actions icon 3. Click on Pull action ⇒ Time to code by yourself Practice Requirements
  • 25. Team 1: Part 1: User Story 1: Implement API Test Case for Search Flight Ticket with criteria Acceptance Criteria: - Verify that return data for Search flight with Status Code 200, message OK : From: Shanghai To: Beijing Date: 12/28/201 - Verify that return data can be sorted by Depart Time and filter by Price From $500 To $1000 User Story 2: Implement API Test Case for Search Flight by ID Acceptance Criteria : - Verify that return data display correctly for this flight id (4C82AA22-3DE0-AAF8-CA37- 007E7E592A89) with Status Code 200, message OK Assignment
  • 26. Team 1: Part 2: User Story 3: Implement API Test Case for Booking Flight Acceptance Criteria: - I can book the flight successfully with all required information fill out : Flight ID: a99c4d43-7db2-eab1-7515-2fd94352688c Traveler: 1 Adult, 1 Children, 1 Infant Payment with Card Number: 4926530813590899 - Verify that Status code is 200 and flight booking code is returned Assignment
  • 27. Team 2: Part 1: User Story 1: Implement End 2 End Test Case for Search Flight ticket with order by Depart Time Acceptance Criteria: - Verify that return data for Search flight correctly: From: Shanghai To: Beijing Date: 12/28/2019 - Verify that return data can be sorted by Depart Time Part 2: User Story 2: Implement End 2 End Test Case for Booking Flight Acceptance Criteria: - I can book the flight successfully with all required information fill out: Search Flight number 4 ($564) from Part 1 Traveler: 1 Adult, 1 Children, 1 Infant Baggage of Adult is 2 Payment: Card Number: 4926530813590899 - Verify that all information of Flight, Traveler, Total amount are correct at Booking Success page Assignment
  • 28. Team 3: Part 1: User Story 1: Implement End 2 End Test Case for Search Flight ticket with Price Filter Acceptance Criteria : - Verify that return data for Search Flight : From: Shanghai To: Beijing Date: 12/28/2019 - Verify that return data can be filtered Price From $500 to $1000 Part 2: User Story 2: Implement End 2 End Test Case for Booking Flight Acceptance Criteria: - I can book the flight successfully with all required information fill out: Search Flight number 1 ($564) from Part 1 Traveler: 1 Adult, 1 Children, 1 Infant Travel Insurance of Adult is Travel Basic Payment: Card Number: 4926530813590899 - Verify that all information of Flight, Traveler, Total amount are correct at Booking success page Assignment
  • 29.