SlideShare a Scribd company logo
UNIT V
TEST AUTOMATION
Software Test Automation
• When the test cases are executed and verified,
there is a good improvement in
> Test coverage
> Quality of testing
Test automation
• A s/w is developed in order to test the s/w. this is
termed as test automation.
• It finds many solutions for the problems. They are
1. Automation saves time as s/w can execute test
cases faster than human do.
2. It frees the test engineers from mundane tasks &
so they concentrates on several creative tasks.
3. Automated tests can be more reliable.
4. Automation leads to immediate testing
5. Automation can save an organization against
attrition of test engineers
6. Test automation gives chances to use the global
resources
7. Without automation, some sort of testing
cannot be conducted
8. Automation refers the end to end activity and it
is not only the test execution
• Test data generators:
Automation holds some scripts which gives
the test data to increase the coverage of
(i) Performance & combinations of i/ps
(ii) Expected output for result comparisons.
This is referred as test data generators.
Terms used in automation:
Test case
It is the collection of sequential steps to
run a test operating on a collection of
predefined inputs to give the expected result.
Types
1.Manual
2.Automated
Test case is represented in many ways,
They are
• Documented as a collection of simple steps
• Assertion statement
• Set of assertions
Skills needed for test automation
• Test automation skills are based on the generation
of automation.
• 3 generation
1. Record and playback- removes the
repetitiveness of test execution.
2. Data driven-creates a set of test scripts which
produces (i) set of i/p conditions (ii) expected o/p
3. Action driven- execute automatically depending
upon the generic set of controls defined for
automation.
• Third generation has 2 criteria
1. Test case automation
> scripting language
> programming language
> design & architecture of product under test
> usage of the framework
2. Framework design
> programming languages
> design & architecture skills for framework
creation
> generic test requirements for many products
Scope and automation
• General tips to know the scope of automation
1. Finding testing types which are amenable to
the automation
2. Automating areas less prone to change
3. Automate tests that pertain to standards
4. Management aspects in automation
5. Return on investment
Design and architecture for
automation
• There are 5 modules.
• They are
1.External module- test case DB, defect DB
2. Scenario and configuration file modules- how to
run a specific test case
3. Test framework modules and test cases
4. Tools and results module
5. Report generator and reports/metrics modules-
customized report, technical report,
debug/detailed reports.
Requirements for a test tool
1. There is no hard coding in the test suite
2. Test case/suite expandability
3. Reusing the code for various types of testing
and test cases
4. Automatic arrangement for setup & cleanup
5. Independent test cases
6. Test case dependency
7. Insulating test cases during execution
8. Coding standards and directory structure
9. Selective execution of test cases
10. Random execution of test cases
11. Parallel execution of test cases
12. Looping the test cases
13. Grouping of test scenarios
14. Test case execution based on previous
results
15. Remote execution of test cases
16. Automatic archival of test data
17. Portability to different platforms
Challenges in automation
• Management commitment
• It takes time and effort and pays off in the long
run.
• It needs initial outlay of money as well as a steep
learning curve for test engineers
• Management should hold patience and persist
with the automation.
• the heavy front loading of costs of test
automation
Test metrics and measurements
• Measurement is an integral part of tracking.
• It first collects the data and then it is analyzed
to take suitable conclusions.
• Metrics takes the information from raw data
with a view to help in decision making.
• There are 3 types of metrics like
1.Project metrics-starts with requirements
gathering and ends with product release.
2.Progress metrics-the goal is find as many
defects as possible before any customer finds
them.
3.Productivity metrics- combine many
measurements and parameters with effort
spent on the product.

More Related Content

What's hot

ISTQB Advanced Level Test Automation Engineering Training
ISTQB Advanced Level Test Automation Engineering TrainingISTQB Advanced Level Test Automation Engineering Training
ISTQB Advanced Level Test Automation Engineering Training
HiraQureshi22
 
formal verification
formal verificationformal verification
formal verification
Toseef Aslam
 
Phases of a formal review
Phases of a formal reviewPhases of a formal review
Phases of a formal review
Zuliar Efendi
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
Adeel Rasheed
 
