SlideShare une entreprise Scribd logo
1  sur  36
1 
Automated Software Testing 
Framework 
Presented By 
www.QuontraSolutions.co.uk 
IT Courses Online Training 
Call Us: 20-3734-1498 
Email: info@quontrasolutions.com
2 
Topics 
Automated software testing. What? 
Why? 
Automated vs. Manual 
Common types of automated 
testing methods 
Automated software testing 
framework 
Summary
3 
What is automated software testing? 
A process which covers: 
the use of software to control the 
execution of tests 
the comparison of actual outcomes to 
predicted outcomes 
the setting up of test preconditions 
other test control and test reporting 
functions.
4 
Why testing is critical?
5 
Why automated testing? 
A time savings translates directly into cost 
savings 
Improves testing productivity 
Improves accuracy 
Increases test coverage 
Does what manual testing cannot do
6 
Effort and Cost 
 Let’s assume 6 test cases 
 Effort required to run all 6 manually => 10 min 
 Effort required to write unit tests for all 6 cases => 10 min 
 Effort required to run unit tests for all 6 cases => < 1 min 
 Number of testing iterations => 5 
 Total manual testing time => 50 min 
 Total unit testing time => 10 min 
Release Manual Test Auto Test 
Manual Test 
Cumulative 
1 10 10 10 
2 10 0 20 
3 10 0 30 
4 10 0 40 
5 10 0 50
7 
Automated vs. Manual testing 
Not all tests can be automated and 
most times is difficult to decide what 
to automate and what to manually 
test.
Advantages 
8 
Automated Testing Manual Testing 
• Need to run a set of tests 
repeatedly 
• Test cases have to be run a 
small number of times 
• Helps performing 
"compatibility testing" (on 
different configurations and 
platforms) 
• Allows the tester to perform 
more specific tests 
•Long term costs are reduced • Short term testing costs are 
reduced 
• Possible to run regressions on a 
code that is continuously 
changing and in shorter time 
• The more time tester spends 
testing a module the grater 
chance to find real bugs
9 
Disadvantages & other factors 
Automated Testing Manual Testing 
• It's more expensive to 
automate (bigger initial 
investments) 
• Manual tests can be 
very time consuming 
• You cannot automate 
everything, some tests still 
have to be done 
manually 
• For every release you 
must rerun the same set 
of tests which can be 
tiresome 
Other Factors 
• The performance of your test tools 
• The knowledge level of your testing team 
• The continuous growth of software to be 
tested
10 
Common types of automated 
testing methods 
Monkey testing 
Capture / playback 
Code-based (Unit) testing 
Intelligent test automation
11 
Monkey testing 
 Randomly selecting inputs from a large 
range of values and monitoring if 
exceptions are thrown. 
 For example, a monkey test can enter 
random strings into text boxes to ensure 
handling of all possible user input. 
 It applies not only for GUI or WEB testing, 
