SlideShare una empresa de Scribd logo
1 de 39
www.axon.vnfb.com/AxonActiveVietNam
AUTOMATION TESTING IN AGILE
www.axon.vnfb.com/AxonActiveVietNam
• Agile Values
• Agile Manifesto and Principles
• Agile Automation Testing Objective
• Agile Automation Testing Strategy
• Agile Automation Testing Principles
• Game
• Challenges
• Ideal Framework & Demo
• Q&A
AGENDA
www.axon.vnfb.com/AxonActiveVietNam
Agile Values
Individuals and
interactions
Working software
Customer
collaboration
Responding to
change
Process and tools
Comprehensive
documentation
Contract negotiation
Following a plan
over
over
over
over
www.axon.vnfb.com/AxonActiveVietNam
Agile Manifesto and Principles
www.axon.vnfb.com/AxonActiveVietNam
Acceptance criteria increment
www.axon.vnfb.com/AxonActiveVietNam
Conclusion
You cannot fulfill Agile
without
Automation testing.
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Objective
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
Strategy
To Automate &
Not Automate
What should
automate first
Select a right
tool
Automation is a
part of DOD
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
To Automate
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
To automate
Data
Different test data
or conditions
A large volumes
of data
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
To automate
Specific test
Configuration
Take long time
to run
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
To automate
Testing Type
Regression Performance
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
Not To Automate
Testing Type
Exploratory
Testing
Usability
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
Not To Automate
Specific test
Different
objectives
One-time
running
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
Not To Automate
Specific request to
provide quick
feedback
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
Not To Automate
Cannot be 100%
automated
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
Automate first
Automate
First
Core
functionality
No planned major
changesRegression
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
Select a right tool
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Strategy
Automation is a part of DOD
Automated
& Manual
Automated
Tools to
automate
Manual &
Automated
www.axon.vnfb.com/AxonActiveVietNam
Agile Automation Testing - Principles
www.axon.vnfb.com/AxonActiveVietNam
Game Scene Design
Game
www.axon.vnfb.com/AxonActiveVietNam
Game
• Characters: height: 10cm, width:
5cm
• Trees: height: 20cm, width: 7cm
• Design as you like on the carton
www.axon.vnfb.com/AxonActiveVietNam
Round 1
Game
• 2 Characters, 4 Trees
• Scene: Garden
www.axon.vnfb.com/AxonActiveVietNam
Round 2
Game
• 10 Characters, 20 Trees
• Scene: Park
www.axon.vnfb.com/AxonActiveVietNam
Round 3
Game
• 20 Characters, 50 Trees
• Scene: Forest
www.axon.vnfb.com/AxonActiveVietNam
Game
What do you get
from the game?
www.axon.vnfb.com/AxonActiveVietNam
Challenges
www.axon.vnfb.com/AxonActiveVietNam
Ideal framework
Ideal
framework
www.axon.vnfb.com/AxonActiveVietNam
Design pattern
Ideal framework
Page Objects Modal
• What is POM?
• Advantages of POM
• How to implement POM?
www.axon.vnfb.com/AxonActiveVietNam
Support browsers/devices
Ideal framework
www.axon.vnfb.com/AxonActiveVietNam
Reports & metrics
Ideal framework
www.axon.vnfb.com/AxonActiveVietNam
Parallelly and Remotely running
Ideal framework
www.axon.vnfb.com/AxonActiveVietNam
Automation Code Quality
Ideal framework
www.axon.vnfb.com/AxonActiveVietNam
Support Test Data
Ideal framework
www.axon.vnfb.com/AxonActiveVietNam
Support different type of testing
Ideal framework
• Behavior Driven Development with Cucumber
www.axon.vnfb.com/AxonActiveVietNam
Open to integrate new technology
Ideal framework
www.axon.vnfb.com/AxonActiveVietNam
www.axon.vnfb.com/AxonActiveVietNam

Más contenido relacionado

La actualidad más candente

Final_Presentation (2)
Final_Presentation (2)Final_Presentation (2)
Final_Presentation (2)
Amy Reed
 
