Automation testing

Mona M. Abd El-Rahman
Mona M. Abd El-RahmanSoftware Quality Control Engineer um Instabug
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
1 von 29

Recomendados

Automation testing introduction for FujiNet von
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNetHai Tran Son
1.3K views23 Folien
Automation Testing von
Automation TestingAutomation Testing
Automation TestingSun Technlogies
1.7K views8 Folien
Test automation von
Test automationTest automation
Test automationXavier Yin
1.4K views24 Folien
Introduction to Automation Testing von
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
8.6K views15 Folien
Test Automation von
Test AutomationTest Automation
Test Automationrockoder
9.5K views19 Folien
Automation With A Tool Demo von
Automation With A Tool DemoAutomation With A Tool Demo
Automation With A Tool DemoNivetha Padmanaban
4.5K views11 Folien

Más contenido relacionado

Was ist angesagt?

Test Automation - Keytorc Approach von
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Keytorc Software Testing Services
2.8K views22 Folien
Introduction to Automation Testing von
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
1K views15 Folien
automation testing benefits von
automation testing benefitsautomation testing benefits
automation testing benefitsnazeer pasha
6.7K views51 Folien
Test automation process von
Test automation processTest automation process
Test automation processBharathi Krishnamurthi
25.9K views28 Folien
Test automation methodologies von
Test automation methodologiesTest automation methodologies
Test automation methodologiesMesut Günes
19.6K views4 Folien
Selenium ppt von
Selenium pptSelenium ppt
Selenium pptAneesh Rangarajan
2.4K views35 Folien

Was ist angesagt?(20)

automation testing benefits von nazeer pasha
automation testing benefitsautomation testing benefits
automation testing benefits
nazeer pasha6.7K views
Test automation methodologies von Mesut Günes
Test automation methodologiesTest automation methodologies
Test automation methodologies
Mesut Günes19.6K views
Test Automation Best Practices (with SOA test approach) von Leonard Fingerman
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 Fingerman21.1K views
Manual testing concepts course 1 von Raghu Kiran
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran14.9K views
Automated vs manual testing von Kanoah
Automated vs manual testingAutomated vs manual testing
Automated vs manual testing
Kanoah3.5K views
Automated Testing vs Manual Testing von Directi Group
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
Directi Group33.4K views
What is Test Plan? Edureka von Edureka!
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
Edureka!906 views
Web automation using selenium.ppt von Ana Sarbescu
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.ppt
Ana Sarbescu2.1K views
Test automation framework von QACampus
Test automation frameworkTest automation framework
Test automation framework
QACampus1.7K views
Test Automation Framework Designs von Sauce Labs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
Sauce Labs167K views

Similar a Automation testing

Software testing von
Software testingSoftware testing
Software testingKarnatiChandramoules
150 views21 Folien
Automation testing von
Automation testingAutomation testing
Automation testingArta Doci
1.2K views29 Folien
Automated Software Testing Framework Training by Quontra Solutions von
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsQuontra Solutions
857 views36 Folien
Unit 5 st ppt von
Unit 5 st pptUnit 5 st ppt
Unit 5 st pptPoonkodi Jayakumar
4.2K views97 Folien
Test automation - Building effective solutions von
Test automation - Building effective solutionsTest automation - Building effective solutions
Test automation - Building effective solutionsArtem Nagornyi
1.9K views23 Folien
How to make Automation an asset for Organization von
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organizationanuvip
440 views24 Folien

Similar a Automation testing(20)