but also for Unit testing.
Tools example 
Monkey – Android testing tools. 
The simplest way to use the monkey 
is with the following command, which will 
launch the application and send 500 
pseudo-random events to it. 
$ adb shell monkey -v -p 
your.package.name 500 
12
13 
Capture / playback 
It’s a set of software programs that capture 
user inputs and stores it into a script for later 
replay. 
+ Repeated testing can be performed quickly. 
+ Does not require programming skills. 
- When the GUI changes, input sequences 
previously recorded may no longer be valid. 
- Difficult to determine location of bugs.
Tools example 
14 
Autohotkey - Free keyboard macro program. 
Supports hotkeys for keyboard, mouse.
15 
Code-based (Unit) testing 
Individual units of source code are tested to 
determine if they fit for use. 
Ideally, each test case is independent from 
the others 
+ Bugs can be found in early development 
stage 
+ Easy to test boundary cases 
- Not effective for the integrated system 
testing
Unit test-case generation 
method 
Random 
Genetic 
Other… 
16
17 
Random 
Input values generated randomly 
Run with generated inputs 
User checks output values (pass/fail) 
and saves them for later automatic 
checking (Oracle).
18 
Genetic 
This methods approach is to combine JML (JAVA 
model language) and genetic algorithms. JUnit is 
used as a test execution platform.
Tools examples 
Parasoft Jtest is an 
automated Java 
testing and static 
code analysis 
product 
19 
TestGen is a collection of open-source 
tools that automatically generates unit 
test cases.
20 
Intelligent test automation 
A model-based method for generating tests from 
a description of an application’s behavior (UML) 
+ Models are simple to modify, so model-based 
tests are economical to maintain over the life of 
a project. 
- Most of these methods are researched only 
theoretically.
OCL + UML 
21 
Inputs Constraints 
Inputs 
generator 
UML + 
OCL 
Tested 
software 
Oracle 
Outputs Constraints 
pass / fail 
Report
22 
Automated testing framework A framework is an integrated system 
that sets the rules of automation of a 
specific product. 
This system integrates the function 
libraries, test data sources, object 
details and various reusable modules. 
The framework provides the basis of test 
automation and simplifies the 
automation effort.
Common types of frameworks 
Data-driven testing 
Keyword-driven testing 
Hybrid testing 
23
24 
Data-driven testing 
Data-focused automation 
User defines just data sets to run tests with 
Data is defined in external data source and 
de-coupled from script 
Good fit for a single application testing, 
featuring multi-environment, big datasets, 
and rarely changing Test Cases 
+ - 
Good usability and re-usability 
Quality and coverage strongly depends on the 
automation skills of implementing person 
Good test flow coverage Continuous maintenance issues due to a big 
amount of the code 
Multi-environment support Manual validation is required
Example 
25 
Data set 
Test 
script
26 
Keyword-driven testing 
Good fit for a multi-application testing 
featuring multi-environment, big datasets, and 
a big number of short and straight Test Cases 
Users de-compose test cases into reusable 
action keywords 
Non-coders are able to author automated test 
cases with action keywords 
+ - 
Test development doesn’t 
require programming skills 
Due to keywords limit doesn’t allow 
covering very complicated Test Cases 
Good test flow coverage Meta-language specific training is required 
for staff 
Compact code Manual validation is required
Example 
27
Hybrid testing 
28 
Combines the best of data-driven and 
keyword-driven testing: 
 User defines data sets to run tests with 
 User also defines flow control through action 
keywords 
 Data is separated from script and stored in external 
data source with action keywords 
+ - 
Test Plan / Test Scenario creation doesn’t 
require programming or training on the 
Testing Tool Requires initial investment for 
design and implementation 
Compact code and scalable architecture of the framework 
Built-in strict validation
29 
Framework components 
 Test generation (data and script generators).Tools might create 
specialized data such as randomized email messages, or 
populate databases etc. 
 System configuration. Tools might preserve or reproduce system 
parameters. 
 Test execution. Tools might operate the software itself, either 
simulating a user working through the GUI and using an 
alternative testable interface. 
 Oracles. An oracle is any mechanism by which we detect 
failure or success. Tools might automatically detect certain 
kinds of error conditions in a product. 
 Activity recording & coverage analysis. Tools might watch 
testing as it happens and retrospectively report what was and 
was not tested. 
 Test management. Tools might record test results, organize test 
ideas or metrics.
30 
General framework structure
Common functional automated test tools 
Tool + - 
IBM / 
Rational 
Functional 
Tester (RFT) 
•Built as Eclipse plug-in with full 
IDE, Java support and source 
management 
•Supports Web-based 
applications, .Net, Java, Siebel, 
SAP®, PowerBuilder, AJAX, Adobe 
Flex, Adobe PDF documents 
•Full GUI Object Map repository 
•License cost 
HP / 
Mercury 
Quick Test 
Pro (QTP) 
•Supports Web 2.0, GWT, Dojo, 
YUI, Silverlight, Flex, Ajax, JAVA, .NET 
applications 
•Full GUI Object Map repository 
•Seamless integration with 
QualityCenter 
•No IDE 
(changing in 
release 10) 
•License cost 
•VisualBasic 
scripting is limited 
Selenium 
RC & IDE 
•Good browser support 
•Good language support (JAVA, 
Ruby, C#) 
•Can be easily extended as JUnit 
suite 
•Open-source (no license cost) 
•No GUI Object 
repository 
•Only web-based 
application support 
•Tool support is 
limited 
31
Tools examples 32
33 
Summary 
Automated testing improves productivity, 
accuracy, increases test coverage, saves 
time and cost 
Need to decide what to automate and 
what to manually test 
The framework provides the basis of test 
automation and simplifies the automation 
effort.
34 
More information 
 http://opuntia.cs.utep.edu/utjml/utest.html 
 http://www.ibm.com/developerworks/rational/library/591.html 
 http://www.satisfice.com/presentations/agileauto.pdf 
 http://automation-beyond.com/2009/05/30/test-automation-practices- 
recordplayback/ 
 http://en.wikipedia.org/wiki/Test_automation
35 
TThhaannkk yyoouu!!
QQuueessttiioonn ?????? 
36 
What is the benefit of automated testing? 
What are the common types of 
automated testing methods? 
What are the common types of 
frameworks? 
What components come to framework? 
What are the examples of automated 
testing tools?

Contenu connexe

Tendances

Practical unit testing in c & c++
Practical unit testing in c & c++Practical unit testing in c & c++
Practical unit testing in c & c++Matt Hargett
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhardeepikakaler1
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhianadeepikakaler1
 
Testing chapter updated (1)
Testing chapter updated (1)Testing chapter updated (1)
Testing chapter updated (1)abdullah619
 
Types of test tools
Types of test toolsTypes of test tools
Types of test toolsVaibhav Dash
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Ankit Prajapati
 
Programming skills for test automation
Programming skills for test automationProgramming skills for test automation
Programming skills for test automationRomania Testing
 
Test Automation
Test AutomationTest Automation
Test Automationrockoder
 
Testing Tool Evaluation Criteria
Testing Tool Evaluation CriteriaTesting Tool Evaluation Criteria
Testing Tool Evaluation Criteriabasma_iti_1984
 
Requirements Based Testing
Requirements Based TestingRequirements Based Testing
Requirements Based TestingSSA KPI
 
SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)Amr E. Mohamed
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testingdidev
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testingJorge Ortiz
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)Wael Mansour
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software TestingNishant Worah
 
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010TEST Huddle
 