Software Evaluation
Software EvaluationSoftware Evaluation
Software Evaluation
SabahtHussein
 
Software Teting
Software TetingSoftware Teting
Software Teting
Ruchika Sinha
 
Class17
Class17Class17
Class17
makesame
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
Maitree Patel
 
12.registration form
12.registration form12.registration form
12.registration form
Pramod Rathore
 
What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?
QA InfoTech
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1
Mona M. Abd El-Rahman
 
Software testing fundamentals
Software testing fundamentalsSoftware testing fundamentals
Software testing fundamentals
Mona M. Abd El-Rahman
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Fayis-QA
 
Need for automation testing
Need for automation testingNeed for automation testing
Need for automation testing
99tests
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
Madhar Khan Pathan
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Mohamed Elshenawy
 
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
Ho Chi Minh City Software Testing Club
 
The Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software TestingThe Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software Testing
Software Testing Solution
 
Automated visual-regression-testing (1)
Automated visual-regression-testing (1)Automated visual-regression-testing (1)
Automated visual-regression-testing (1)
Sriram Angajala
 
S.t.
S.t.S.t.

What's hot (20)

ISTQB Advanced Level Test Automation Engineering Training
ISTQB Advanced Level Test Automation Engineering TrainingISTQB Advanced Level Test Automation Engineering Training
ISTQB Advanced Level Test Automation Engineering Training
 
formal verification
formal verificationformal verification
formal verification
 
Phases of a formal review
Phases of a formal reviewPhases of a formal review
Phases of a formal review
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
 
Software Evaluation
Software EvaluationSoftware Evaluation
Software Evaluation
 
Software Teting
Software TetingSoftware Teting
Software Teting
 
Class17
Class17Class17
Class17
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
12.registration form
12.registration form12.registration form
12.registration form
 
What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1
 
Software testing fundamentals
Software testing fundamentalsSoftware testing fundamentals
Software testing fundamentals
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Need for automation testing
Need for automation testingNeed for automation testing
Need for automation testing
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
 
The Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software TestingThe Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software Testing
 
Automated visual-regression-testing (1)
Automated visual-regression-testing (1)Automated visual-regression-testing (1)
Automated visual-regression-testing (1)
 
S.t.
S.t.S.t.
S.t.
 

Similar to Unit v

1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx
gianggiang114
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
Quontra Solutions
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
Moataz Nabil
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
Steven Li
 
