SlideShare a Scribd company logo
Prepared By:
Mona Mohammad Abd El-Rahman.
(QC Engineer at Ibtikar Technologies Co.)
 What is Automation testing ?
 Why Automation testing is important ?
 Levels of automation testing.
 Automation testing Framework.
 Framework approaches.
 Automation lifecycle.
 How to choose automation tool ?
 Types of automation testing tools.
 When to automate and by whom ?
 Supporting practices.
 Skills to be learned.
What is Automation Testing ?
The use of special software (separate from the
software being tested) to control the execution
of tests and the comparison of actual outcomes
with predicted outcomes.
Why Automation Testing is important ?
Why Automation Testing is important ?
 Automated Software Testing Saves Time and Money.
 Testing Improves Accuracy.
 Increase Test Coverage.
 Automation Does What Manual Testing Cannot.
 Automated QA Testing Helps Developers and Testers.
 Team Morale Improves.
Levels of automation testing:
• Testing at source code level with variety of
input arguments to observe the output.
Code
Driven
• Testing at GUI level via keystrokes, mouse
clicks to UI controls etc. and observes the
changes that results in user interface.
GUI
Driven
Automation testing framework:
An integrated solution that sets the rule of
automation of specific product. It integrates the
function libraries, test data sources, object details and
various reusable models.
Data
File
Driver Script
Actual OutputExpected Output
Compare
Framework approaches:
 Record and Playback.
 Linear scripting.
 Modular scripting.
 Data Driven approach.
 Keyword Driven approach.
Record and Playback
 Capture interactions with the system and replay it.
 Popular approach among commercial tool.
Benefits Problems
- Very easy and fast to create initially.
- No programming skills needed.
- Single change in UI breaks all the
test.
- Hard to maintain.
(Plenty of separate test scripts)
- System must be ready before
automation starts.
(Doesn’t accept acceptance test
driven development).
Linear scripting
 Non-structured scripts interacts directly with SUT.
 Can use any programming language.
 Also produced by capture and replay tools.
test
Script
1
test
Script
2
SUT
Benefits Problems
- Fast to create initially.
- Flexible.
- Can use common scripting
languages.
- No license cost.
- Creating tests requires
programming skill.
- One change in the system may
break all the test.
- Hard to maintain.
(Plenty of test scripts).
- No reuse of code.
Modular scripting
 Driver script “drive” test execution.
 Interaction with SUT done by functions in test library.
SUT
Driver
Script
1
Driver
Script
2
Test Library
Function 1
Function 2
Function 3
Benefits Problems
- Reuse of code.
- Creating new tests gets faster.
- Easy to maintain.
(Changes in the system will cause
changes in small areas in test code)
- Drivers scripts are simple.
- Novice programmers can easily edit
in drivers scripts.
- Building test library requires
initial efforts.
- Requires High programming skills
(to create test library).
- Test data embedded into scripts.
- New tests requires new driver
scripts.
Data driven approach
 Test data taken out of test scripts.
 One driver script can execute multiple similar tests.
 New driver script still needed for different kind of
tests.
SUT
Test Library
Function 1
Function 2
Function 3
Driver
Script
1
Driver
Script
2
Test
Data 1
Test
Data 2
Parser
Benefits Problems
- Test libraries provide modularity.
- Creating and editing existing tests are
very easy.
- Maintenance responsibilities can be
divided:
a) Non programmers maintain test
data.
B) Programmers maintain
automation test code.
- Test cases are similar.
- New kinds of tests requires new
test scripts.
- Creating driver script requires
programming skills.
- Initial effort creating parsers and
other reusable components are
big.
Keyword driven approach
 Not only test data but also directives (keywords)
telling how to use the data taken out of the test
scripts.
 Keywords and test data associated with them drive
test execution.
SUT
Test Library
Keyword 1
Keyword 2
Keyword 3
Test
Framewor
k
Test
Data 1
Test
Data 2
Test
Data 3
Benefits Problems
- All same benefits as data driven
testing.
- Tests can be constructed freely
from keywords.
- All tests can be executed by one
framework.
- Initial efforts in really big.
But, there is online open source
tools available.
Automation testing lifecycle :
Decision to
automate
Test tool
acquisition
Automated
tests
introduction
Process
Test Planning,
Design and
Development
Execution and
management
of tests
Test program
review and
assessment
How to choose automation tool ?
Imagine your self the tool decision – maker and
purchaser …
How will you think ?
How to choose automation tool ?
 Do you have necessary skilled resource to allocate for
automation tasks?
 What is your budget?
 Does the tool satisfy your testing needs?