Automation testing von Arta Doci
Automation testingAutomation testing
Automation testing
Arta Doci1.2K views
Automated Software Testing Framework Training by Quontra Solutions von 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 857 views
Test automation - Building effective solutions von Artem Nagornyi
Test automation - Building effective solutionsTest automation - Building effective solutions
Test automation - Building effective solutions
Artem Nagornyi1.9K views
How to make Automation an asset for Organization von anuvip
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organization
anuvip440 views
Automation Testing with Test Complete von Vartika Saxena
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena12.3K views
Improving ROI with Scriptless Test Automation von Mindfire LLC
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
Mindfire LLC64 views
What are the Top Automated Software Testing Tools for 2021 von Testrig Technologies
What are the Top Automated Software Testing Tools for 2021What are the Top Automated Software Testing Tools for 2021
What are the Top Automated Software Testing Tools for 2021
Different Methodologies For Testing Web Application Testing von Rachel Davis
Different Methodologies For Testing Web Application TestingDifferent Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application Testing
Rachel Davis2 views
Object Oriented Testing(OOT) presentation slides von Punjab University
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
Punjab University1.4K views
Real Testing Scenario Strategy - Bringing It All Together For Success von Adam Sandman
Real Testing Scenario Strategy - Bringing It All Together For SuccessReal Testing Scenario Strategy - Bringing It All Together For Success
Real Testing Scenario Strategy - Bringing It All Together For Success
Adam Sandman1.3K views
Automation Best Practices.pptx von pavelpopov43
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
pavelpopov4318 views
manual & automation testing von Bharat Dawar
manual & automation testingmanual & automation testing
manual & automation testing
Bharat Dawar116 views
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at... von DevDay.org
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay.org392 views
Software Testing: History, Trends, Perspectives - a Brief Overview von Softheme
Software Testing: History, Trends, Perspectives - a Brief OverviewSoftware Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief Overview
Softheme7.2K views
Automation Tools Overview von Murageppa-QA
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
Murageppa-QA1.1K views

Último

ict act 1.pptx von
ict act 1.pptxict act 1.pptx
ict act 1.pptxsanjaniarun08
13 views17 Folien
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action von
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionGen Apps on Google Cloud PaLM2 and Codey APIs in Action
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionMárton Kodok
5 views55 Folien
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h... von
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...Deltares
5 views31 Folien
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols von
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - DolsDSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - DolsDeltares
7 views23 Folien
Navigating container technology for enhanced security by Niklas Saari von
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas SaariMetosin Oy
13 views34 Folien
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut... von
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...Deltares
7 views28 Folien

Último(20)

Gen Apps on Google Cloud PaLM2 and Codey APIs in Action von Márton Kodok
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionGen Apps on Google Cloud PaLM2 and Codey APIs in Action
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
Márton Kodok5 views
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h... von Deltares
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...
Deltares5 views
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols von Deltares
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - DolsDSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols
Deltares7 views
Navigating container technology for enhanced security by Niklas Saari von Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy13 views
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut... von Deltares
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
Deltares7 views
Airline Booking Software von SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta5 views
Software testing company in India.pptx von SakshiPatel82
Software testing company in India.pptxSoftware testing company in India.pptx
Software testing company in India.pptx
SakshiPatel827 views
MariaDB stored procedures and why they should be improved von Federico Razzoli
MariaDB stored procedures and why they should be improvedMariaDB stored procedures and why they should be improved
MariaDB stored procedures and why they should be improved
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx von animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm14 views
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... von Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri795 views
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with... von sparkfabrik
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
sparkfabrik5 views
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -... von Deltares
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
Deltares6 views
FIMA 2023 Neo4j & FS - Entity Resolution.pptx von Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j6 views
Generic or specific? Making sensible software design decisions von Bert Jan Schrijver
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
Copilot Prompting Toolkit_All Resources.pdf von Riccardo Zamana
Copilot Prompting Toolkit_All Resources.pdfCopilot Prompting Toolkit_All Resources.pdf
Copilot Prompting Toolkit_All Resources.pdf
Riccardo Zamana8 views
A first look at MariaDB 11.x features and ideas on how to use them von Federico Razzoli
A first look at MariaDB 11.x features and ideas on how to use themA first look at MariaDB 11.x features and ideas on how to use them
A first look at MariaDB 11.x features and ideas on how to use them
Federico Razzoli45 views

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

Hinweis der Redaktion

  1. 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.
  2. Adequate for simple tasks. Never a good basis for large scale automation.