7 steps to Software test automation success
7 steps to Software test automation success7 steps to Software test automation success
7 steps to Software test automation success
ngowda gowda (Looking For New job in Bangalore
 
Software Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet SolutionSoftware Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet Solution
Mazenetsolution
 
Software Test Automation - Best Practices
Software Test Automation - Best PracticesSoftware Test Automation - Best Practices
Software Test Automation - Best Practices
Arul Selvan
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing Metrics
Jatin Kochhar
 
Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008
Pete Schneider
 
C:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing processC:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing process
selvam mc
 
Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success
TEST Huddle
 
unit-5 SPM.pptx
unit-5 SPM.pptxunit-5 SPM.pptx
unit-5 SPM.pptx
ssuser92282c
 
Testing documents
Testing documentsTesting documents
Testing documents
suhasreddy1
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Shivang100
 
Testing documents
Testing documentsTesting documents
Testing documents
Hari Tiru
 
Qa documentation pp
Qa documentation ppQa documentation pp
Qa documentation pp
Bohdana Shaleva
 
Small is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignSmall is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case Design
Georgina Tilby
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
RppsKumar1
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
ghkadous
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptx
PriyaFulpagare1
 

Similar to Unit v (20)

1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
 
7 steps to Software test automation success
7 steps to Software test automation success7 steps to Software test automation success
7 steps to Software test automation success
 
Software Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet SolutionSoftware Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet Solution
 
Software Test Automation - Best Practices
Software Test Automation - Best PracticesSoftware Test Automation - Best Practices
Software Test Automation - Best Practices
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing Metrics
 
Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008
 
C:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing processC:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing process
 
Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success Michael Snyman - Software Test Automation Success
Michael Snyman - Software Test Automation Success
 
unit-5 SPM.pptx
unit-5 SPM.pptxunit-5 SPM.pptx
unit-5 SPM.pptx
 
Testing documents
Testing documentsTesting documents
Testing documents
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
 
Testing documents
Testing documentsTesting documents
Testing documents
 
Qa documentation pp
Qa documentation ppQa documentation pp
Qa documentation pp
 
Small is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case DesignSmall is Beautiful- Fully Automate your Test Case Design
Small is Beautiful- Fully Automate your Test Case Design
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptx
 

Recently uploaded

ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
PuktoonEngr
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 

Recently uploaded (20)

ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 

Unit v

  • 2. Software Test Automation • When the test cases are executed and verified, there is a good improvement in > Test coverage > Quality of testing
  • 3. Test automation • A s/w is developed in order to test the s/w. this is termed as test automation. • It finds many solutions for the problems. They are 1. Automation saves time as s/w can execute test cases faster than human do. 2. It frees the test engineers from mundane tasks & so they concentrates on several creative tasks. 3. Automated tests can be more reliable.
  • 4. 4. Automation leads to immediate testing 5. Automation can save an organization against attrition of test engineers 6. Test automation gives chances to use the global resources 7. Without automation, some sort of testing cannot be conducted 8. Automation refers the end to end activity and it is not only the test execution
  • 5. • Test data generators: Automation holds some scripts which gives the test data to increase the coverage of (i) Performance & combinations of i/ps (ii) Expected output for result comparisons. This is referred as test data generators. Terms used in automation: Test case It is the collection of sequential steps to run a test operating on a collection of predefined inputs to give the expected result.
  • 6. Types 1.Manual 2.Automated Test case is represented in many ways, They are • Documented as a collection of simple steps • Assertion statement • Set of assertions
  • 7. Skills needed for test automation • Test automation skills are based on the generation of automation. • 3 generation 1. Record and playback- removes the repetitiveness of test execution. 2. Data driven-creates a set of test scripts which produces (i) set of i/p conditions (ii) expected o/p 3. Action driven- execute automatically depending upon the generic set of controls defined for automation.
  • 8. • Third generation has 2 criteria 1. Test case automation > scripting language > programming language > design & architecture of product under test > usage of the framework 2. Framework design > programming languages > design & architecture skills for framework creation > generic test requirements for many products
  • 9. Scope and automation • General tips to know the scope of automation 1. Finding testing types which are amenable to the automation 2. Automating areas less prone to change 3. Automate tests that pertain to standards 4. Management aspects in automation 5. Return on investment
  • 10. Design and architecture for automation • There are 5 modules. • They are 1.External module- test case DB, defect DB 2. Scenario and configuration file modules- how to run a specific test case 3. Test framework modules and test cases 4. Tools and results module 5. Report generator and reports/metrics modules- customized report, technical report, debug/detailed reports.
  • 11. Requirements for a test tool 1. There is no hard coding in the test suite 2. Test case/suite expandability 3. Reusing the code for various types of testing and test cases 4. Automatic arrangement for setup & cleanup 5. Independent test cases 6. Test case dependency 7. Insulating test cases during execution
  • 12. 8. Coding standards and directory structure 9. Selective execution of test cases 10. Random execution of test cases 11. Parallel execution of test cases 12. Looping the test cases 13. Grouping of test scenarios 14. Test case execution based on previous results 15. Remote execution of test cases 16. Automatic archival of test data 17. Portability to different platforms
  • 13. Challenges in automation • Management commitment • It takes time and effort and pays off in the long run. • It needs initial outlay of money as well as a steep learning curve for test engineers • Management should hold patience and persist with the automation. • the heavy front loading of costs of test automation
  • 14. Test metrics and measurements • Measurement is an integral part of tracking. • It first collects the data and then it is analyzed to take suitable conclusions. • Metrics takes the information from raw data with a view to help in decision making.
  • 15. • There are 3 types of metrics like 1.Project metrics-starts with requirements gathering and ends with product release. 2.Progress metrics-the goal is find as many defects as possible before any customer finds them. 3.Productivity metrics- combine many measurements and parameters with effort spent on the product.