SlideShare a Scribd company logo
1 of 15
Intro & Objectives for Test Automation
1 Introduction to
Test Automation
2 Preparation for
Test Automation
3 gTAA
Software Testing - ISTQB Advance
Test Automation Engineer Exam Preparation
Chapter 1
Neeraj Kumar Singh
5 Reporting
& Metrics
6 Transitioning
Manual to Automation
7 Verifying TAS
8 Continuous
Improvement
4 Risks &
Contingencies
Introduction & Objectives for Test Automation
Contents
1.1 Purpose of Test Automation
1.2 Success Factors in Test Automation
Neeraj Kumar Singh
Introduction & Objectives for Test Automation
Purpose of Test Automation
Test automation is expected to help run many test cases consistently and repeatedly on different
versions of the SUT and/or environments. But test automation is more than a mechanism for running a
test suite without human interaction. It involves a process of designing the testware, including:
 Software
 Documentation
 Test cases
 Test environments
 Test data
Testware is necessary for the testing activities that include:
 Implementing automated test cases
 Monitoring and controlling the execution of automated tests
 Interpreting, reporting and logging the automated test results
Neeraj Kumar Singh
Introduction & Objectives for Test Automation
Purpose of Test Automation
Test automation has different approaches for interacting with a SUT:
 Testing through the public interfaces to classes, modules or libraries of the SUT (API testing)
 Testing through the user interface of the SUT (e.g., GUI testing or CLI testing)
 Testing through a service or protocol
Objectives of test automation include:
 Improving test efficiency
 Providing wider function coverage
 Reducing the total test cost
 Performing tests that manual testers cannot
 Shortening the test execution period
 Increasing the test frequency/reducing the time required for test cycles
Neeraj Kumar Singh
Introduction & Objectives for Test Automation
Purpose of Test Automation
Advantages of test automation include:
 More tests can be run per build
 The possibility to create tests that cannot be done manually (real-time, remote, parallel tests)
 Tests can be more complex
 Tests run faster
 Tests are less subject to operator error
 More effective and efficient use of testing resources
 Quicker feedback regarding software quality
 Improved system reliability(e.g., repeatability, consistency)
 Improved consistency of tests
Neeraj Kumar Singh
Introduction & Objectives for Test Automation
Purpose of Test Automation
Disadvantages of test automation include:
 Additional costs are involved
 Initial investment to setup TAS
 Requires additional technologies
 Team needs to have development and automation skills
 On-going TAS maintenance requirement
 Can distract from testing objectives, e.g., focusing on automating tests cases at the expense of executing tests
 Tests can become more complex
 Additional errors may be introduced by automation
Limitations of test automation include:
 Not all manual tests can be automated
 The automation can only check machine-interpretable results
 The automation can only check actual results that can be verified by an automated test oracle
 Not a replacement for exploratory testing
Neeraj Kumar Singh
Intro & Objectives for Test Automation
1 Introduction to
Test Automation
2 Preparation for
Test Automation
3 gTAA
Software Testing - ISTQB Advance
Test Automation Engineer Exam Preparation
Chapter 1
Neeraj Kumar Singh
5 Reporting
& Metrics
6 Transitioning
Manual to Automation
7 Verifying TAS
8 Continuous
Improvement
4 Risks &
Contingencies
Introduction & Objectives for Test Automation
Contents
1.1 Purpose of Test Automation
1.2 Success Factors in Test Automation
Neeraj Kumar Singh
Introduction & Objectives for Test Automation
Success Factors in Test Automation
Test Automation Architecture (TAA)
 The Test Automation Architecture (TAA) is very closely aligned with the architecture of a software
product. It should be clear which functional and non-functional requirements the architecture is to
support. Typically this will be the most important requirements.
 Often TAA is designed for maintainability, performance and learnability. It is helpful to involve
software engineers who understand the architecture of the SUT.
SUT Testability
 The SUT needs to be designed for testability that supports automated testing. In the case of GUI
testing, this could mean that the SUT should decouple as much as possible the GUI interaction and
data from the appearance of the graphical interface.
 In the case of API testing, this could mean that more classes, modules or the command-line
interface need to be exposed as public so that they can be tested.
 The testable parts of the SUT should be targeted first. Generally, a key factor in the success of test
