SlideShare a Scribd company logo
1 of 34
Have a Free Demo with Us through Online 
Best Online IT Training Institute in United States 
1 
Quontra Solutions 
Automated 
software testing 
Call Us : 404-900-9988 
Email: info@quontrasolutions.com
Topics 
0Automated software testing. What? Why? 
0Automated vs. Manual 
0 Common types of automated testing methods 
0Automated software testing framework 
0 Summary 
2
What is automated software 
testing? 
A process which covers: 
0the use of software to control the execution of 
tests 
0the comparison of actual outcomes to 
predicted outcomes 
0the setting up of test preconditions 
0other test control and test reporting functions. 
3
Why testing is critical? 
4
Why automated testing? 
0A time savings translates directly into cost savings 
0 Improves testing productivity 
0 Improves accuracy 
0 Increases test coverage 
0 Does what manual testing cannot do 
5
Effort and Cost 
0 Let’s assume 6 test cases 
0 Effort required to run all 6 manually => 10 min 
0 Effort required to write unit tests for all 6 cases => 10 min 
0 Effort required to run unit tests for all 6 cases => < 1 min 
0 Number of testing iterations => 5 
0 Total manual testing time => 50 min 
0 Total unit testing time => 10 min 
6 
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
Automated vs. Manual testing 
0Not all tests can be automated and most 
times is difficult to decide what to automate 
and what to manually test. 
7
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
Disadvantages & other factors 
9 
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
Common types of automated 
testing methods 
0Monkey testing 
0 Capture / playback 
0 Code-based (Unit) testing 
0 Intelligent test automation 
10
Monkey testing 
0 Randomly selecting inputs from a large range of 
values and monitoring if exceptions are thrown. 
0 For example, a monkey test can enter random strings 
into text boxes to ensure handling of all possible user 
input. 
0 It applies not only for GUI or WEB testing, but also for 
Unit testing. 
11
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. 
12
Capture / playback 
0 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. 
13
Tools example 
Autohotkey - Free keyboard macro program. 
Supports hotkeys for keyboard, mouse. 
14
Code-based (Unit) testing 
0 Individual units of source code are tested to 
determine if they fit for use. 
0 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 
15
Unit test-case generation method 
0 Random 
0Genetic 
0Other… 
16
Random 
0 Input values generated randomly 
0 Run with generated inputs 
0User checks output values (pass/fail) and 
saves them for later automatic checking 
(Oracle). 
17
Genetic 
This methods approach is to combine JML (JAVA 
model language) and genetic algorithms. JUnit is 
used as a test execution platform. 
18
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.
Intelligent test automation 
0A 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. 
20
OCL + UML 
21 
Inputs Constraints 
Inputs 
generator 
UML + 
OCL 
Tested 
software 
OOrraaccllee 
Outputs Constraints 
pass / fail 
RReeppoorrtt
Automated testing framework 
0A framework is an integrated system that sets 
the rules of automation of a specific product. 
0 This system integrates the function libraries, 
test data sources, object details and various 
reusable modules. 
0 The framework provides the basis of test 
automation and simplifies the automation 
effort. 
22
Common types of frameworks 
0 Data-driven testing 
0 Keyword-driven testing 
0 Hybrid testing 
23
Data-driven testing 
0 Data-focused automation 
0User defines just data sets to run tests with 
0 Data is defined in external data source and de-coupled 
from script 
0Good fit for a single application testing, featuring 
multi-environment, big datasets, and rarely 
changing Test Cases 
24 
+ - 
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
Keyword-driven testing 
0Good fit for a multi-application testing featuring 
multi-environment, big datasets, and a big number 
of short and straight Test Cases 
0Users de-compose test cases into reusable action 
keywords 
0Non-coders are able to author automated test 
cases with action keywords 
26 
+ - 
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 
0 Combines the best of data-driven and keyword-driven 
testing: 
0 User defines data sets to run tests with 
0 User also defines flow control through action keywords 
0 Data is separated from script and stored in external data 
source with action keywords 
28 
+ - 
Test Plan / Test Scenario creation doesn’t require 
programming or training on the Testing Tool Requires initial investment for 
design and implementation of 
the framework 
Compact code and scalable architecture 
Built-in strict validation
Framework components 
0 Test generation (data and script generators).Tools might create 
specialized data such as randomized email messages, or populate 
databases etc. 
0 System configuration. Tools might preserve or reproduce system 
parameters. 
0 Test execution. Tools might operate the software itself, either 
simulating a user working through the GUI and using an alternative 
testable interface. 
0 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. 
0 Activity recording & coverage analysis. Tools might watch testing as it 
happens and retrospectively report what was and was not tested. 
0 Test management. Tools might record test results, organize test ideas 
or metrics. 
29
General framework structure 
30
Common functional automated test tools 
Tool + - 
IBM / 
•Built as Eclipse plug-in with full IDE, 
Rational 
Functional 
Tester (RFT) 
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
Summary 
0Automated testing improves productivity, 
accuracy, increases test coverage, saves time and 
cost 
0Need to decide what to automate and what to 
manually test 
0 The framework provides the basis of test 
automation and simplifies the automation effort. 
33
TThhaannkk yyoouu!! 
34