Is it suitable for the project environment and technology you
are using?
Does it support all tools and objects used in the code?
How to choose automation tool ?
 Does the tool provide you the free trial version so that you
can evaluate it before making a decision?
Also does the tool have all features available in trial version?
 Is the current tool version stable?
Is the vendor company established with good customer
support as well as online help resources and user manual?
 How is the tool learning curve?
Is the learning time acceptable for your goals?
How to choose automation tool ?
 Do you want automation tool for only your project needs or
you are looking for a common tool for all projects in your
company?
 Which testing types does it support? Tool which supports
maximum testing types (Unit, functional, regression etc.) is
always a better choice.
 Does the tool support easy interface to create and maintain
test scripts?
How to choose automation tool ?
 How easy it is to provide input test data for complex or load
tests?
 Does it provide the powerful reporting with graphical
interface? Clear and concise reports will always help you to
conclude the test results quickly.
 Does it integrate well with your other testing tools like
project planning and test management tools.
 Is the vendor provide initial training.
Types of automation testing tools:
Commercial tools
 Good ones tends to be expensive.
 Often hard to integrate with:
- Other automation tools.
- Version control and continuous
integration tools.
 Hard or impossible to customize.
 Risk of product or company
discontinuation.
Ex. Quick test professional (HP),
Functional tester (IBM), SilkTest,
TestComplete, Testdroid … etc.
Open source tools
 Large variety.
(Some are great – other are not).
 Normally easy to integrate with
other tools.
 Free.
 Can be customized freely.
 Can never die.
Ex. Selenium, Robotium, Jmeter,
SoapUI … etc.
When to automate and by whom ?
After Development
Often by different team.
Typical in waterfall projects.
Slow feedback loop.
Collaborative automation
Automation considered to be
integral part of development.
Typical in Agile projects.
Supporting practices:
Version Control
Test data and code should be stored
the same way as production code.
Recommended to store with
production code.
Lots of great open source alternatives
available (Subversion, Github, etc.)
Continuous integration
Key to full scale automation.
Tests are run automatically when:
a) New tests are added.
b) Code is changed.
Can also have scheduled test runs.
Skills to be learned:
 Scripting languages.
 Regular expressions.
(A must when parsing textual outputs)
 Xpath and CSS Selectors.
(A must when doing web testing)
 SQL.
(A must with databases)
 Using version control.
Automation testing
Feel free to contact anytime …
mona.m.abdelrahman@gmail.com

More Related Content

PDF
Test Automation
PDF
Test Automation
PPTX
Introduction to Automation Testing
PPT
Automated Testing with Agile
PPTX
How to Design a Successful Test Automation Strategy
PPTX
Automation Testing
PPTX
Software test automation
PDF
Automated vs manual testing
Test Automation
Test Automation
Introduction to Automation Testing
Automated Testing with Agile
How to Design a Successful Test Automation Strategy
Automation Testing
Software test automation
Automated vs manual testing

What's hot (20)

PPT
Test Automation Strategies For Agile
PPT
Test automation process
PPT
Test Automation Framework Designs
PPTX
Introduction to Automation Testing
PDF
Automation testing introduction for FujiNet
PDF
Test Automation - Keytorc Approach
PPTX
Best practices for test automation
PDF
Building a Test Automation Strategy for Success
PPTX
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
PPT
Automation testing strategy, approach & planning
PPTX
Test automation
PPT
Automation testing
PDF
Test Automation Strategy
ODP
Why Katalon Studio?
PPT
powerpoint template for testing training
PDF
Introduction to Software Test Automation
PPTX
Automation testing & Unit testing
PDF
Test Automation: A Roadmap For Sucesss
PPTX
Test Automation - Everything You Need To Know
PPT
Selenium Automation Framework
Test Automation Strategies For Agile
Test automation process
Test Automation Framework Designs
Introduction to Automation Testing
Automation testing introduction for FujiNet
Test Automation - Keytorc Approach
Best practices for test automation
Building a Test Automation Strategy for Success
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Automation testing strategy, approach & planning
Test automation
Automation testing
Test Automation Strategy
Why Katalon Studio?
powerpoint template for testing training
Introduction to Software Test Automation
Automation testing & Unit testing
Test Automation: A Roadmap For Sucesss
Test Automation - Everything You Need To Know
Selenium Automation Framework
Ad

Similar to Automation testing (20)