Tendances (18)

Practical unit testing in c & c++
Practical unit testing in c & c++Practical unit testing in c & c++
Practical unit testing in c & c++
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhar
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
 
Testing chapter updated (1)
Testing chapter updated (1)Testing chapter updated (1)
Testing chapter updated (1)
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Types of test tools
Types of test toolsTypes of test tools
Types of test tools
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
Programming skills for test automation
Programming skills for test automationProgramming skills for test automation
Programming skills for test automation
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Testing Tool Evaluation Criteria
Testing Tool Evaluation CriteriaTesting Tool Evaluation Criteria
Testing Tool Evaluation Criteria
 
Requirements Based Testing
Requirements Based TestingRequirements Based Testing
Requirements Based Testing
 
SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testing
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
 
Unit2 for st
Unit2 for stUnit2 for st
Unit2 for st
 
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
 

En vedette

Software Quality Assurance(Sqa) automated software testing
Software Quality Assurance(Sqa) automated software testingSoftware Quality Assurance(Sqa) automated software testing
Software Quality Assurance(Sqa) automated software testingREHMAT ULLAH
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterVijayChowthri Nagaprakasham
 
Automated Software Testing
Automated Software TestingAutomated Software Testing
Automated Software Testingarild2
 
Introduction to Testing Industry
Introduction to Testing IndustryIntroduction to Testing Industry
Introduction to Testing IndustrySergejus Bartos
 
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 Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework DesignsSauce Labs
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For AgileNaresh Jain
 

En vedette (7)

Software Quality Assurance(Sqa) automated software testing
Software Quality Assurance(Sqa) automated software testingSoftware Quality Assurance(Sqa) automated software testing
Software Quality Assurance(Sqa) automated software testing
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional Tester
 
Automated Software Testing
Automated Software TestingAutomated Software Testing
Automated Software Testing
 
Introduction to Testing Industry
Introduction to Testing IndustryIntroduction to Testing Industry
Introduction to Testing Industry
 
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 Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 

Similaire à Automated Software Testing Framework Training by Quontra Solutions

Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Andrey Oleynik
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptxpavelpopov43
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test CompleteVartika Saxena
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewMurageppa-QA
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsShivang100
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool OverviewANKUR-BA
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewSachin-QA
 
Automation testing
Automation testingAutomation testing
Automation testingArta Doci
 
An Automation Framework That Really Works
An Automation Framework That Really WorksAn Automation Framework That Really Works
An Automation Framework That Really WorksBasivi Reddy Junna
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesPunjab University
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-toolBabuDevanandam
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with AgileKen McCorkell
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemSundar Sritharan
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146vidhyyav
 

Similaire à Automated Software Testing Framework Training by Quontra Solutions (20)

Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Test automation
Test automationTest automation
Test automation
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
E2 e test with testcafe
E2 e test with testcafeE2 e test with testcafe
E2 e test with testcafe
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool Overview
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Automation Concepts
Automation ConceptsAutomation Concepts
Automation Concepts
 