automation lies in the ease of implementing automated test scripts.
Neeraj Kumar Singh
Introduction & Objectives for Test Automation
Success Factors in Test Automation
Test Automation Strategy
 A practical and consistent test automation strategy that addresses maintainability and consistency of
the SUT.
 It may not be possible to apply the test automation strategy in the same way to both old and new
parts of the SUT. When creating the automation strategy, consider the costs, benefits and risks of
applying it to different parts of the code.
 Consideration should be given to testing both the user interface and the API with automated test
cases to check the consistency of the results.
Neeraj Kumar Singh
Introduction & Objectives for Test Automation
Success Factors in Test Automation
Test Automation Framework (TAF)
A test automation framework (TAF) that is easy to use, well documented and maintainable, supports a
consistent approach to automating tests.
In order to establish an easy to use and maintainable TAF, the following must be done:
 Implement reporting facilities
 Enable easy troubleshooting
 Address the test environment appropriately
 Document the automated test cases
 Trace the automated test
 Enable easy maintenance
 Keep the automated tests up-to-date
 Plan for deployment
 Retire tests as needed
 Monitor and restore the SUT
Neeraj Kumar Singh
Introduction & Objectives for Test Automation
Success Factors in Test Automation
 The test automation code can be complex to maintain. It is not unusual to have as much code for
testing as the code for the SUT. This is why it is of utmost importance that the test code be
maintainable. This is due to the different test tools being used, the different types of verification
that are used and the different testware artifacts that have to be maintained.
 With these maintenance considerations in mind, in addition to the important items that should be
done, there are a few that should not be done, as follows:
 Do not create code that is sensitive to the interface (i.e., it would be affected by changes in the graphical
interface or in non-essential parts of the API).
 Do not create test automation that is sensitive to data changes or has a high dependency on particular data
values (e.g., test input depending on other test outputs).
 Do not create an automation environment that is sensitive to the context (e.g., operating system date and
time, operating system localization parameters or the contents of another application). In this case, it is better
to use test stubs as necessary so the environment can be controlled.
Neeraj Kumar Singh
Intro & Objectives for Test Automation
1 Introduction to
Test Automation
2 Preparation for
Test Automation
3 gTAA
Software Testing - ISTQB Advance
Test Automation Engineer Exam Preparation
Chapter 1
Neeraj Kumar Singh
5 Reporting
& Metrics
6 Transitioning
Manual to Automation
7 Verifying TAS
8 Continuous
Improvement
4 Risks &
Contingencies
Intro & Objectives for Test Automation
Sample Questions
1. Which of the following is considered to be an advantage of test automation over manual testing?
Answer Set
a. The time required for test execution is lengthened and the coverage is increased
b. The time required for test execution is shortened and the coverage is increased
c. The time required for test execution is lengthened and the coverage is reduced
d. The time required for test execution is shortened and the coverage is reduced
Neeraj Kumar Singh
Intro & Objectives for Test Automation
Sample Questions
2. Which of the following is an important technical success factor for any significant automation project?
Answer Set
a. The TAA must be designed for learnability
b. The TAA must support the ability to automate all manual tests
c. The SUT must be self-documenting
d. The GUI interaction and data must be coupled with the graphical interface
Neeraj Kumar Singh

More Related Content

What's hot

Chapter 1 - Requirement Engineering
Chapter 1 - Requirement EngineeringChapter 1 - Requirement Engineering
Chapter 1 - Requirement EngineeringNeeraj Kumar Singh
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessLee Barnes
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For AgileNaresh Jain
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automationDavid Tzemach
 
Chapter 5 - Improving the Testing Process
Chapter 5 -  Improving the Testing ProcessChapter 5 -  Improving the Testing Process
Chapter 5 - Improving the Testing ProcessNeeraj Kumar Singh
 
How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy Impetus Technologies
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Leonard Fingerman
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testingdidev
 
Chapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for TestingChapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for TestingNeeraj Kumar Singh
 
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNetHai Tran Son
 

What's hot (20)

Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
Chapter 1 - Requirement Engineering
Chapter 1 - Requirement EngineeringChapter 1 - Requirement Engineering
Chapter 1 - Requirement Engineering
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
 
Chapter 3 - Test Automation
Chapter 3 - Test AutomationChapter 3 - Test Automation
Chapter 3 - Test Automation
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
 
Chapter 3 - Reviews
Chapter 3 - ReviewsChapter 3 - Reviews
Chapter 3 - Reviews
 