bifour1-1-RecordOfAchievement
bifour1-1-RecordOfAchievementbifour1-1-RecordOfAchievement
bifour1-1-RecordOfAchievement
Aijaz Shaikh
 
LITE 2018 – A Deep Dive Into the API [Iain Brown]
LITE 2018 – A Deep Dive Into the API [Iain Brown]LITE 2018 – A Deep Dive Into the API [Iain Brown]
LITE 2018 – A Deep Dive Into the API [Iain Brown]
getadministrate
 

La actualidad más candente (18)

Adopting the Scaled Agile Framework: The Theory and the Practice - Dallas ALN...
Adopting the Scaled Agile Framework: The Theory and the Practice - Dallas ALN...Adopting the Scaled Agile Framework: The Theory and the Practice - Dallas ALN...
Adopting the Scaled Agile Framework: The Theory and the Practice - Dallas ALN...
 
Triggers for Admins: A Five-step Framework for Creating Triggers
Triggers for Admins: A Five-step Framework for Creating TriggersTriggers for Admins: A Five-step Framework for Creating Triggers
Triggers for Admins: A Five-step Framework for Creating Triggers
 
Fiverr - delivering fast w/ no QA - Agile Israel 2016 Gil Wasserman
Fiverr - delivering fast w/ no QA - Agile Israel 2016   Gil WassermanFiverr - delivering fast w/ no QA - Agile Israel 2016   Gil Wasserman
Fiverr - delivering fast w/ no QA - Agile Israel 2016 Gil Wasserman
 
Final_Presentation (2)
Final_Presentation (2)Final_Presentation (2)
Final_Presentation (2)
 
bifour1-1-RecordOfAchievement
bifour1-1-RecordOfAchievementbifour1-1-RecordOfAchievement
bifour1-1-RecordOfAchievement
 
Анна Мамаєва: When SAFe is safe. Agile для дорослих компаній
Анна Мамаєва: When SAFe is safe. Agile для дорослих компанійАнна Мамаєва: When SAFe is safe. Agile для дорослих компаній
Анна Мамаєва: When SAFe is safe. Agile для дорослих компаній
 
LITE 2018 – A Deep Dive Into the API [Iain Brown]
LITE 2018 – A Deep Dive Into the API [Iain Brown]LITE 2018 – A Deep Dive Into the API [Iain Brown]
LITE 2018 – A Deep Dive Into the API [Iain Brown]
 
How a Business Executive Led the Implementation of Agile, Lean & CI/CD
How a Business Executive Led the Implementation of Agile, Lean & CI/CDHow a Business Executive Led the Implementation of Agile, Lean & CI/CD
How a Business Executive Led the Implementation of Agile, Lean & CI/CD
 
Timesheet Workshop: The Timesheet App People Love!
Timesheet Workshop: The Timesheet App People Love!Timesheet Workshop: The Timesheet App People Love!
Timesheet Workshop: The Timesheet App People Love!
 
Practical Experience in Automated Testing at Pronto Marketing
Practical Experience in Automated Testing at Pronto MarketingPractical Experience in Automated Testing at Pronto Marketing
Practical Experience in Automated Testing at Pronto Marketing
 
Visual Validation - The Missing Tip of the Automation Pyramid
Visual Validation - The Missing Tip of the Automation PyramidVisual Validation - The Missing Tip of the Automation Pyramid
Visual Validation - The Missing Tip of the Automation Pyramid
 
Inmarsat conference
Inmarsat conferenceInmarsat conference
Inmarsat conference
 
Scaled Agile Training (SAFe)
Scaled Agile Training (SAFe)Scaled Agile Training (SAFe)
Scaled Agile Training (SAFe)
 
The Art of Building a Roadmap
The Art of Building a RoadmapThe Art of Building a Roadmap
The Art of Building a Roadmap
 
