SlideShare a Scribd company logo
QA AUTOMATION
Getting Started
 Much Ado About Testing
 Automation Tools
 Challenges
 Solutions
 Q & A
Much Ado About Testing
Test Strategies
Tests strategies
can have different:
Targets
Required Skills
Levels of Effort
Goals and Benefits
Testing My New Car
Which way is
the best way
to test my new car?
1
2
3
GUNG HO!
Repetition Is Hell
Regression testing is the process of
testing changes to computer programs
to make sure that the older
programming still works with the new
changes.
Tests need to be repeated for every
change or bug fix, in different
environments and with different
configurations and data sets.
Manual regression tests
are not realistically
possible for enterprise
applications!
Automation Benefits
 Regression tests become feasible (Safety Net)
 Quality Assurance Team can focus on testing new features and
non automatable aspects of testing (e.g. UX)
 Failed tests can be sent to developers and replayed
 Written QA tests are a repository of knowledge that stays in the
organization and survives turnovers
Automation Tools
The Test Driver
…
In QA Automation, a Driver is a tool that
can control and ‘drive’ the user interface
of an application on a specific client.
Drivers can programmatically open or
close applications, simulate mouse and
keyboard interactions, and much more!
TEST DRIVER INTERFACE
DRIVER 1
Client 2 Client NClient 1
DRIVER 2 DRIVER N…
Example: Selenium WebDriver
Driver Responsibilities
Open/close applications
Select UI elements (By Id, Name, XPath, etc.)
Simulate mouse, keyboard or gesture interactions
Time control (waits)
Assertions
Remote execution
Screenshots, e-mails, etc.
Comply with common interfaces
The Recorder
In QA Automation, a Recorder is a tool
that can automatically record all the
actions manually performed by a user
(QA Analyst) and convert them into
commands for the driver and save them
as an independent test.
Recorders can also replay the
commands on schedule or on demand,
as well as export the test(s) in different
formats.
Programmable API
Drivers can also be instructed using
common programming languages.
Using a programming language to write
tests will provide fine-grained control
upon the driver, as well as the ability to
share common commands between tests.
Using directly the API this will increase
the complexity of tests, making them
obscure to non-developers.
Some Popular UI Automation Tools
Challenges
Resilience
Resilient QA Tests are loosely dependent from:
Time
Application speed (unless it is a performance test)
Screen structure and position of elements
Data/Content
Culture
Each other!
The ability to recover from or adjust
easily to misfortune or change
Simplicity
Simple QA Tests can be:
Written by QA analysts with minimal training
Clearly understood by any domain expert
Easily maintained as requirements change
Composed from simple and powerful building blocks
The quality of being easy to understand or use
Comprehensiveness
Comprehensive QA Tests run on:
Multiple operating systems
Multiple clients (e. g., browsers)
Multiple hardware devices
Multiple configuration scenarios
Different Data Sets
Covering completely or broadly
Need For Speed
If we have 1000 tests
To run on 3 platforms/browsers
Average UI test duration: 3 minutes
(1000 x 3 x 3) /60 /24 = Over 6 days!
We need tests to run in parallel!!
Solutions
Automation Framework
Development
Team
QA Team
Automation Framework
Test Driver
High Level QA Tests
An automation framework is a software
produced by the development team that allows
QA Analysts to express tests at a higher level,
utilizing reusable building blocks, hiding
unnecessary complexity and technical details.
Automation Framework
1. Open Login Page
2. Type “giovanni” in textbox with id = “tbxUserName”
3. Type “secretpassword” in textbox with id = “tbxPassword”
4. Click on button with Id “btnSignIn”
5. Wait for home page title
Login “giovanni” “secretpassword”
Without Automation Framework
With Automation Framework
Infrastructure
Virtual Machines Containers Cloud
In House Infrastructure Testing as a Service
Do you have available servers?
Does your automation suite support remote drivers?
…and many more…
Outsourcing Automation?
Should you pay a third party company to write your QA tests?
You may want to consider the following questions:
 How critical is QA Testing to the success of your business?
 What kind of domain expertise is required to test your applications?
What would be the impact of turnover in your testing process?
 How will write test cases and verify that have been correctly
automated?
 How will ensure that your test suite will be easily maintainable over
time?
 How are Development and QA tests going to be integrated?
Share! Don’t be a stranger!
Share you team knowledge with other AFS teams :
• What are your testing best practices?
• Tell us your successful automation experiences
• What have learned from past failures?
Q & A
giovanni.scerra@afsi.com
My Contact Info:
https://www.linkedin.com/in/giovanniscerra
Thank
You!

More Related Content

What's hot (18)