Chapter 5 - Improving the Testing Process
Chapter 5 -  Improving the Testing ProcessChapter 5 -  Improving the Testing Process
Chapter 5 - Improving the Testing Process
 
How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
ISTQB foundation level - day 2
ISTQB foundation level - day 2ISTQB foundation level - day 2
ISTQB foundation level - day 2
 
Chapter 3 - Static Testing
Chapter 3 - Static TestingChapter 3 - Static Testing
Chapter 3 - Static Testing
 
Chapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for TestingChapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for Testing
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
 
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNet
 

Similar to Chapter 1 - Introduction and Objectives for Test Automation

Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationNeeraj Kumar Singh
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationNeeraj Kumar Singh
 
Strategies to improve effectiveness of Test automation & ROI
Strategies to improve effectiveness of Test automation & ROIStrategies to improve effectiveness of Test automation & ROI
Strategies to improve effectiveness of Test automation & ROIBugRaptors
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptxpavelpopov43
 
7 Ways to Improve Test Automation
7 Ways to Improve Test Automation7 Ways to Improve Test Automation
7 Ways to Improve Test AutomationEnov8
 
Test Orchestration in DevOps
Test Orchestration in DevOps Test Orchestration in DevOps
Test Orchestration in DevOps Knoldus Inc.
 
Software Testing
Software TestingSoftware Testing
Software TestingKiran Kumar
 
Guideto Successful Application Test Automation
Guideto Successful Application Test AutomationGuideto Successful Application Test Automation
Guideto Successful Application Test Automationaimshigh7
 
Automated software testing
Automated software testingAutomated software testing
Automated software testinggauravpanwar8
 
How to Optimise Continuous Testing
How to Optimise Continuous TestingHow to Optimise Continuous Testing
How to Optimise Continuous TestingSauce Labs
 
Software Test Automation Market.pdf
Software Test Automation Market.pdfSoftware Test Automation Market.pdf
Software Test Automation Market.pdfKaustubhBhandari6
 
iSQI Certification Days ISTQB Advanced Axel Rennoch
iSQI Certification Days ISTQB Advanced Axel RennochiSQI Certification Days ISTQB Advanced Axel Rennoch
iSQI Certification Days ISTQB Advanced Axel RennochIevgenii Katsan
 
Benefits And Challenges of Rapid Automation Testing.pdf
Benefits And Challenges of Rapid Automation Testing.pdfBenefits And Challenges of Rapid Automation Testing.pdf
Benefits And Challenges of Rapid Automation Testing.pdfpCloudy
 
EXTENT-2016: Test Automation and Agile Testing
EXTENT-2016: Test Automation and Agile TestingEXTENT-2016: Test Automation and Agile Testing
EXTENT-2016: Test Automation and Agile TestingIosif Itkin
 
Navigating Automated Testing_ Avoiding Common Pitfalls.pdf
Navigating Automated Testing_ Avoiding Common Pitfalls.pdfNavigating Automated Testing_ Avoiding Common Pitfalls.pdf
Navigating Automated Testing_ Avoiding Common Pitfalls.pdfkalichargn70th171
 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organizationanuvip
 
Best Practises In Test Automation
Best Practises In Test AutomationBest Practises In Test Automation
Best Practises In Test Automation99tests
 
Improving ROI and Efficiencies of Software Test Case Automation
Improving ROI and Efficiencies of Software Test Case AutomationImproving ROI and Efficiencies of Software Test Case Automation
Improving ROI and Efficiencies of Software Test Case AutomationVipul Gupta
 

Similar to Chapter 1 - Introduction and Objectives for Test Automation (20)

Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Strategies to improve effectiveness of Test automation & ROI
Strategies to improve effectiveness of Test automation & ROIStrategies to improve effectiveness of Test automation & ROI
Strategies to improve effectiveness of Test automation & ROI
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
 
7 Ways to Improve Test Automation
7 Ways to Improve Test Automation7 Ways to Improve Test Automation
7 Ways to Improve Test Automation
 
Test Orchestration in DevOps
Test Orchestration in DevOps Test Orchestration in DevOps
Test Orchestration in DevOps
 
Automation Concepts
Automation ConceptsAutomation Concepts
Automation Concepts
 