Class17
Class17Class17
Class17
 
Automation testing
Automation testingAutomation testing
Automation testing
 
An Automation Framework That Really Works
An Automation Framework That Really WorksAn Automation Framework That Really Works
An Automation Framework That Really Works
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-tool
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with Agile
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
 

Plus de Quontra Solutions

Java Constructors with examples - Quontra Solutions
Java Constructors with examples  - Quontra SolutionsJava Constructors with examples  - Quontra Solutions
Java Constructors with examples - Quontra SolutionsQuontra Solutions
 
Oracle-12c Online Training by Quontra Solutions
 Oracle-12c Online Training by Quontra Solutions Oracle-12c Online Training by Quontra Solutions
Oracle-12c Online Training by Quontra SolutionsQuontra Solutions
 
Test Automation Framework Online Training by QuontraSolutions
Test Automation Framework Online Training by QuontraSolutionsTest Automation Framework Online Training by QuontraSolutions
Test Automation Framework Online Training by QuontraSolutionsQuontra Solutions
 
Automation with Selenium Presented by Quontra Solutions
Automation with Selenium Presented by Quontra SolutionsAutomation with Selenium Presented by Quontra Solutions
Automation with Selenium Presented by Quontra SolutionsQuontra Solutions
 
DataMining and OLAP Technology Concepts Presented By Quontra Solutions
DataMining and OLAP Technology Concepts Presented By Quontra SolutionsDataMining and OLAP Technology Concepts Presented By Quontra Solutions
DataMining and OLAP Technology Concepts Presented By Quontra SolutionsQuontra Solutions
 
Network security by quontra solutions uk
Network security by quontra solutions ukNetwork security by quontra solutions uk
Network security by quontra solutions ukQuontra Solutions
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsQuontra Solutions
 
Informatica Metadata Exchange Frequently Asked Questions by Quontra Solutions
Informatica Metadata Exchange Frequently Asked Questions by Quontra SolutionsInformatica Metadata Exchange Frequently Asked Questions by Quontra Solutions
Informatica Metadata Exchange Frequently Asked Questions by Quontra SolutionsQuontra Solutions
 
Informatica metadata exchange frequently asked questions by quontra solutions
Informatica metadata exchange frequently asked questions by quontra solutionsInformatica metadata exchange frequently asked questions by quontra solutions
Informatica metadata exchange frequently asked questions by quontra solutionsQuontra Solutions
 
Dataware house Introduction By Quontra Solutions
Dataware house Introduction By Quontra SolutionsDataware house Introduction By Quontra Solutions
Dataware house Introduction By Quontra SolutionsQuontra Solutions
 
Selenium overview ppt by quontra solutions
Selenium overview ppt by quontra solutionsSelenium overview ppt by quontra solutions
Selenium overview ppt by quontra solutionsQuontra Solutions
 

Plus de Quontra Solutions (12)

Java Constructors with examples - Quontra Solutions
Java Constructors with examples  - Quontra SolutionsJava Constructors with examples  - Quontra Solutions
Java Constructors with examples - Quontra Solutions
 
Oracle-12c Online Training by Quontra Solutions
 Oracle-12c Online Training by Quontra Solutions Oracle-12c Online Training by Quontra Solutions
Oracle-12c Online Training by Quontra Solutions
 
Test Automation Framework Online Training by QuontraSolutions
Test Automation Framework Online Training by QuontraSolutionsTest Automation Framework Online Training by QuontraSolutions
Test Automation Framework Online Training by QuontraSolutions
 
Enterprise java beans
Enterprise java beansEnterprise java beans
Enterprise java beans
 
Automation with Selenium Presented by Quontra Solutions
Automation with Selenium Presented by Quontra SolutionsAutomation with Selenium Presented by Quontra Solutions
Automation with Selenium Presented by Quontra Solutions
 
DataMining and OLAP Technology Concepts Presented By Quontra Solutions
DataMining and OLAP Technology Concepts Presented By Quontra SolutionsDataMining and OLAP Technology Concepts Presented By Quontra Solutions
DataMining and OLAP Technology Concepts Presented By Quontra Solutions
 
Network security by quontra solutions uk
Network security by quontra solutions ukNetwork security by quontra solutions uk
Network security by quontra solutions uk
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutions
 