More Related Content

Viewers also liked

Automated Software Testing
Automated Software TestingAutomated Software Testing
Automated Software TestingRay Nicholus
 
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQMIBM Rational
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Leonard Fingerman
 
Software Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsKMS Technology
 
Automation Open Source tools
Automation Open Source toolsAutomation Open Source tools
Automation Open Source toolsQA Club Kiev
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual TestingDirecti Group
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testingMakan Singh
 
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
 
Coding standards and guidelines
Coding standards and guidelinesCoding standards and guidelines
Coding standards and guidelinesbrijraj_singh
 
Different type of_software_testing - copy
Different type of_software_testing - copyDifferent type of_software_testing - copy
Different type of_software_testing - copyYogita patil
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test AutomationPekka Klärck
 
Automated Software Testing
Automated Software TestingAutomated Software Testing
Automated Software Testingarild2
 
Coding and testing in Software Engineering
Coding and testing in Software EngineeringCoding and testing in Software Engineering
Coding and testing in Software EngineeringAbhay Vijay
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software TestingNishant Worah
 
Automated vs manual testing
Automated vs manual testingAutomated vs manual testing
Automated vs manual testingKanoah
 

Viewers also liked (16)

Automated Software Testing
Automated Software TestingAutomated Software Testing
Automated Software Testing
 
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Software Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing Trends
 
Automation Open Source tools
Automation Open Source toolsAutomation Open Source tools
Automation Open Source tools
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of 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
 
Coding standards and guidelines
Coding standards and guidelinesCoding standards and guidelines
Coding standards and guidelines
 
Different type of_software_testing - copy
Different type of_software_testing - copyDifferent type of_software_testing - copy
Different type of_software_testing - copy
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Automated Software Testing
Automated Software TestingAutomated Software Testing
Automated Software Testing
 
Coding and testing in Software Engineering
Coding and testing in Software EngineeringCoding and testing in Software Engineering
Coding and testing in Software Engineering
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
 
Automated vs manual testing
Automated vs manual testingAutomated vs manual testing
Automated vs manual testing
 

More from QUONTRASOLUTIONS

Big data introduction by quontra solutions
Big data introduction by quontra solutionsBig data introduction by quontra solutions
Big data introduction by quontra solutionsQUONTRASOLUTIONS
 
Cognos Online Training with placement Assistance - QuontraSolutions
Cognos Online Training with placement Assistance - QuontraSolutionsCognos Online Training with placement Assistance - QuontraSolutions
Cognos Online Training with placement Assistance - QuontraSolutionsQUONTRASOLUTIONS
 
Business analyst overview by quontra solutions
Business analyst overview by quontra solutionsBusiness analyst overview by quontra solutions
Business analyst overview by quontra solutionsQUONTRASOLUTIONS
 
Business analyst overview by quontra solutions
Business analyst overview by quontra solutionsBusiness analyst overview by quontra solutions
Business analyst overview by quontra solutionsQUONTRASOLUTIONS
 
Software Quality Assurance training by QuontraSolutions
Software Quality Assurance training by QuontraSolutionsSoftware Quality Assurance training by QuontraSolutions
Software Quality Assurance training by QuontraSolutionsQUONTRASOLUTIONS
 
Introduction to software quality assurance by QuontraSolutions
Introduction to software quality assurance by QuontraSolutionsIntroduction to software quality assurance by QuontraSolutions
Introduction to software quality assurance by QuontraSolutionsQUONTRASOLUTIONS
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra SolutionsQUONTRASOLUTIONS
 
Introduction to j2 ee patterns online training class
Introduction to j2 ee patterns online training classIntroduction to j2 ee patterns online training class
Introduction to j2 ee patterns online training classQUONTRASOLUTIONS
 