Unit 5 st ppt
Unit 5 st pptUnit 5 st ppt
Unit 5 st ppt
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Guideto Successful Application Test Automation
Guideto Successful Application Test AutomationGuideto Successful Application Test Automation
Guideto Successful Application Test Automation
 
Automated software testing
Automated software testingAutomated software testing
Automated software testing
 
How to Optimise Continuous Testing
How to Optimise Continuous TestingHow to Optimise Continuous Testing
How to Optimise Continuous Testing
 
Software Test Automation Market.pdf
Software Test Automation Market.pdfSoftware Test Automation Market.pdf
Software Test Automation Market.pdf
 
iSQI Certification Days ISTQB Advanced Axel Rennoch
iSQI Certification Days ISTQB Advanced Axel RennochiSQI Certification Days ISTQB Advanced Axel Rennoch
iSQI Certification Days ISTQB Advanced Axel Rennoch
 
Benefits And Challenges of Rapid Automation Testing.pdf
Benefits And Challenges of Rapid Automation Testing.pdfBenefits And Challenges of Rapid Automation Testing.pdf
Benefits And Challenges of Rapid Automation Testing.pdf
 
EXTENT-2016: Test Automation and Agile Testing
EXTENT-2016: Test Automation and Agile TestingEXTENT-2016: Test Automation and Agile Testing
EXTENT-2016: Test Automation and Agile Testing
 
Navigating Automated Testing_ Avoiding Common Pitfalls.pdf
Navigating Automated Testing_ Avoiding Common Pitfalls.pdfNavigating Automated Testing_ Avoiding Common Pitfalls.pdf
Navigating Automated Testing_ Avoiding Common Pitfalls.pdf
 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organization
 
Best Practises In Test Automation
Best Practises In Test AutomationBest Practises In Test Automation
Best Practises In Test Automation
 
Improving ROI and Efficiencies of Software Test Case Automation
Improving ROI and Efficiencies of Software Test Case AutomationImproving ROI and Efficiencies of Software Test Case Automation
Improving ROI and Efficiencies of Software Test Case Automation
 

More from Neeraj Kumar Singh

Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionNeeraj Kumar Singh
 
Chapter 4 - Mobile Application Platforms, Tools and Environment
Chapter 4 - Mobile Application Platforms, Tools and EnvironmentChapter 4 - Mobile Application Platforms, Tools and Environment
Chapter 4 - Mobile Application Platforms, Tools and EnvironmentNeeraj Kumar Singh
 
Chapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile ApplicationsChapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile ApplicationsNeeraj Kumar Singh
 
Chapter 2 - Mobile Application Test Types
Chapter 2 - Mobile Application Test TypesChapter 2 - Mobile Application Test Types
Chapter 2 - Mobile Application Test TypesNeeraj Kumar Singh
 
Chapter 1 - Mobile World - Business and Technology Drivers
Chapter 1 - Mobile World - Business and Technology DriversChapter 1 - Mobile World - Business and Technology Drivers
Chapter 1 - Mobile World - Business and Technology DriversNeeraj Kumar Singh
 
ISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample QuestionsISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample QuestionsNeeraj Kumar Singh
 
ISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' AnswersISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' AnswersNeeraj Kumar Singh
 
ISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study MaterialISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study MaterialNeeraj Kumar Singh
 
Chapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksChapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksNeeraj Kumar Singh
 
Chapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software LifecycleChapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software LifecycleNeeraj Kumar Singh
 
Chapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement FundamentalsChapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement FundamentalsNeeraj Kumar Singh
 
Chapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team CompositionChapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team CompositionNeeraj Kumar Singh
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationNeeraj Kumar Singh
 
ISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question PaperISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question PaperNeeraj Kumar Singh
 
ISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question PaperISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question PaperNeeraj Kumar Singh
 
ISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test AnalystISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test AnalystNeeraj Kumar Singh
 

More from Neeraj Kumar Singh (20)

Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test Execution
 
Chapter 4 - Mobile Application Platforms, Tools and Environment
Chapter 4 - Mobile Application Platforms, Tools and EnvironmentChapter 4 - Mobile Application Platforms, Tools and Environment
Chapter 4 - Mobile Application Platforms, Tools and Environment
 
Chapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile ApplicationsChapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile Applications
 
Chapter 2 - Mobile Application Test Types
Chapter 2 - Mobile Application Test TypesChapter 2 - Mobile Application Test Types
Chapter 2 - Mobile Application Test Types
 