LKCE15 - The Magic Carpet Ride: A business perspective on DevOps
LKCE15 - The Magic Carpet Ride: A business perspective on DevOpsLKCE15 - The Magic Carpet Ride: A business perspective on DevOps
LKCE15 - The Magic Carpet Ride: A business perspective on DevOps
 
Pain and Gain of Service Oriented Architecture
Pain and Gain of Service Oriented ArchitecturePain and Gain of Service Oriented Architecture
Pain and Gain of Service Oriented Architecture
 
Mike long-portfolio-presentation
Mike long-portfolio-presentationMike long-portfolio-presentation
Mike long-portfolio-presentation
 
Portfolio Presentation
Portfolio PresentationPortfolio Presentation
Portfolio Presentation
 

Similar a Automation Testing in Agile - HCM Scrum Breakfast - July 2018

Webinar agile-spring-maximum-roi
Webinar agile-spring-maximum-roiWebinar agile-spring-maximum-roi
Webinar agile-spring-maximum-roi
Cygnet Infotech
 

Similar a Automation Testing in Agile - HCM Scrum Breakfast - July 2018 (20)

Full stack developer with Scrum - Thanh Le & Khanh Vo
Full stack developer with Scrum - Thanh Le & Khanh VoFull stack developer with Scrum - Thanh Le & Khanh Vo
Full stack developer with Scrum - Thanh Le & Khanh Vo
 
QA Role in Agile Teams
QA Role in Agile Teams QA Role in Agile Teams
QA Role in Agile Teams
 
What is Agile Methodology?
What is Agile Methodology?What is Agile Methodology?
What is Agile Methodology?
 
Advanced automated visual testing - DrupalCon seattle 2019
Advanced automated visual testing - DrupalCon seattle 2019Advanced automated visual testing - DrupalCon seattle 2019
Advanced automated visual testing - DrupalCon seattle 2019
 
QA Role In Agile Teams - by Michael Hall
QA Role In Agile Teams - by Michael HallQA Role In Agile Teams - by Michael Hall
QA Role In Agile Teams - by Michael Hall
 
E_ACTAI_2403 Latest Questions and Exam Tips- Your Ultimate Guide to Success!
E_ACTAI_2403 Latest Questions and Exam Tips- Your Ultimate Guide to Success!E_ACTAI_2403 Latest Questions and Exam Tips- Your Ultimate Guide to Success!
E_ACTAI_2403 Latest Questions and Exam Tips- Your Ultimate Guide to Success!
 
Build the Right Regression Suite with Behavior-Driven Testing
Build the Right Regression Suite with Behavior-Driven TestingBuild the Right Regression Suite with Behavior-Driven Testing
Build the Right Regression Suite with Behavior-Driven Testing
 
Scale agile down instead of scaling it up
Scale agile down instead of scaling it upScale agile down instead of scaling it up
Scale agile down instead of scaling it up
 
At2010 lean ideas for agile v5 1
At2010 lean ideas for agile v5 1At2010 lean ideas for agile v5 1
At2010 lean ideas for agile v5 1
 
The Value Innovation & Delivery in Agile
The Value Innovation & Delivery in AgileThe Value Innovation & Delivery in Agile
The Value Innovation & Delivery in Agile
 
Enterprise QA and Application Testing Services
Enterprise QA and Application Testing ServicesEnterprise QA and Application Testing Services
Enterprise QA and Application Testing Services
 
Enterprise QA and Application Testing Services
Enterprise QA and Application Testing ServicesEnterprise QA and Application Testing Services
Enterprise QA and Application Testing Services
 
Testing in Agile Development
Testing in Agile DevelopmentTesting in Agile Development
Testing in Agile Development
 
Advanced automated visual testing at DrupalCon Europe 2020
Advanced automated visual testing at DrupalCon Europe 2020Advanced automated visual testing at DrupalCon Europe 2020
Advanced automated visual testing at DrupalCon Europe 2020
 
Webinar agile-spring-maximum-roi
Webinar agile-spring-maximum-roiWebinar agile-spring-maximum-roi
Webinar agile-spring-maximum-roi
 