PDF
Choosing right-automation-tool
PDF
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
PPTX
unit-5 SPM.pptx
PDF
Automation testing: how tools are important?
PPSX
Software automation
PPTX
How to select the right automated testing tool
PDF
Introduction to Test Automation
PPTX
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
PPTX
TEST AUTOMATION for S/W Q/A Process.pptx
PDF
Discover the power of QA automation testing
PPTX
How to make Automation an asset for Organization
PPTX
Unit v
PPTX
How selenium can transform your qa career
DOCX
summary
PPTX
SDET UNIT 4.pptx
PPTX
It's Automation, Not Automagic
PPT
Guideto Successful Application Test Automation
PPT
Software Testing
PPT
Your score increases as you pick a category, fill out a long description and ...
PPTX
Unit -V 19CS408T - Software Testing Notes
Choosing right-automation-tool
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
unit-5 SPM.pptx
Automation testing: how tools are important?
Software automation
How to select the right automated testing tool
Introduction to Test Automation
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
TEST AUTOMATION for S/W Q/A Process.pptx
Discover the power of QA automation testing
How to make Automation an asset for Organization
Unit v
How selenium can transform your qa career
summary
SDET UNIT 4.pptx
It's Automation, Not Automagic
Guideto Successful Application Test Automation
Software Testing
Your score increases as you pick a category, fill out a long description and ...
Unit -V 19CS408T - Software Testing Notes
Ad

Recently uploaded (20)

