SlideShare a Scribd company logo
1

Software Testing and Quality
Assurance Live Project Training
By TOPS Technologies..
http://www.tops-int.com/live-project-training-software-testing.html
Index
2

1.
2.
3.
4.
5.

Software Testing
Testing Types
Testing Techniques
Software Testing Check List
Responsibilities of a Tester

http://www.tops-int.com/live-project-training-software-testing.html
QA, QC Testing
3

 Testing is often confused with the processes of quality control and

quality assurance. Testing is the process of creating, implementing and
evaluating tests.
 If you are shopping for a new television, you can call that process
"testing for the best TV for you"... it's kind of pretentious, but that is
what you're doing as you compare prices and features to find what
will work best for you.
 Testing usually has a limited scope and duration – you're just looking
at TVs, and only in your town, you're not going to spend a year
shopping, are you?

http://www.tops-int.com/live-project-training-software-testing.html
4

 Quality control is a refinement of testing, involving the formal and

systematic use of testing and a precise definition of what quality
means for the purposes of the test.
 You aren't just testing; you are testing and then doing something with
the results. Quality control is used for testing a product or output of a
process, with the test measuring the subject's ability to meet a certain
benchmark or threshold of quality.
 The tests usually take the form of "does this product meet
requirement X?", and are often pass-fail. Testing -- and by extension
quality control -- is reactive; that is, you test to find deviations from a
standard. If you systematically employ a formal battery of tests on a
consistent schedule, you will be able to pass a product with fairly
stable quality.
http://www.tops-int.com/live-project-training-software-testing.html
5

 The shortcoming here is that this kind of testing does nothing to

improve the quality of output; as far as user-experience is concerned,
you're just running in place. Testing and quality control does nothing
to raise the level of quality beyond perhaps tweaking the standard to
"raise the bar".
 Quality assurance goes beyond quality control to examine the
processes that create and shape the product: quality assurance looks
at the quality of output, as well as at the quality of the inputs.

QA Vs Testing
 QA is traditionally responsible for the measurement and auditing of

the processes used to make a product.
http://www.tops-int.com/live-project-training-software-testing.html
6

 Not only is a Quality Assurance "team" not the same as a test team,

they shouldn't even exist in the same organization.
 Quality Assurance evaluates or establishes processes, sets up
measurement programs to evaluate processes, and identifies
weaknesses in those processes so that the errors do not happen
again.
 This includes analyzing the tools, metrics, and processes used by