PPTX
01 introduction to entity framework
Maxim Shaptala
 
PPTX
Importance of the quality of code
Shwe Yee
 
PDF
Solid principles
Kumaresh Chandra Baruri
 
PDF
Grokking Techtalk: Problem solving for sw engineers
9diov
 
PPTX
VS TFS 2010 - Part2
Dareen Alhiyari
 
PPTX
VS TFS 2010 - Part1
Dareen Alhiyari
 
PPTX
Dependency Injection Pattern
Luis Ginanjar
 
PDF
BlackBox.pdf
empite
 
PDF
Black box
Nikunj Kathiria
 
DOC
Manual Testing.
Dhanasekaran Nagarajan
 
PPT
Tutorial of web application load testing in selinium
Kevalkumar Shah
 
PDF
Code quality as a built-in process
Elad Maimon
 
PPT
Aspect Oriented Programming
Anumod Kumar
 
PDF
Manual software-testing-interview-questions-with-answers
Sachin Gupta
 
DOC
Manual testing interview question by INFOTECH
Pravinsinh
 
PDF
Software Design patterns on Android English
Pedro Vicente Gómez Sánchez
 
PPTX
Acceptance criteria
DataArt
 
01 introduction to entity framework
Maxim Shaptala
 
Importance of the quality of code
Shwe Yee
 
Solid principles
Kumaresh Chandra Baruri
 
Grokking Techtalk: Problem solving for sw engineers
9diov
 
VS TFS 2010 - Part2
Dareen Alhiyari
 
VS TFS 2010 - Part1
Dareen Alhiyari
 
Dependency Injection Pattern
Luis Ginanjar
 
BlackBox.pdf
empite
 
Black box
Nikunj Kathiria
 
Manual Testing.
Dhanasekaran Nagarajan
 
Tutorial of web application load testing in selinium
Kevalkumar Shah
 
Code quality as a built-in process
Elad Maimon
 
Aspect Oriented Programming
Anumod Kumar
 
Manual software-testing-interview-questions-with-answers
Sachin Gupta
 
Manual testing interview question by INFOTECH
Pravinsinh
 
Software Design patterns on Android English
Pedro Vicente Gómez Sánchez
 
Acceptance criteria
DataArt
 

Similar to Getting Started With QA Automation (20)

PDF
Mastering QA Automation_ From Strategy to Execution.pdf
ronikakashyap1
 
PPTX
Automation testing
Mona M. Abd El-Rahman
 
PPTX
How to make Automation an asset for Organization
anuvip
 
PDF
Becoming a QA Automation Expert: A Tech Enthusiast's Complete Guide
Testgrid.io
 
PDF
Top Automated Testing Tools for 2024_ A Comprehensive Guide.pdf
kalichargn70th171
 
PPT
Innovative Test Automation Solution
Alan Lee White
 
PPTX
unit-5 SPM.pptx
ssuser92282c
 
PPTX
TEST AUTOMATION for S/W Q/A Process.pptx
ssuser618f69
 
PDF
What is Automation Testing?
QA InfoTech
 
PDF
Automated software testing complete guide
TestingXperts
 
PDF
Test Automation Frameworks- The Complete Guide.pdf
ronikakashyap1
 
PDF
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
IRJET Journal
 
PPSX
Introduction to Automation Testing
Fayis-QA
 
PPTX
Presentation1
anuvip
 
PPTX
How to be an awesome test automation professional
Kushan Shalindra Amarasiri - Technical QE Specialist
 
PPTX
Automated testing
s0194975
 
PDF
Building QA Team that matters for an Agile World
Maurizio Mancini
 
PPTX
Banishing the Fears of Test Automation - Codestock 2022
Jameson McGhee
 
Mastering QA Automation_ From Strategy to Execution.pdf
ronikakashyap1
 
Automation testing
Mona M. Abd El-Rahman
 
How to make Automation an asset for Organization
anuvip
 
Becoming a QA Automation Expert: A Tech Enthusiast's Complete Guide
Testgrid.io
 
Top Automated Testing Tools for 2024_ A Comprehensive Guide.pdf
kalichargn70th171
 
Innovative Test Automation Solution
Alan Lee White
 
unit-5 SPM.pptx
ssuser92282c
 
TEST AUTOMATION for S/W Q/A Process.pptx
ssuser618f69
 
What is Automation Testing?
QA InfoTech
 
Automated software testing complete guide
TestingXperts
 
Test Automation Frameworks- The Complete Guide.pdf
ronikakashyap1
 
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
IRJET Journal
 
Introduction to Automation Testing
Fayis-QA
 
Presentation1
anuvip
 