Chapter 1 - Mobile World - Business and Technology Drivers
Chapter 1 - Mobile World - Business and Technology DriversChapter 1 - Mobile World - Business and Technology Drivers
Chapter 1 - Mobile World - Business and Technology Drivers
 
ISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample QuestionsISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample Questions
 
ISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' AnswersISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' Answers
 
ISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study MaterialISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study Material
 
Chapter 5 - Tools
Chapter 5 - ToolsChapter 5 - Tools
Chapter 5 - Tools
 
Chapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksChapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing Tasks
 
Chapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software LifecycleChapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software Lifecycle
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
 
Chapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement FundamentalsChapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement Fundamentals
 
Chapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team CompositionChapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team Composition
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 4 - Defect Management
Chapter 4 - Defect ManagementChapter 4 - Defect Management
Chapter 4 - Defect Management
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 
ISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question PaperISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question Paper
 
ISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question PaperISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question Paper
 
ISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test AnalystISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test Analyst
 

Recently uploaded

Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Recently uploaded (20)

Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

Chapter 1 - Introduction and Objectives for Test Automation

  • 1. Intro & Objectives for Test Automation 1 Introduction to Test Automation 2 Preparation for Test Automation 3 gTAA Software Testing - ISTQB Advance Test Automation Engineer Exam Preparation Chapter 1 Neeraj Kumar Singh 5 Reporting & Metrics 6 Transitioning Manual to Automation 7 Verifying TAS 8 Continuous Improvement 4 Risks & Contingencies
  • 2. Introduction & Objectives for Test Automation Contents 1.1 Purpose of Test Automation 1.2 Success Factors in Test Automation Neeraj Kumar Singh
  • 3. Introduction & Objectives for Test Automation Purpose of Test Automation Test automation is expected to help run many test cases consistently and repeatedly on different versions of the SUT and/or environments. But test automation is more than a mechanism for running a test suite without human interaction. It involves a process of designing the testware, including:  Software  Documentation  Test cases  Test environments  Test data Testware is necessary for the testing activities that include:  Implementing automated test cases  Monitoring and controlling the execution of automated tests  Interpreting, reporting and logging the automated test results Neeraj Kumar Singh
  • 4. Introduction & Objectives for Test Automation Purpose of Test Automation Test automation has different approaches for interacting with a SUT:  Testing through the public interfaces to classes, modules or libraries of the SUT (API testing)  Testing through the user interface of the SUT (e.g., GUI testing or CLI testing)  Testing through a service or protocol Objectives of test automation include:  Improving test efficiency  Providing wider function coverage  Reducing the total test cost  Performing tests that manual testers cannot  Shortening the test execution period  Increasing the test frequency/reducing the time required for test cycles Neeraj Kumar Singh
  • 5. Introduction & Objectives for Test Automation Purpose of Test Automation Advantages of test automation include:  More tests can be run per build  The possibility to create tests that cannot be done manually (real-time, remote, parallel tests)  Tests can be more complex  Tests run faster  Tests are less subject to operator error  More effective and efficient use of testing resources  Quicker feedback regarding software quality  Improved system reliability(e.g., repeatability, consistency)  Improved consistency of tests Neeraj Kumar Singh
  • 6. Introduction & Objectives for Test Automation Purpose of Test Automation Disadvantages of test automation include:  Additional costs are involved  Initial investment to setup TAS  Requires additional technologies  Team needs to have development and automation skills  On-going TAS maintenance requirement  Can distract from testing objectives, e.g., focusing on automating tests cases at the expense of executing tests  Tests can become more complex  Additional errors may be introduced by automation Limitations of test automation include:  Not all manual tests can be automated  The automation can only check machine-interpretable results  The automation can only check actual results that can be verified by an automated test oracle  Not a replacement for exploratory testing Neeraj Kumar Singh
  • 7. Intro & Objectives for Test Automation 1 Introduction to Test Automation 2 Preparation for Test Automation 3 gTAA Software Testing - ISTQB Advance Test Automation Engineer Exam Preparation Chapter 1 Neeraj Kumar Singh 5 Reporting & Metrics 6 Transitioning Manual to Automation 7 Verifying TAS 8 Continuous Improvement 4 Risks & Contingencies
  • 8. Introduction & Objectives for Test Automation Contents 1.1 Purpose of Test Automation 1.2 Success Factors in Test Automation Neeraj Kumar Singh
  • 9. Introduction & Objectives for Test Automation Success Factors in Test Automation Test Automation Architecture (TAA)  The Test Automation Architecture (TAA) is very closely aligned with the architecture of a software product. It should be clear which functional and non-functional requirements the architecture is to support. Typically this will be the most important requirements.  Often TAA is designed for maintainability, performance and learnability. It is helpful to involve software engineers who understand the architecture of the SUT. SUT Testability  The SUT needs to be designed for testability that supports automated testing. In the case of GUI testing, this could mean that the SUT should decouple as much as possible the GUI interaction and data from the appearance of the graphical interface.  In the case of API testing, this could mean that more classes, modules or the command-line interface need to be exposed as public so that they can be tested.  The testable parts of the SUT should be targeted first. Generally, a key factor in the success of test automation lies in the ease of implementing automated test scripts. Neeraj Kumar Singh
  • 10. Introduction & Objectives for Test Automation Success Factors in Test Automation Test Automation Strategy  A practical and consistent test automation strategy that addresses maintainability and consistency of the SUT.  It may not be possible to apply the test automation strategy in the same way to both old and new parts of the SUT. When creating the automation strategy, consider the costs, benefits and risks of applying it to different parts of the code.  Consideration should be given to testing both the user interface and the API with automated test cases to check the consistency of the results. Neeraj Kumar Singh
  • 11. Introduction & Objectives for Test Automation Success Factors in Test Automation Test Automation Framework (TAF) A test automation framework (TAF) that is easy to use, well documented and maintainable, supports a consistent approach to automating tests. In order to establish an easy to use and maintainable TAF, the following must be done:  Implement reporting facilities  Enable easy troubleshooting  Address the test environment appropriately  Document the automated test cases  Trace the automated test  Enable easy maintenance  Keep the automated tests up-to-date  Plan for deployment  Retire tests as needed  Monitor and restore the SUT Neeraj Kumar Singh
  • 12. Introduction & Objectives for Test Automation Success Factors in Test Automation  The test automation code can be complex to maintain. It is not unusual to have as much code for testing as the code for the SUT. This is why it is of utmost importance that the test code be maintainable. This is due to the different test tools being used, the different types of verification that are used and the different testware artifacts that have to be maintained.  With these maintenance considerations in mind, in addition to the important items that should be done, there are a few that should not be done, as follows:  Do not create code that is sensitive to the interface (i.e., it would be affected by changes in the graphical interface or in non-essential parts of the API).  Do not create test automation that is sensitive to data changes or has a high dependency on particular data values (e.g., test input depending on other test outputs).  Do not create an automation environment that is sensitive to the context (e.g., operating system date and time, operating system localization parameters or the contents of another application). In this case, it is better to use test stubs as necessary so the environment can be controlled. Neeraj Kumar Singh
  • 13. Intro & Objectives for Test Automation 1 Introduction to Test Automation 2 Preparation for Test Automation 3 gTAA Software Testing - ISTQB Advance Test Automation Engineer Exam Preparation Chapter 1 Neeraj Kumar Singh 5 Reporting & Metrics 6 Transitioning Manual to Automation 7 Verifying TAS 8 Continuous Improvement 4 Risks & Contingencies
  • 14. Intro & Objectives for Test Automation Sample Questions 1. Which of the following is considered to be an advantage of test automation over manual testing? Answer Set a. The time required for test execution is lengthened and the coverage is increased b. The time required for test execution is shortened and the coverage is increased c. The time required for test execution is lengthened and the coverage is reduced d. The time required for test execution is shortened and the coverage is reduced Neeraj Kumar Singh
  • 15. Intro & Objectives for Test Automation Sample Questions 2. Which of the following is an important technical success factor for any significant automation project? Answer Set a. The TAA must be designed for learnability b. The TAA must support the ability to automate all manual tests c. The SUT must be self-documenting d. The GUI interaction and data must be coupled with the graphical interface Neeraj Kumar Singh

Editor's Notes

  1. Enable easy troubleshooting: In addition to the test execution and logging, the TAF has to provide an easy way to troubleshoot failing tests. The test can fail due to o failures found in the SUT o failures found in the TAS o problem with the tests themselves or the test environment