Test automation - What? Why? How?
Test automation - What? Why? How?Test automation - What? Why? How?
Test automation - What? Why? How?
 
Agile Gurugram 2016 | Conference | Demystifying DevOps | Uday Kumar
Agile Gurugram 2016 | Conference | Demystifying DevOps | Uday KumarAgile Gurugram 2016 | Conference | Demystifying DevOps | Uday Kumar
Agile Gurugram 2016 | Conference | Demystifying DevOps | Uday Kumar
 
Agile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated TestingAgile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated Testing
 
Advanced structures india introduction
Advanced structures india introductionAdvanced structures india introduction
Advanced structures india introduction
 
Agile testing - Testing From Day 1
Agile testing - Testing From Day 1Agile testing - Testing From Day 1
Agile testing - Testing From Day 1
 

Más de Scrum Breakfast Vietnam

Más de 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 ...
 
Zero to hero in agile automation testing
Zero to hero in agile automation testingZero to hero in agile automation testing
Zero to hero in agile automation testing
 
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...
 
[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
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Automation Testing in Agile - HCM Scrum Breakfast - July 2018

Notas del editor

  1. Tests that require ad hoc/random testing based on domain knowledge/expertise – Exploratory Testing. User experience tests for usability
  2. Configuration testing where tests will be run with different configurations Tests that take a long time to perform and may need to be run during breaks or overnight. Test cases where it is easy to see the expected result.
  3. •Key to successful test automation is knowing when to automate Business-critical functionality Functions that are used frequently by many users
  4. Test cases which will be run several times with different test data or conditions Tests that involve inputting large volumes of data, such as filling up very long forms.
  5. Configuration testing where tests will be run with different configurations Tests that take a long time to perform and may need to be run during breaks or overnight. Test cases where it is easy to see the expected result.
  6. Tests that can be used for performance testing, like stress and load tests. Tests that need to be run against every build/release of the application, such as smoke test, sanity test and regression test.
  7. Tests that require ad hoc/random testing based on domain knowledge/expertise – Exploratory Testing. User experience tests for usability
  8. Different objectives would require different test automation strategies, for example Captcha. Tests that you will run only once. The only exception to this rule is that if you want to execute a test with a very large set of data.
  9. Tests that need to be run ASAP. Usually, a new feature which is developed requires a quick feedback so testing it manually first.
  10. Test that cannot be 100% automated should not be automated at all, unless doing so will save a considerable amount of time.
  11. •Core functionality and navigation flow is approved and accepted by end client. •All regression tests: •No planned major enhancements in the functionality for minimum next 3 regression rounds.
  12. •Based on the principles of Agile (Welcome changes), the applied tools in Automation testing is very important. •It has to be stable enough to adapt all changes during implementing.
  13. •Functional regression pack: which is meant to check the functionality of the application in more detail ????
  14. Readability: When you look at the test case, you can read it through and understand what the test is for. You can see what the expected behavior is, and what aspects of it are covered by the test. When the test fails, you can quickly see what is broken. If your test case is not readable, it will not be useful, neither for understanding what the system does, nor identifying regression errors. When it fails, you will have to dig though other sources outside of the test case to find out what is wrong. You may not understand what is wrong and you will rewrite the test to check for something else, or simply delete it. Speed: As an Agile developer you run your test suite frequently. Both (a) every time you build the system, (b) before you check in changes, and (c) after check-in in an automated Continuous Integration environment. I recommend time limits of 2 minutes for (a), 10 minutes for (b), and 60 minutes for (c). This fast feedback gives you the best chance of actually being willing to run the tests, and to find defects when they’re cheapest to fix, soon after insertion. If your test suite is slow, it will not be used. When you’re feeling stressed, you’ll skip running them, and problem code will enter the system. In the worst case, the test suite will never become green. You’ll fix the one or two problems in a given run and kick off a new test run, but in the meantime you’ll continue developing and making other changes. The diagnose-and-fix loop gets longer and the tests become less likely to ever all pass at the same time. Updatability: When the needs of the users change, and the system is updated, your tests also need to be updated in tandem. It should be straightforward to identify which tests are affected by a given change, and quick to update them all.If your tests are not easy to update, they will likely get left behind as the system moves on. Faced with a small change that causes thousands of failures and hours of work to update them all, you’ll likely delete most of the tests. Test automation backlog: Maintain a test automation backlog for your project that contains all needed automation tasks and identified improvements. If you then target a few items from the backlog every sprint, in no time you will start to see the new regression test suite taking shape. Occasionally, stories from the test automation backlog may require dedicated developer time to implement and consequently some buy-in from the product owner in order to proceed. However, it should not be difficult to convince the product owner about the value of such stories if everyone on team is committed to quality. A test automation backlog could contain a prioritized list of items such as: Parameterize the test environment for test execution.
  15. Round 1: 2 actors, scene: garden: 4 trees Round 2: 10 actors, scene: park: 20 trees Round 3: 20 actors, scene: forest: 50 trees
  16. Round 1: 2 actors, scene: garden: 4 trees Round 2: 10 actors, scene: park: 20 trees Round 3: 20 actors, scene: forest: 50 trees
  17. Round 1: 2 actors, scene: garden: 4 trees Round 2: 10 actors, scene: park: 20 trees Round 3: 20 actors, scene: forest: 50 trees
  18. Round 1: 2 actors, scene: garden: 4 trees Round 2: 10 actors, scene: park: 20 trees Round 3: 20 actors, scene: forest: 50 trees
  19. Round 1: 2 actors, scene: garden: 4 trees Round 2: 10 actors, scene: park: 20 trees Round 3: 20 actors, scene: forest: 50 trees
  20. Cost in initial step is very big, and you have to make sure that we will get the corresponding result, to avoid to waste effort and cost. One tester in Agile, it should be better if they know programming language, this builds the easier way to do in Agile, because it’s not fullfill in Agile without Automation testing, so they have to know Programming language, moreover, it helps optimize the framework The scripts should be flexible to run on all environment/os/browser/devices. It’s very difficult to do that but we have to adapt it, cause the project need to run based on the requirement from customer
  21. There are some framework types (Keyword Driven, Data Driven, Modular, Modal-base, hybrid…). What should use based on your context, there is no standardized one
  22. Page Object Model is a design pattern to create Object Repository for web UI elements. For each web page in the application, there should be corresponding page class. This Page class will find the WebElements and contains Page methods which perform operations on those WebElements. Page Object Pattern says operations and flows in the UI should be separated from verification. This concept makes our code cleaner and easy to understand. The Second benefit is the object repository is independent of test cases, so we can use the same object repository for a different purpose with different tools. For example, we can integrate POM with TestNG/JUnit for functional testing and at the same time with JBehave/Cucumber for acceptance testing. Code becomes less and optimized because of the reusable page methods in the POM classes Easy to Use: Methods get more realistic names which can be easily mapped with the operation ====> Demo on Ts01DemoPOM.java
  23. ====> Demo on Ts02DemoMultipleBrowsers.java - set property browser to IE or FF
  24. ====> Demo on Ts03DemoReportAndMetrics Talk about Soft assertions for failed VP When observing the report, talk about the Metrics, Logs, Report Details (failed with the captured pictures)
  25. Explain 3 files in D:\projects\aavnDemoFramework\conf\RemoteWebDriver Show the recorded video https://drive.google.com/open?id=13XM3ir3yKBZDXg8Q6SFO54VgZVVU2jzN
  26. Intro - bugs everywhere Demo on Ts06DemoCodeQuality.java class - Run the test, analyze the report Show how to fix verifyElementTextDemoBadQuality()
  27. ====> Demo on Ts04DemoDataDrivenTesting
  28. ====> Demo on cucumberTests
  29. ====> Demo on Ts07DemoAPITesting.java class - demo the weather rest services from http://restapi.demoqa.com/utilities/weather/city/Saigon For soap services, this is possible too we can compare the xml or using xpath to call the node assertion