Program Management (including specification processes),
Development and Testing. The industry has created laughable titles
like SQA Tester which make no sense to me. I looked at
monster.com recently for QA positions (I'm happy here, but I like to
know what's out there), and virtually every "QA" position is really a
testing position
http://www.tops-int.com/live-project-training-software-testing.html
Software Testing Types
7

Black Box testing
 Black Box testing refers to the technique of testing a system with no

knowledge of the internals of the system.
 Black Box testers do not have access to the source code and are
oblivious of the system architecture.
 A Black Box tester typically interacts with a system through a user
interface by providing inputs and examining outputs without
knowing where and how the inputs were operated upon.
 In Black Box testing, target software is exercised over a range of
inputs and the outputs are observed for correctness.

Advantages :
http://www.tops-int.com/live-project-training-software-testing.html
8

 Efficient Testing — Well suited and efficient for large code

segments or units.
 Unbiased Testing — clearly separates user's perspective from
developer's perspective through separation of QA and
Development responsibilities.
 Non intrusive — code access not required.
 Easy to execute — can be scaled to large number of moderately
skilled testers with no knowledge of implementation, programming
language, operating systems or networks.

Disadvantages :
http://www.tops-int.com/live-project-training-software-testing.html
9

 Localized Testing — Limited code path coverage since only a limited

number of test inputs are actually tested.
 Inefficient Test Authoring — without implementation information,
exhaustive input coverage would take forever and would require
tremendous resources.
 Blind Coverage — cannot control targeting code segments or paths
which may be more error prone than others.

White Box Testing
 White Box Testing refers to the technique of testing a system with

knowledge of the internals of the system. White Box testers have
access to the source code and are aware of the system
architecture.
http://www.tops-int.com/live-project-training-software-testing.html
10

Advantages
 Increased Effectiveness — Crosschecking design decisions and

assumptions against source code may outline a robust design, but
the implementation may not align with the design intent.
 Full Code Pathway Capable — all the possible code pathways can
be tested including error handling, resource dependencies, and
additional internal code logic/flow.
 Early Defect Identification — Analyzing source code and developing
tests based on the implementation details enables testers to find
programming errors quickly.
 Reveal Hidden Code Flaws — access to source code improves
understanding and uncovering unintended hidden behavior of
program modules.

Disadvantages
http://www.tops-int.com/live-project-trainingsoftware-testing.html
11

 Difficult To Scale — requires intimate knowledge of target system,

testing tools and coding languages, and modeling. It suffers for
scalability of skilled and expert testers.
 Difficult to Maintain — requires specialized tools such as source
code analyzers, debuggers, and fault injectors.
 Cultural Stress — the demarcation between developer and testers
starts to blur which may become a cultural stress.
 Highly Intrusive — requires code modification has been done using
interactive debuggers, or by actually changing the source code. This
may be adequate for small programs; however, it does not scale
well to larger applications. Not useful for networked or distributed
systems.
http://www.tops-int.com/live-project-training-software-testing.html
Difference between Black Box and White Box Testing
12

 Synonyms for black - box include: behavioral, functional, opaque-








box, and closed-box.
Synonyms for white - box include: structural, glass-box and clearbox.
Generally black box testing will begin early in the software
development i.e. in requirement gathering phase itself. But for white
box testing approach one has to wait for the designing has to
complete.
We can use black testing strategy almost any size either it may be
small or large. But white box testing will be effective only for small
lines of codes or piece of codes.
In white box testing we can not test Performance of the application.
But in Black box testing we can do it.

http://www.tops-int.com/live-project-training-software-testing.html
Gray Box Testing
13

Gray Box Testing refers to the technique of testing a system with
limited knowledge of the internals of the system.

Advantages :
 Offers Combined Benefits — Leverage strengths of both Black Box

and White Box testing wherever possible.
 Non Intrusive — Gray Box does not rely on access to source code or
binaries. Instead, based on interface definition, functional
specifications, and application architecture.
 Intelligent Test Authoring — Based on the limited information
available, a Gray Box tester can author intelligent test scenarios,
especially around data type handling, communication protocols and
exception handling.
http://www.tops-int.com/live-project-training-software-testing.html
14

 Unbiased Testing — The demarcation between testers and developer

is still maintained. The handoff is only around interface definitions and
documentation without access to source code or binaries.

Disadvantages
 Partial Code Coverage — Since the source code or binaries are not

available, the ability to traverse code paths is still limited by the tests
deduced through available information. The coverage depends on the
tester authoring skills.
 Defect Identification — Inherent to distributed application is the
difficulty associated in defect identification. Gray Box testing is still at
the mercy of how well systems throw exceptions and how well are
these exceptions propagated with a distributed Web Services
environment.
http://www.tops-int.com/live-project-training-software-testing.html
Testing Techniques
15

Black box testing techniques
Equivalence Partitioning.
Boundary Value Analysis.
Cause-Effect Graphing.
Error-Guessing.

Equivalence Partitioning
Equivalence partitioning is a software testing related technique with
the goal:
1. To reduce the number of test cases to a necessary minimum.
2. To select the right test cases to cover all possible scenarios.
Following example of a function has the pass parameter "month" of a
date. The valid range for the month is 1 to 12, standing for January to
December. This valid range is called a partition. In this example there
are two further partitions of invalid ranges. The first invalid partition
would be <= 0 and the second invalid partition would be >= 13.
http://www.tops-int.com/live-project-training-software-testing.html
16

........ -2 -1 0 1 ....................... 12 13 14 15 ...............
--------------------------------------------------------- invalid partition 1 valid partition invalid partition 2
It is sufficient to select one test case out of each partition to check
the behavior of the program.
 The values within one partition are considered to be "equivalent".
Thus the number of test cases can be reduced considerably.
 Equivalence partitioning is no stand alone method to determine test
cases. It has to be supplemented by boundary value analysis.
Boundary Value Analysis
 Boundary value analysis is a software testing related technique to
http://www.tops-int.com/live-project-training-software-testing.html
17

 determine test cases covering known areas of frequent problems at

the boundaries of software component input ranges.
To set up boundary value analysis test cases you first have to
determine which boundaries you have at the interface of a software
component. This has to be done by applying the equivalence
partitioning technique. Boundary value analysis and equivalence
partitioning are inevitably linked together. For the example of the
month in a date you would have the following partitions:
......... -2 -1 0 1 ...................... 12 13 14 15 .....
-------------- --------------------------------------invalid partition 1 valid partition invalid partition 2
http://www.tops-int.com/live-project-training-software-testing.html
18

 Applying boundary value analysis you have to select now a test case

at each side of the boundary between two partitions.
 The boundary value analysis can have 6 text cases: n, n-1, n+1 for the
upper limit and n, n-1, n+1 for the lower limit.

White-Box testing techniques
a. Statement coverage
b. Decision coverage
c. Condition coverage
d. Decision-condition coverage
e. Multiple condition coverage
f. Basis Path Testing
g. Loop testing
h. Data flow testing
http://www.tops-int.com/live-project-training-software-testing.html
Software Testing Check List
19

Sometimes testers get confused when they have assigned testing
task. They don't know from where they should start the testing.

Checklist covers the following points:
Step 1 - User Interface Testing (GUI Testing)
Step 2 - Functional Testing
Step 3 - Interface Testing
Step 4 - Compatibility Testing
Step 5 - Security Testing
Step 6 - Performance testing

http://www.tops-int.com/live-project-training-software-testing.html
Responsibilities of a Tester
20

a.
b.
c.
d.

e.
f.
g.
h.
i.
j.

Understand project requirements.
Develops and implements Test Plans that will address the testing
needs of functional, regression, integration and system testing.
Update Test Case document.
Conduct Testing including Smoke, Sanity, and Execute the Test
cases.
Update the Test Result document.
Attend the Regular client calls.
Log / File the defects in Defect tracking tool / Bug Report.
Verify defects.
Discuss doubts/queries with Development Team / Client.
Implements software quality assurance standards and processes.

http://www.tops-int.com/live-project-training-software-testing.html
Contact Us for Software Testing Training
21

Ahmedabad (C.G Road)

Ahmedabad (Maninagar)

Address :
903 Samedh Complex,
Next to Associated Petrol
Pump,
CG Road,
Ahmedabad 380009.

Address :
401 Amruta Arcade 4th Floor,
Maninagar Char Rasta,
Nr Rly Station
Maninagar.

Contact Us : 99747 55006

Contact Us : 99748 63333

http://www.tops-int.com/live-project-training-software-testing.html
http://www.tops-int.com/live-project-training-software-testing.html

More Related Content

PPT
Testing concepts ppt
PPTX
Software quality assurance
PPTX
Quality Assurance and Software Testing
PPT
Software Quality Assurance
PDF
Software testing
PPTX
Software testing life cycle
PPTX
Agile Testing - presentation for Agile User Group
PPTX
Testing concepts ppt
Software quality assurance
Quality Assurance and Software Testing
Software Quality Assurance
Software testing
Software testing life cycle
Agile Testing - presentation for Agile User Group

What's hot (20)

PPTX
Defect prevention
PPTX
Introduction to software testing
PPTX
Agile Testing Strategy
PPTX
Why testing is important ?
PPTX
Software testing principles
PPTX
SOFTWARE TESTING
PDF
Unit I Software Testing and Quality Assurance
PPTX
Software testing and process
PPT
Manual testing concepts course 1
PPT
Software Testing Fundamentals
PDF
Software testing methods, levels and types
PPTX
Software testing ppt
PPT
Software quality
PDF
DevOps
PPT
Software Testing Life Cycle
PDF
Software Testing Techniques: An Overview
PPTX
Sanity testing and smoke testing
PPTX
Software testing
PPT
Software Testing Process
PPTX
The V Model
Defect prevention
Introduction to software testing
Agile Testing Strategy
Why testing is important ?
Software testing principles
SOFTWARE TESTING
Unit I Software Testing and Quality Assurance
Software testing and process
Manual testing concepts course 1
Software Testing Fundamentals
Software testing methods, levels and types
Software testing ppt
Software quality
DevOps
Software Testing Life Cycle
Software Testing Techniques: An Overview
Sanity testing and smoke testing
Software testing
Software Testing Process
The V Model
Ad

Viewers also liked (13)

PPTX
Software testing and quality assurance
PPTX
QA overview
PPTX
Software Fault, Error, and Failure
PDF
Partitioning tables and indexing them
PPT
Software Verification & Validation
PPT
3.2 partitioning methods
PPT
Verification and Validation in Software Engineering SE19
PPTX
Software Testing or Quality Assurance
PPT
Verification & Validation
PPTX
Quality Assurance in Software Ind.
PPT
Quality Assurance Vs Quality Control
PPTX
Software Testing Basics
DOCX
Concept of Failure, error, fault and defect
Software testing and quality assurance
QA overview
Software Fault, Error, and Failure
Partitioning tables and indexing them
Software Verification & Validation
3.2 partitioning methods
Verification and Validation in Software Engineering SE19
Software Testing or Quality Assurance
Verification & Validation
Quality Assurance in Software Ind.
Quality Assurance Vs Quality Control
Software Testing Basics
Concept of Failure, error, fault and defect
Ad

Similar to Software testing and quality assurance (20)

PPTX
White box & black box testing
PPT
Testing chapter updated (1)
PPTX
white box and black box testing in software engineering
PPTX
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
PPTX
UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4
PPT
System Testing by system analysis design.ppt
PPTX
black box testing
PPT
Software testing
PPTX
System Testing.pptx
PPTX
Software testing strategies
PPT
Testing, black ,white and gray box testing
PDF
PPT
Software Testing Presentation in Cegonsoft Pvt Ltd...
PPTX
Software_Testing_Techniques_undergraduate.pptx
PDF
Best software testing course
PPTX
19 Software Testing Techniques presentation file.pptx
PDF
Understanding Black Box Testing – Types, Techniques, and Examples.pdf
PPTX
Introduction to Software Testing Techniques
PDF
Paper 06
PPTX
Software testing
White box & black box testing
Testing chapter updated (1)
white box and black box testing in software engineering
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4
System Testing by system analysis design.ppt
black box testing
Software testing
System Testing.pptx
Software testing strategies
Testing, black ,white and gray box testing
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software_Testing_Techniques_undergraduate.pptx
Best software testing course
19 Software Testing Techniques presentation file.pptx
Understanding Black Box Testing – Types, Techniques, and Examples.pdf
Introduction to Software Testing Techniques
Paper 06
Software testing

More from TOPS Technologies (20)

PPSX
Learn java objects inheritance-overriding-polymorphism
PDF
Surat tops conducted one hour seminar on “corporate basic skills”
PPT
Word press interview question and answer tops technologies
PPT
How to install android sdk
PPTX
Basics in software testing
PPTX
Learn advanced java programming
PPTX
How to create android applications
PPTX
What is ui element in i phone developmetn
PPTX
How to create android applications
PPTX
Java live project training
PPTX
Software testing live project training
PPTX
Web designing live project training
PPTX
Php live project training
PPT
iPhone training in ahmedabad by tops technologies
PPT
Php training in ahmedabad
PPT
Java training in ahmedabad
PPT
08 10-2013 gtu projects - develop final sem gtu project in i phone
PPT
GTU PHP Project Training Guidelines
PPT
GTU Asp.net Project Training Guidelines
PPT
GTU Guidelines for Project on JAVA
Learn java objects inheritance-overriding-polymorphism
Surat tops conducted one hour seminar on “corporate basic skills”
Word press interview question and answer tops technologies
How to install android sdk
Basics in software testing
Learn advanced java programming
How to create android applications
What is ui element in i phone developmetn
How to create android applications
Java live project training
Software testing live project training
Web designing live project training
Php live project training
iPhone training in ahmedabad by tops technologies
Php training in ahmedabad
Java training in ahmedabad
08 10-2013 gtu projects - develop final sem gtu project in i phone
GTU PHP Project Training Guidelines
GTU Asp.net Project Training Guidelines
GTU Guidelines for Project on JAVA

Recently uploaded (20)

PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Complications of Minimal Access Surgery at WLH
PDF
Insiders guide to clinical Medicine.pdf
PDF
Business Ethics Teaching Materials for college
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Institutional Correction lecture only . . .
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Pre independence Education in Inndia.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Classroom Observation Tools for Teachers
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Complications of Minimal Access Surgery at WLH
Insiders guide to clinical Medicine.pdf
Business Ethics Teaching Materials for college
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pharma ospi slides which help in ospi learning
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Institutional Correction lecture only . . .
Module 4: Burden of Disease Tutorial Slides S2 2025
O7-L3 Supply Chain Operations - ICLT Program
TR - Agricultural Crops Production NC III.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pre independence Education in Inndia.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Classroom Observation Tools for Teachers
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
2.FourierTransform-ShortQuestionswithAnswers.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

Software testing and quality assurance

  • 1. 1 Software Testing and Quality Assurance Live Project Training By TOPS Technologies.. http://www.tops-int.com/live-project-training-software-testing.html
  • 2. Index 2 1. 2. 3. 4. 5. Software Testing Testing Types Testing Techniques Software Testing Check List Responsibilities of a Tester http://www.tops-int.com/live-project-training-software-testing.html
  • 3. QA, QC Testing 3  Testing is often confused with the processes of quality control and quality assurance. Testing is the process of creating, implementing and evaluating tests.  If you are shopping for a new television, you can call that process "testing for the best TV for you"... it's kind of pretentious, but that is what you're doing as you compare prices and features to find what will work best for you.  Testing usually has a limited scope and duration – you're just looking at TVs, and only in your town, you're not going to spend a year shopping, are you? http://www.tops-int.com/live-project-training-software-testing.html
  • 4. 4  Quality control is a refinement of testing, involving the formal and systematic use of testing and a precise definition of what quality means for the purposes of the test.  You aren't just testing; you are testing and then doing something with the results. Quality control is used for testing a product or output of a process, with the test measuring the subject's ability to meet a certain benchmark or threshold of quality.  The tests usually take the form of "does this product meet requirement X?", and are often pass-fail. Testing -- and by extension quality control -- is reactive; that is, you test to find deviations from a standard. If you systematically employ a formal battery of tests on a consistent schedule, you will be able to pass a product with fairly stable quality. http://www.tops-int.com/live-project-training-software-testing.html
  • 5. 5  The shortcoming here is that this kind of testing does nothing to improve the quality of output; as far as user-experience is concerned, you're just running in place. Testing and quality control does nothing to raise the level of quality beyond perhaps tweaking the standard to "raise the bar".  Quality assurance goes beyond quality control to examine the processes that create and shape the product: quality assurance looks at the quality of output, as well as at the quality of the inputs. QA Vs Testing  QA is traditionally responsible for the measurement and auditing of the processes used to make a product. http://www.tops-int.com/live-project-training-software-testing.html
  • 6. 6  Not only is a Quality Assurance "team" not the same as a test team, they shouldn't even exist in the same organization.  Quality Assurance evaluates or establishes processes, sets up measurement programs to evaluate processes, and identifies weaknesses in those processes so that the errors do not happen again.  This includes analyzing the tools, metrics, and processes used by Program Management (including specification processes), Development and Testing. The industry has created laughable titles like SQA Tester which make no sense to me. I looked at monster.com recently for QA positions (I'm happy here, but I like to know what's out there), and virtually every "QA" position is really a testing position http://www.tops-int.com/live-project-training-software-testing.html
  • 7. Software Testing Types 7 Black Box testing  Black Box testing refers to the technique of testing a system with no knowledge of the internals of the system.  Black Box testers do not have access to the source code and are oblivious of the system architecture.  A Black Box tester typically interacts with a system through a user interface by providing inputs and examining outputs without knowing where and how the inputs were operated upon.  In Black Box testing, target software is exercised over a range of inputs and the outputs are observed for correctness. Advantages : http://www.tops-int.com/live-project-training-software-testing.html
  • 8. 8  Efficient Testing — Well suited and efficient for large code segments or units.  Unbiased Testing — clearly separates user's perspective from developer's perspective through separation of QA and Development responsibilities.  Non intrusive — code access not required.  Easy to execute — can be scaled to large number of moderately skilled testers with no knowledge of implementation, programming language, operating systems or networks. Disadvantages : http://www.tops-int.com/live-project-training-software-testing.html
  • 9. 9  Localized Testing — Limited code path coverage since only a limited number of test inputs are actually tested.  Inefficient Test Authoring — without implementation information, exhaustive input coverage would take forever and would require tremendous resources.  Blind Coverage — cannot control targeting code segments or paths which may be more error prone than others. White Box Testing  White Box Testing refers to the technique of testing a system with knowledge of the internals of the system. White Box testers have access to the source code and are aware of the system architecture. http://www.tops-int.com/live-project-training-software-testing.html
  • 10. 10 Advantages  Increased Effectiveness — Crosschecking design decisions and assumptions against source code may outline a robust design, but the implementation may not align with the design intent.  Full Code Pathway Capable — all the possible code pathways can be tested including error handling, resource dependencies, and additional internal code logic/flow.  Early Defect Identification — Analyzing source code and developing tests based on the implementation details enables testers to find programming errors quickly.  Reveal Hidden Code Flaws — access to source code improves understanding and uncovering unintended hidden behavior of program modules. Disadvantages http://www.tops-int.com/live-project-trainingsoftware-testing.html
  • 11. 11  Difficult To Scale — requires intimate knowledge of target system, testing tools and coding languages, and modeling. It suffers for scalability of skilled and expert testers.  Difficult to Maintain — requires specialized tools such as source code analyzers, debuggers, and fault injectors.  Cultural Stress — the demarcation between developer and testers starts to blur which may become a cultural stress.  Highly Intrusive — requires code modification has been done using interactive debuggers, or by actually changing the source code. This may be adequate for small programs; however, it does not scale well to larger applications. Not useful for networked or distributed systems. http://www.tops-int.com/live-project-training-software-testing.html
  • 12. Difference between Black Box and White Box Testing 12  Synonyms for black - box include: behavioral, functional, opaque-     box, and closed-box. Synonyms for white - box include: structural, glass-box and clearbox. Generally black box testing will begin early in the software development i.e. in requirement gathering phase itself. But for white box testing approach one has to wait for the designing has to complete. We can use black testing strategy almost any size either it may be small or large. But white box testing will be effective only for small lines of codes or piece of codes. In white box testing we can not test Performance of the application. But in Black box testing we can do it. http://www.tops-int.com/live-project-training-software-testing.html
  • 13. Gray Box Testing 13 Gray Box Testing refers to the technique of testing a system with limited knowledge of the internals of the system. Advantages :  Offers Combined Benefits — Leverage strengths of both Black Box and White Box testing wherever possible.  Non Intrusive — Gray Box does not rely on access to source code or binaries. Instead, based on interface definition, functional specifications, and application architecture.  Intelligent Test Authoring — Based on the limited information available, a Gray Box tester can author intelligent test scenarios, especially around data type handling, communication protocols and exception handling. http://www.tops-int.com/live-project-training-software-testing.html
  • 14. 14  Unbiased Testing — The demarcation between testers and developer is still maintained. The handoff is only around interface definitions and documentation without access to source code or binaries. Disadvantages  Partial Code Coverage — Since the source code or binaries are not available, the ability to traverse code paths is still limited by the tests deduced through available information. The coverage depends on the tester authoring skills.  Defect Identification — Inherent to distributed application is the difficulty associated in defect identification. Gray Box testing is still at the mercy of how well systems throw exceptions and how well are these exceptions propagated with a distributed Web Services environment. http://www.tops-int.com/live-project-training-software-testing.html
  • 15. Testing Techniques 15 Black box testing techniques Equivalence Partitioning. Boundary Value Analysis. Cause-Effect Graphing. Error-Guessing. Equivalence Partitioning Equivalence partitioning is a software testing related technique with the goal: 1. To reduce the number of test cases to a necessary minimum. 2. To select the right test cases to cover all possible scenarios. Following example of a function has the pass parameter "month" of a date. The valid range for the month is 1 to 12, standing for January to December. This valid range is called a partition. In this example there are two further partitions of invalid ranges. The first invalid partition would be <= 0 and the second invalid partition would be >= 13. http://www.tops-int.com/live-project-training-software-testing.html
  • 16. 16 ........ -2 -1 0 1 ....................... 12 13 14 15 ............... --------------------------------------------------------- invalid partition 1 valid partition invalid partition 2 It is sufficient to select one test case out of each partition to check the behavior of the program.  The values within one partition are considered to be "equivalent". Thus the number of test cases can be reduced considerably.  Equivalence partitioning is no stand alone method to determine test cases. It has to be supplemented by boundary value analysis. Boundary Value Analysis  Boundary value analysis is a software testing related technique to http://www.tops-int.com/live-project-training-software-testing.html
  • 17. 17  determine test cases covering known areas of frequent problems at the boundaries of software component input ranges. To set up boundary value analysis test cases you first have to determine which boundaries you have at the interface of a software component. This has to be done by applying the equivalence partitioning technique. Boundary value analysis and equivalence partitioning are inevitably linked together. For the example of the month in a date you would have the following partitions: ......... -2 -1 0 1 ...................... 12 13 14 15 ..... -------------- --------------------------------------invalid partition 1 valid partition invalid partition 2 http://www.tops-int.com/live-project-training-software-testing.html
  • 18. 18  Applying boundary value analysis you have to select now a test case at each side of the boundary between two partitions.  The boundary value analysis can have 6 text cases: n, n-1, n+1 for the upper limit and n, n-1, n+1 for the lower limit. White-Box testing techniques a. Statement coverage b. Decision coverage c. Condition coverage d. Decision-condition coverage e. Multiple condition coverage f. Basis Path Testing g. Loop testing h. Data flow testing http://www.tops-int.com/live-project-training-software-testing.html
  • 19. Software Testing Check List 19 Sometimes testers get confused when they have assigned testing task. They don't know from where they should start the testing. Checklist covers the following points: Step 1 - User Interface Testing (GUI Testing) Step 2 - Functional Testing Step 3 - Interface Testing Step 4 - Compatibility Testing Step 5 - Security Testing Step 6 - Performance testing http://www.tops-int.com/live-project-training-software-testing.html
  • 20. Responsibilities of a Tester 20 a. b. c. d. e. f. g. h. i. j. Understand project requirements. Develops and implements Test Plans that will address the testing needs of functional, regression, integration and system testing. Update Test Case document. Conduct Testing including Smoke, Sanity, and Execute the Test cases. Update the Test Result document. Attend the Regular client calls. Log / File the defects in Defect tracking tool / Bug Report. Verify defects. Discuss doubts/queries with Development Team / Client. Implements software quality assurance standards and processes. http://www.tops-int.com/live-project-training-software-testing.html
  • 21. Contact Us for Software Testing Training 21 Ahmedabad (C.G Road) Ahmedabad (Maninagar) Address : 903 Samedh Complex, Next to Associated Petrol Pump, CG Road, Ahmedabad 380009. Address : 401 Amruta Arcade 4th Floor, Maninagar Char Rasta, Nr Rly Station Maninagar. Contact Us : 99747 55006 Contact Us : 99748 63333 http://www.tops-int.com/live-project-training-software-testing.html