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

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

What's hot (18)

01 introduction to entity framework
01   introduction to entity framework01   introduction to entity framework
01 introduction to entity framework
 
Importance of the quality of code
Importance of the quality of codeImportance of the quality of code
Importance of the quality of code
 
Solid principles
Solid principlesSolid principles
Solid principles
 
Grokking Techtalk: Problem solving for sw engineers
Grokking Techtalk: Problem solving for sw engineersGrokking Techtalk: Problem solving for sw engineers
Grokking Techtalk: Problem solving for sw engineers
 
VS TFS 2010 - Part2
VS TFS 2010 - Part2VS TFS 2010 - Part2
VS TFS 2010 - Part2
 
VS TFS 2010 - Part1
VS TFS 2010 - Part1VS TFS 2010 - Part1
VS TFS 2010 - Part1
 
Dependency Injection Pattern
Dependency Injection Pattern  Dependency Injection Pattern
Dependency Injection Pattern
 
BlackBox.pdf
BlackBox.pdfBlackBox.pdf
BlackBox.pdf
 
Black box
Black boxBlack box
Black box
 
Manual Testing.
Manual Testing.Manual Testing.
Manual Testing.
 
Tutorial of web application load testing in selinium
Tutorial of web application load testing in seliniumTutorial of web application load testing in selinium
Tutorial of web application load testing in selinium
 
Code quality as a built-in process
Code quality as a built-in processCode quality as a built-in process
Code quality as a built-in process
 
Aspect Oriented Programming
Aspect Oriented ProgrammingAspect Oriented Programming
Aspect Oriented Programming
 
Manual software-testing-interview-questions-with-answers
Manual software-testing-interview-questions-with-answersManual software-testing-interview-questions-with-answers
Manual software-testing-interview-questions-with-answers
 
Manual testing interview question by INFOTECH
Manual testing interview question by INFOTECHManual testing interview question by INFOTECH
Manual testing interview question by INFOTECH
 
test
testtest
test
 
Software Design patterns on Android English
Software Design patterns on Android EnglishSoftware Design patterns on Android English
Software Design patterns on Android English
 
Acceptance criteria
Acceptance criteriaAcceptance criteria
Acceptance criteria
 

Similar to Getting Started With QA Automation

Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
Mindfire LLC
 
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdfBasics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
pcloudy2
 
How Does No Code Testing Work........pdf
How Does No Code Testing Work........pdfHow Does No Code Testing Work........pdf
How Does No Code Testing Work........pdf
pcloudy2
 
Lightning Talks by Globant - Automation (This app runs by itself )
Lightning Talks by Globant -  Automation (This app runs by itself ) Lightning Talks by Globant -  Automation (This app runs by itself )
Lightning Talks by Globant - Automation (This app runs by itself )
Globant
 
manual & automation testing
manual & automation testingmanual & automation testing
manual & automation testing
Bharat Dawar
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
pavelpopov43
 
A Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdfA Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdf
kalichargn70th171
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Archana Krushnan
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Archana Krushnan
 
A Complete Guide to Codeless Testing.pdf
A Complete Guide to Codeless Testing.pdfA Complete Guide to Codeless Testing.pdf
A Complete Guide to Codeless Testing.pdf
pCloudy
 
Automated software testing complete guide
Automated software testing complete guideAutomated software testing complete guide
Automated software testing complete guide
TestingXperts
 
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdfAn Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
KMSSolutionsMarketin
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Shivang100
 
Upstream testing.
Upstream testing.Upstream testing.
Upstream testing.
Mindtree Ltd.
 
Discover the power of QA automation testing
Discover the power of QA automation testingDiscover the power of QA automation testing
Discover the power of QA automation testing
Softweb Solutions
 
Future of QA
Future of QAFuture of QA
Future of QA
amitagarwal2006
 
Futureofqa
FutureofqaFutureofqa
Futureofqa
amitagarwal2006
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven Testing
Harish MS
 
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)
Lokesh Singrol
 

Similar to Getting Started With QA Automation (20)

Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
 
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdfBasics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
 
How Does No Code Testing Work........pdf
How Does No Code Testing Work........pdfHow Does No Code Testing Work........pdf
How Does No Code Testing Work........pdf
 
Lightning Talks by Globant - Automation (This app runs by itself )
Lightning Talks by Globant -  Automation (This app runs by itself ) Lightning Talks by Globant -  Automation (This app runs by itself )
Lightning Talks by Globant - Automation (This app runs by itself )
 
manual & automation testing
manual & automation testingmanual & automation testing
manual & automation testing
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
 
A Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdfA Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdf
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
A Complete Guide to Codeless Testing.pdf
A Complete Guide to Codeless Testing.pdfA Complete Guide to Codeless Testing.pdf
A Complete Guide to Codeless Testing.pdf
 
Automated software testing complete guide
Automated software testing complete guideAutomated software testing complete guide
Automated software testing complete guide
 
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdfAn Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
 
Upstream testing.
Upstream testing.Upstream testing.
Upstream testing.
 
Discover the power of QA automation testing
Discover the power of QA automation testingDiscover the power of QA automation testing
Discover the power of QA automation testing
 
Future of QA
Future of QAFuture of QA
Future of QA
 
Futureofqa
FutureofqaFutureofqa
Futureofqa
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven Testing
 
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)
 

Recently uploaded

Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
Hironori Washizaki
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Envertis Software Solutions
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 

Recently uploaded (20)

Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 

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