Saas overview by quontra solutions
Saas overview  by quontra solutionsSaas overview  by quontra solutions
Saas overview by quontra solutionsQUONTRASOLUTIONS
 
Sharepoint taxonomy introduction us
Sharepoint taxonomy introduction   usSharepoint taxonomy introduction   us
Sharepoint taxonomy introduction usQUONTRASOLUTIONS
 
Introduction to the sharepoint 2013 userprofile service By Quontra
Introduction to the sharepoint 2013 userprofile service By QuontraIntroduction to the sharepoint 2013 userprofile service By Quontra
Introduction to the sharepoint 2013 userprofile service By QuontraQUONTRASOLUTIONS
 
Introduction to SharePoint 2013 REST API
Introduction to SharePoint 2013 REST APIIntroduction to SharePoint 2013 REST API
Introduction to SharePoint 2013 REST APIQUONTRASOLUTIONS
 
Performance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsPerformance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsQUONTRASOLUTIONS
 
Obiee introduction building reports by QuontraSolutions
Obiee introduction building reports by QuontraSolutionsObiee introduction building reports by QuontraSolutions
Obiee introduction building reports by QuontraSolutionsQUONTRASOLUTIONS
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usQUONTRASOLUTIONS
 

More from QUONTRASOLUTIONS (20)

Big data introduction by quontra solutions
Big data introduction by quontra solutionsBig data introduction by quontra solutions
Big data introduction by quontra solutions
 
Java constructors
Java constructorsJava constructors
Java constructors
 
Cognos Online Training with placement Assistance - QuontraSolutions
Cognos Online Training with placement Assistance - QuontraSolutionsCognos Online Training with placement Assistance - QuontraSolutions
Cognos Online Training with placement Assistance - QuontraSolutions
 
Business analyst overview by quontra solutions
Business analyst overview by quontra solutionsBusiness analyst overview by quontra solutions
Business analyst overview by quontra solutions
 
Business analyst overview by quontra solutions
Business analyst overview by quontra solutionsBusiness analyst overview by quontra solutions
Business analyst overview by quontra solutions
 
Cognos Overview
Cognos Overview Cognos Overview
Cognos Overview
 
Hibernate online training
Hibernate online trainingHibernate online training
Hibernate online training
 
Java j2eeTutorial
Java j2eeTutorialJava j2eeTutorial
Java j2eeTutorial
 
Software Quality Assurance training by QuontraSolutions
Software Quality Assurance training by QuontraSolutionsSoftware Quality Assurance training by QuontraSolutions
Software Quality Assurance training by QuontraSolutions
 
Introduction to software quality assurance by QuontraSolutions
Introduction to software quality assurance by QuontraSolutionsIntroduction to software quality assurance by QuontraSolutions
Introduction to software quality assurance by QuontraSolutions
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions
 
Introduction to j2 ee patterns online training class
Introduction to j2 ee patterns online training classIntroduction to j2 ee patterns online training class
Introduction to j2 ee patterns online training class
 
Saas overview by quontra solutions
Saas overview  by quontra solutionsSaas overview  by quontra solutions
Saas overview by quontra solutions
 
Sharepoint taxonomy introduction us
Sharepoint taxonomy introduction   usSharepoint taxonomy introduction   us
Sharepoint taxonomy introduction us
 
Introduction to the sharepoint 2013 userprofile service By Quontra
Introduction to the sharepoint 2013 userprofile service By QuontraIntroduction to the sharepoint 2013 userprofile service By Quontra
Introduction to the sharepoint 2013 userprofile service By Quontra
 
Introduction to SharePoint 2013 REST API
Introduction to SharePoint 2013 REST APIIntroduction to SharePoint 2013 REST API
Introduction to SharePoint 2013 REST API
 
Performance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsPerformance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutions
 
Obiee introduction building reports by QuontraSolutions
Obiee introduction building reports by QuontraSolutionsObiee introduction building reports by QuontraSolutions
Obiee introduction building reports by QuontraSolutions
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra us
 
Qa by quontra us
Qa by quontra   usQa by quontra   us
Qa by quontra us
 

Recently uploaded

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
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 

Recently uploaded (20)

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
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
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
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 