How to be an awesome test automation professional
Kushan Shalindra Amarasiri - Technical QE Specialist
 
Automated testing
s0194975
 
Building QA Team that matters for an Agile World
Maurizio Mancini
 
Banishing the Fears of Test Automation - Codestock 2022
Jameson McGhee
 
Ad

Recently uploaded (20)

PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Ad

Getting Started With QA Automation

  • 1. QA AUTOMATION Getting Started  Much Ado About Testing  Automation Tools  Challenges  Solutions  Q & A
  • 2. Much Ado About Testing
  • 3. Test Strategies Tests strategies can have different: Targets Required Skills Levels of Effort Goals and Benefits
  • 4. Testing My New Car Which way is the best way to test my new car? 1 2 3 GUNG HO!
  • 5. Repetition Is Hell Regression testing is the process of testing changes to computer programs to make sure that the older programming still works with the new changes. Tests need to be repeated for every change or bug fix, in different environments and with different configurations and data sets. Manual regression tests are not realistically possible for enterprise applications!
  • 6. Automation Benefits  Regression tests become feasible (Safety Net)  Quality Assurance Team can focus on testing new features and non automatable aspects of testing (e.g. UX)  Failed tests can be sent to developers and replayed  Written QA tests are a repository of knowledge that stays in the organization and survives turnovers
  • 8. The Test Driver … In QA Automation, a Driver is a tool that can control and ‘drive’ the user interface of an application on a specific client. Drivers can programmatically open or close applications, simulate mouse and keyboard interactions, and much more! TEST DRIVER INTERFACE DRIVER 1 Client 2 Client NClient 1 DRIVER 2 DRIVER N… Example: Selenium WebDriver
  • 9. Driver Responsibilities Open/close applications Select UI elements (By Id, Name, XPath, etc.) Simulate mouse, keyboard or gesture interactions Time control (waits) Assertions Remote execution Screenshots, e-mails, etc. Comply with common interfaces
  • 10. The Recorder In QA Automation, a Recorder is a tool that can automatically record all the actions manually performed by a user (QA Analyst) and convert them into commands for the driver and save them as an independent test. Recorders can also replay the commands on schedule or on demand, as well as export the test(s) in different formats.
  • 11. Programmable API Drivers can also be instructed using common programming languages. Using a programming language to write tests will provide fine-grained control upon the driver, as well as the ability to share common commands between tests. Using directly the API this will increase the complexity of tests, making them obscure to non-developers.
  • 12. Some Popular UI Automation Tools
  • 14. Resilience Resilient QA Tests are loosely dependent from: Time Application speed (unless it is a performance test) Screen structure and position of elements Data/Content Culture Each other! The ability to recover from or adjust easily to misfortune or change
  • 15. Simplicity Simple QA Tests can be: Written by QA analysts with minimal training Clearly understood by any domain expert Easily maintained as requirements change Composed from simple and powerful building blocks The quality of being easy to understand or use
  • 16. Comprehensiveness Comprehensive QA Tests run on: Multiple operating systems Multiple clients (e. g., browsers) Multiple hardware devices Multiple configuration scenarios Different Data Sets Covering completely or broadly
  • 17. Need For Speed If we have 1000 tests To run on 3 platforms/browsers Average UI test duration: 3 minutes (1000 x 3 x 3) /60 /24 = Over 6 days! We need tests to run in parallel!!
  • 19. Automation Framework Development Team QA Team Automation Framework Test Driver High Level QA Tests An automation framework is a software produced by the development team that allows QA Analysts to express tests at a higher level, utilizing reusable building blocks, hiding unnecessary complexity and technical details.
  • 20. Automation Framework 1. Open Login Page 2. Type “giovanni” in textbox with id = “tbxUserName” 3. Type “secretpassword” in textbox with id = “tbxPassword” 4. Click on button with Id “btnSignIn” 5. Wait for home page title Login “giovanni” “secretpassword” Without Automation Framework With Automation Framework
  • 21. Infrastructure Virtual Machines Containers Cloud In House Infrastructure Testing as a Service Do you have available servers? Does your automation suite support remote drivers? …and many more…
  • 22. Outsourcing Automation? Should you pay a third party company to write your QA tests? You may want to consider the following questions:  How critical is QA Testing to the success of your business?  What kind of domain expertise is required to test your applications? What would be the impact of turnover in your testing process?  How will write test cases and verify that have been correctly automated?  How will ensure that your test suite will be easily maintainable over time?  How are Development and QA tests going to be integrated?
  • 23. Share! Don’t be a stranger! Share you team knowledge with other AFS teams : • What are your testing best practices? • Tell us your successful automation experiences • What have learned from past failures?
  • 24. Q & A