Informatica Metadata Exchange Frequently Asked Questions by Quontra Solutions
Informatica Metadata Exchange Frequently Asked Questions by Quontra SolutionsInformatica Metadata Exchange Frequently Asked Questions by Quontra Solutions
Informatica Metadata Exchange Frequently Asked Questions by Quontra Solutions
 
Informatica metadata exchange frequently asked questions by quontra solutions
Informatica metadata exchange frequently asked questions by quontra solutionsInformatica metadata exchange frequently asked questions by quontra solutions
Informatica metadata exchange frequently asked questions by quontra solutions
 
Dataware house Introduction By Quontra Solutions
Dataware house Introduction By Quontra SolutionsDataware house Introduction By Quontra Solutions
Dataware house Introduction By Quontra Solutions
 
Selenium overview ppt by quontra solutions
Selenium overview ppt by quontra solutionsSelenium overview ppt by quontra solutions
Selenium overview ppt by quontra solutions
 

Dernier

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Dernier (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

Automated Software Testing Framework Training by Quontra Solutions

  • 1. 1 Automated Software Testing Framework Presented By www.QuontraSolutions.co.uk IT Courses Online Training Call Us: 20-3734-1498 Email: info@quontrasolutions.com
  • 2. 2 Topics Automated software testing. What? Why? Automated vs. Manual Common types of automated testing methods Automated software testing framework Summary
  • 3. 3 What is automated software testing? A process which covers: the use of software to control the execution of tests the comparison of actual outcomes to predicted outcomes the setting up of test preconditions other test control and test reporting functions.
  • 4. 4 Why testing is critical?
  • 5. 5 Why automated testing? A time savings translates directly into cost savings Improves testing productivity Improves accuracy Increases test coverage Does what manual testing cannot do
  • 6. 6 Effort and Cost  Let’s assume 6 test cases  Effort required to run all 6 manually => 10 min  Effort required to write unit tests for all 6 cases => 10 min  Effort required to run unit tests for all 6 cases => < 1 min  Number of testing iterations => 5  Total manual testing time => 50 min  Total unit testing time => 10 min Release Manual Test Auto Test Manual Test Cumulative 1 10 10 10 2 10 0 20 3 10 0 30 4 10 0 40 5 10 0 50
  • 7. 7 Automated vs. Manual testing Not all tests can be automated and most times is difficult to decide what to automate and what to manually test.
  • 8. Advantages 8 Automated Testing Manual Testing • Need to run a set of tests repeatedly • Test cases have to be run a small number of times • Helps performing "compatibility testing" (on different configurations and platforms) • Allows the tester to perform more specific tests •Long term costs are reduced • Short term testing costs are reduced • Possible to run regressions on a code that is continuously changing and in shorter time • The more time tester spends testing a module the grater chance to find real bugs
  • 9. 9 Disadvantages & other factors Automated Testing Manual Testing • It's more expensive to automate (bigger initial investments) • Manual tests can be very time consuming • You cannot automate everything, some tests still have to be done manually • For every release you must rerun the same set of tests which can be tiresome Other Factors • The performance of your test tools • The knowledge level of your testing team • The continuous growth of software to be tested
  • 10. 10 Common types of automated testing methods Monkey testing Capture / playback Code-based (Unit) testing Intelligent test automation
  • 11. 11 Monkey testing  Randomly selecting inputs from a large range of values and monitoring if exceptions are thrown.  For example, a monkey test can enter random strings into text boxes to ensure handling of all possible user input.  It applies not only for GUI or WEB testing, but also for Unit testing.
  • 12. Tools example Monkey – Android testing tools. The simplest way to use the monkey is with the following command, which will launch the application and send 500 pseudo-random events to it. $ adb shell monkey -v -p your.package.name 500 12
  • 13. 13 Capture / playback It’s a set of software programs that capture user inputs and stores it into a script for later replay. + Repeated testing can be performed quickly. + Does not require programming skills. - When the GUI changes, input sequences previously recorded may no longer be valid. - Difficult to determine location of bugs.
  • 14. Tools example 14 Autohotkey - Free keyboard macro program. Supports hotkeys for keyboard, mouse.
  • 15. 15 Code-based (Unit) testing Individual units of source code are tested to determine if they fit for use. Ideally, each test case is independent from the others + Bugs can be found in early development stage + Easy to test boundary cases - Not effective for the integrated system testing
  • 16. Unit test-case generation method Random Genetic Other… 16
  • 17. 17 Random Input values generated randomly Run with generated inputs User checks output values (pass/fail) and saves them for later automatic checking (Oracle).
  • 18. 18 Genetic This methods approach is to combine JML (JAVA model language) and genetic algorithms. JUnit is used as a test execution platform.
  • 19. Tools examples Parasoft Jtest is an automated Java testing and static code analysis product 19 TestGen is a collection of open-source tools that automatically generates unit test cases.
  • 20. 20 Intelligent test automation A model-based method for generating tests from a description of an application’s behavior (UML) + Models are simple to modify, so model-based tests are economical to maintain over the life of a project. - Most of these methods are researched only theoretically.
  • 21. OCL + UML 21 Inputs Constraints Inputs generator UML + OCL Tested software Oracle Outputs Constraints pass / fail Report
  • 22. 22 Automated testing framework A framework is an integrated system that sets the rules of automation of a specific product. This system integrates the function libraries, test data sources, object details and various reusable modules. The framework provides the basis of test automation and simplifies the automation effort.
  • 23. Common types of frameworks Data-driven testing Keyword-driven testing Hybrid testing 23
  • 24. 24 Data-driven testing Data-focused automation User defines just data sets to run tests with Data is defined in external data source and de-coupled from script Good fit for a single application testing, featuring multi-environment, big datasets, and rarely changing Test Cases + - Good usability and re-usability Quality and coverage strongly depends on the automation skills of implementing person Good test flow coverage Continuous maintenance issues due to a big amount of the code Multi-environment support Manual validation is required
  • 25. Example 25 Data set Test script
  • 26. 26 Keyword-driven testing Good fit for a multi-application testing featuring multi-environment, big datasets, and a big number of short and straight Test Cases Users de-compose test cases into reusable action keywords Non-coders are able to author automated test cases with action keywords + - Test development doesn’t require programming skills Due to keywords limit doesn’t allow covering very complicated Test Cases Good test flow coverage Meta-language specific training is required for staff Compact code Manual validation is required
  • 28. Hybrid testing 28 Combines the best of data-driven and keyword-driven testing:  User defines data sets to run tests with  User also defines flow control through action keywords  Data is separated from script and stored in external data source with action keywords + - Test Plan / Test Scenario creation doesn’t require programming or training on the Testing Tool Requires initial investment for design and implementation Compact code and scalable architecture of the framework Built-in strict validation
  • 29. 29 Framework components  Test generation (data and script generators).Tools might create specialized data such as randomized email messages, or populate databases etc.  System configuration. Tools might preserve or reproduce system parameters.  Test execution. Tools might operate the software itself, either simulating a user working through the GUI and using an alternative testable interface.  Oracles. An oracle is any mechanism by which we detect failure or success. Tools might automatically detect certain kinds of error conditions in a product.  Activity recording & coverage analysis. Tools might watch testing as it happens and retrospectively report what was and was not tested.  Test management. Tools might record test results, organize test ideas or metrics.
  • 30. 30 General framework structure
  • 31. Common functional automated test tools Tool + - IBM / Rational Functional Tester (RFT) •Built as Eclipse plug-in with full IDE, Java support and source management •Supports Web-based applications, .Net, Java, Siebel, SAP®, PowerBuilder, AJAX, Adobe Flex, Adobe PDF documents •Full GUI Object Map repository •License cost HP / Mercury Quick Test Pro (QTP) •Supports Web 2.0, GWT, Dojo, YUI, Silverlight, Flex, Ajax, JAVA, .NET applications •Full GUI Object Map repository •Seamless integration with QualityCenter •No IDE (changing in release 10) •License cost •VisualBasic scripting is limited Selenium RC & IDE •Good browser support •Good language support (JAVA, Ruby, C#) •Can be easily extended as JUnit suite •Open-source (no license cost) •No GUI Object repository •Only web-based application support •Tool support is limited 31
  • 33. 33 Summary Automated testing improves productivity, accuracy, increases test coverage, saves time and cost Need to decide what to automate and what to manually test The framework provides the basis of test automation and simplifies the automation effort.
  • 34. 34 More information  http://opuntia.cs.utep.edu/utjml/utest.html  http://www.ibm.com/developerworks/rational/library/591.html  http://www.satisfice.com/presentations/agileauto.pdf  http://automation-beyond.com/2009/05/30/test-automation-practices- recordplayback/  http://en.wikipedia.org/wiki/Test_automation
  • 36. QQuueessttiioonn ?????? 36 What is the benefit of automated testing? What are the common types of automated testing methods? What are the common types of frameworks? What components come to framework? What are the examples of automated testing tools?