Automated Software Testing Training By Quontra Solutions

  • 1. Have a Free Demo with Us through Online Best Online IT Training Institute in United States 1 Quontra Solutions Automated software testing Call Us : 404-900-9988 Email: info@quontrasolutions.com
  • 2. Topics 0Automated software testing. What? Why? 0Automated vs. Manual 0 Common types of automated testing methods 0Automated software testing framework 0 Summary 2
  • 3. What is automated software testing? A process which covers: 0the use of software to control the execution of tests 0the comparison of actual outcomes to predicted outcomes 0the setting up of test preconditions 0other test control and test reporting functions. 3
  • 4. Why testing is critical? 4
  • 5. Why automated testing? 0A time savings translates directly into cost savings 0 Improves testing productivity 0 Improves accuracy 0 Increases test coverage 0 Does what manual testing cannot do 5
  • 6. Effort and Cost 0 Let’s assume 6 test cases 0 Effort required to run all 6 manually => 10 min 0 Effort required to write unit tests for all 6 cases => 10 min 0 Effort required to run unit tests for all 6 cases => < 1 min 0 Number of testing iterations => 5 0 Total manual testing time => 50 min 0 Total unit testing time => 10 min 6 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 0Not all tests can be automated and most times is difficult to decide what to automate and what to manually test. 7
  • 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. Disadvantages & other factors 9 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 0Monkey testing 0 Capture / playback 0 Code-based (Unit) testing 0 Intelligent test automation 10
  • 11. Monkey testing 0 Randomly selecting inputs from a large range of values and monitoring if exceptions are thrown. 0 For example, a monkey test can enter random strings into text boxes to ensure handling of all possible user input. 0 It applies not only for GUI or WEB testing, but also for Unit testing. 11
  • 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. 12
  • 13. Capture / playback 0 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. 13
  • 14. Tools example Autohotkey - Free keyboard macro program. Supports hotkeys for keyboard, mouse. 14
  • 15. Code-based (Unit) testing 0 Individual units of source code are tested to determine if they fit for use. 0 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 15
  • 16. Unit test-case generation method 0 Random 0Genetic 0Other… 16
  • 17. Random 0 Input values generated randomly 0 Run with generated inputs 0User checks output values (pass/fail) and saves them for later automatic checking (Oracle). 17
  • 18. Genetic This methods approach is to combine JML (JAVA model language) and genetic algorithms. JUnit is used as a test execution platform. 18
  • 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. Intelligent test automation 0A 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. 20
  • 21. OCL + UML 21 Inputs Constraints Inputs generator UML + OCL Tested software OOrraaccllee Outputs Constraints pass / fail RReeppoorrtt
  • 22. Automated testing framework 0A framework is an integrated system that sets the rules of automation of a specific product. 0 This system integrates the function libraries, test data sources, object details and various reusable modules. 0 The framework provides the basis of test automation and simplifies the automation effort. 22
  • 23. Common types of frameworks 0 Data-driven testing 0 Keyword-driven testing 0 Hybrid testing 23
  • 24. Data-driven testing 0 Data-focused automation 0User defines just data sets to run tests with 0 Data is defined in external data source and de-coupled from script 0Good fit for a single application testing, featuring multi-environment, big datasets, and rarely changing Test Cases 24 + - 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. Keyword-driven testing 0Good fit for a multi-application testing featuring multi-environment, big datasets, and a big number of short and straight Test Cases 0Users de-compose test cases into reusable action keywords 0Non-coders are able to author automated test cases with action keywords 26 + - 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 0 Combines the best of data-driven and keyword-driven testing: 0 User defines data sets to run tests with 0 User also defines flow control through action keywords 0 Data is separated from script and stored in external data source with action keywords 28 + - Test Plan / Test Scenario creation doesn’t require programming or training on the Testing Tool Requires initial investment for design and implementation of the framework Compact code and scalable architecture Built-in strict validation
  • 29. Framework components 0 Test generation (data and script generators).Tools might create specialized data such as randomized email messages, or populate databases etc. 0 System configuration. Tools might preserve or reproduce system parameters. 0 Test execution. Tools might operate the software itself, either simulating a user working through the GUI and using an alternative testable interface. 0 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. 0 Activity recording & coverage analysis. Tools might watch testing as it happens and retrospectively report what was and was not tested. 0 Test management. Tools might record test results, organize test ideas or metrics. 29
  • 31. Common functional automated test tools Tool + - IBM / •Built as Eclipse plug-in with full IDE, Rational Functional Tester (RFT) 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. Summary 0Automated testing improves productivity, accuracy, increases test coverage, saves time and cost 0Need to decide what to automate and what to manually test 0 The framework provides the basis of test automation and simplifies the automation effort. 33