PDF
System and Network Administration Chapter 2
PPTX
ai tools demonstartion for schools and inter college
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
top salesforce developer skills in 2025.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
L1 - Introduction to python Backend.pptx
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
System and Network Administration Chapter 2
ai tools demonstartion for schools and inter college
How Creative Agencies Leverage Project Management Software.pdf
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Wondershare Filmora 15 Crack With Activation Key [2025
PTS Company Brochure 2025 (1).pdf.......
top salesforce developer skills in 2025.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Adobe Illustrator 28.6 Crack My Vision of Vector Design
ManageIQ - Sprint 268 Review - Slide Deck
ISO 45001 Occupational Health and Safety Management System
Design an Analysis of Algorithms I-SECS-1021-03
L1 - Introduction to python Backend.pptx
CHAPTER 2 - PM Management and IT Context
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Odoo POS Development Services by CandidRoot Solutions
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx

Automation testing

  • 1. Prepared By: Mona Mohammad Abd El-Rahman. (QC Engineer at Ibtikar Technologies Co.)
  • 2.  What is Automation testing ?  Why Automation testing is important ?  Levels of automation testing.  Automation testing Framework.  Framework approaches.  Automation lifecycle.  How to choose automation tool ?  Types of automation testing tools.  When to automate and by whom ?  Supporting practices.  Skills to be learned.
  • 3. What is Automation Testing ? The use of special software (separate from the software being tested) to control the execution of tests and the comparison of actual outcomes with predicted outcomes.
  • 4. Why Automation Testing is important ?
  • 5. Why Automation Testing is important ?  Automated Software Testing Saves Time and Money.  Testing Improves Accuracy.  Increase Test Coverage.  Automation Does What Manual Testing Cannot.  Automated QA Testing Helps Developers and Testers.  Team Morale Improves.
  • 6. Levels of automation testing: • Testing at source code level with variety of input arguments to observe the output. Code Driven • Testing at GUI level via keystrokes, mouse clicks to UI controls etc. and observes the changes that results in user interface. GUI Driven
  • 7. Automation testing framework: An integrated solution that sets the rule of automation of specific product. It integrates the function libraries, test data sources, object details and various reusable models. Data File Driver Script Actual OutputExpected Output Compare
  • 8. Framework approaches:  Record and Playback.  Linear scripting.  Modular scripting.  Data Driven approach.  Keyword Driven approach.
  • 9. Record and Playback  Capture interactions with the system and replay it.  Popular approach among commercial tool. Benefits Problems - Very easy and fast to create initially. - No programming skills needed. - Single change in UI breaks all the test. - Hard to maintain. (Plenty of separate test scripts) - System must be ready before automation starts. (Doesn’t accept acceptance test driven development).
  • 10. Linear scripting  Non-structured scripts interacts directly with SUT.  Can use any programming language.  Also produced by capture and replay tools. test Script 1 test Script 2 SUT
  • 11. Benefits Problems - Fast to create initially. - Flexible. - Can use common scripting languages. - No license cost. - Creating tests requires programming skill. - One change in the system may break all the test. - Hard to maintain. (Plenty of test scripts). - No reuse of code.
  • 12. Modular scripting  Driver script “drive” test execution.  Interaction with SUT done by functions in test library. SUT Driver Script 1 Driver Script 2 Test Library Function 1 Function 2 Function 3
  • 13. Benefits Problems - Reuse of code. - Creating new tests gets faster. - Easy to maintain. (Changes in the system will cause changes in small areas in test code) - Drivers scripts are simple. - Novice programmers can easily edit in drivers scripts. - Building test library requires initial efforts. - Requires High programming skills (to create test library). - Test data embedded into scripts. - New tests requires new driver scripts.
  • 14. Data driven approach  Test data taken out of test scripts.  One driver script can execute multiple similar tests.  New driver script still needed for different kind of tests. SUT Test Library Function 1 Function 2 Function 3 Driver Script 1 Driver Script 2 Test Data 1 Test Data 2 Parser
  • 15. Benefits Problems - Test libraries provide modularity. - Creating and editing existing tests are very easy. - Maintenance responsibilities can be divided: a) Non programmers maintain test data. B) Programmers maintain automation test code. - Test cases are similar. - New kinds of tests requires new test scripts. - Creating driver script requires programming skills. - Initial effort creating parsers and other reusable components are big.
  • 16. Keyword driven approach  Not only test data but also directives (keywords) telling how to use the data taken out of the test scripts.  Keywords and test data associated with them drive test execution. SUT Test Library Keyword 1 Keyword 2 Keyword 3 Test Framewor k Test Data 1 Test Data 2 Test Data 3
  • 17. Benefits Problems - All same benefits as data driven testing. - Tests can be constructed freely from keywords. - All tests can be executed by one framework. - Initial efforts in really big. But, there is online open source tools available.
  • 18. Automation testing lifecycle : Decision to automate Test tool acquisition Automated tests introduction Process Test Planning, Design and Development Execution and management of tests Test program review and assessment
  • 19. How to choose automation tool ? Imagine your self the tool decision – maker and purchaser … How will you think ?
  • 20. How to choose automation tool ?  Do you have necessary skilled resource to allocate for automation tasks?  What is your budget?  Does the tool satisfy your testing needs? Is it suitable for the project environment and technology you are using? Does it support all tools and objects used in the code?
  • 21. How to choose automation tool ?  Does the tool provide you the free trial version so that you can evaluate it before making a decision? Also does the tool have all features available in trial version?  Is the current tool version stable? Is the vendor company established with good customer support as well as online help resources and user manual?  How is the tool learning curve? Is the learning time acceptable for your goals?
  • 22. How to choose automation tool ?  Do you want automation tool for only your project needs or you are looking for a common tool for all projects in your company?  Which testing types does it support? Tool which supports maximum testing types (Unit, functional, regression etc.) is always a better choice.  Does the tool support easy interface to create and maintain test scripts?
  • 23. How to choose automation tool ?  How easy it is to provide input test data for complex or load tests?  Does it provide the powerful reporting with graphical interface? Clear and concise reports will always help you to conclude the test results quickly.  Does it integrate well with your other testing tools like project planning and test management tools.  Is the vendor provide initial training.
  • 24. Types of automation testing tools: Commercial tools  Good ones tends to be expensive.  Often hard to integrate with: - Other automation tools. - Version control and continuous integration tools.  Hard or impossible to customize.  Risk of product or company discontinuation. Ex. Quick test professional (HP), Functional tester (IBM), SilkTest, TestComplete, Testdroid … etc. Open source tools  Large variety. (Some are great – other are not).  Normally easy to integrate with other tools.  Free.  Can be customized freely.  Can never die. Ex. Selenium, Robotium, Jmeter, SoapUI … etc.
  • 25. When to automate and by whom ? After Development Often by different team. Typical in waterfall projects. Slow feedback loop. Collaborative automation Automation considered to be integral part of development. Typical in Agile projects.
  • 26. Supporting practices: Version Control Test data and code should be stored the same way as production code. Recommended to store with production code. Lots of great open source alternatives available (Subversion, Github, etc.) Continuous integration Key to full scale automation. Tests are run automatically when: a) New tests are added. b) Code is changed. Can also have scheduled test runs.
  • 27. Skills to be learned:  Scripting languages.  Regular expressions. (A must when parsing textual outputs)  Xpath and CSS Selectors. (A must when doing web testing)  SQL. (A must with databases)  Using version control.
  • 29. Feel free to contact anytime … mona.m.abdelrahman@gmail.com

Editor's Notes

  • #7: Code Driven test automation is usually performed by development team (Unit tests, TDD). Code Driven test automation is prompted in Agile software method as test driven development method.
  • #12: Adequate for simple tasks. Never a good basis for large scale automation.