Unit 4 ST V2V
Unit 4 ST V2V
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
Sr. Question Marks
No
1 Give defect classification in S-15, 2 marks
detail
2 Explain defect classification S-15, 4 marks
3 Give the defect classification S-16, W-17, 4
and its meaning marks
4 List all defect classification. S-17, 4 marks
Also describe any one defect
in brief
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
5 Explain defect classification S-18, 4 marks
with an example
• Defect Classification
• Defect in a software project reflects it inability or
inefficiency to meet the specified requirements
• purpose of testing is to trace out defects so a tester
needs to be aware about different forms of defects
• Types of Defects: defects are mainly classified as:
– Severity Basis
– Probability Basis
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
– Priority Basis
1. Severity Basis:
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Severity: it is the degree of impact.
• Defect severity: - degree of particular defect to impact on a
software product or its working adversely.
• Types of defects based on severity metric:
• Critical:
- Needs immediate attention
and treatment.
- Affects critical and
essential functionalities.
- Affects s/w or product on
large scale (failure or system crash).
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Major:
- Affect core or major functionalities.
- Does not result into complete failure bring several major
functions to rest.
–Minor:
• Produces minor impact and does not have significant
influence.
• Results may be seen in product’s working but it may
not stop users to execute the task, which may be
carried out using some other alternative.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
–Trivial:
• They have no impact on working of product.
• Can be ignored or skipped such as spelling or
grammatical mistake.
• Illustrating with an Example:
– A spelling mistake on a website’s homepage serves as a
perfect illustration. From a functionality standpoint, the
software operates flawlessly. Hence, the severity of this
defect is low.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
– However, the homepage represents the brand’s image. A
spelling mistake there can tarnish the brand’s reputation.
the severity of this defect is major.
– The same is true when you create a logo. Due to its high
visibility and potential impact on brand perception, the
priority to fix this defect becomes
high.
2. Probability Basis:
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Probability = Likelihood/chances
–High: high probability of getting traced out by
almost all users of the application.
–Medium: half of the users are able to trace out the
defect.
–Low: detected by few users or not detected by any
user.
3. Priority Basis:
• Defects are seen from business perspective.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Priority is decided based on current needs
and demand of the business.
–High: defects need to be corrected as soon
as possible in the same build.
–Medium: defects next to high priority – may
be addressed in next version.
–Low: does not need to be corrected
individually /may not be corrected with
other defects.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Other
defects:
–Extra
Defects:
defects due
to implementation of requirements other than
specified ones.
–Missing Defects: arise due to not fulfilling any
requirement specified by user.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
–Wrong Defects: defects due to misunderstanding
between specified requirements and what we
understood. (misunderstood or misinterpreted)
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Causes Of Defects
1. Human Factor: It is a human tendency to make
mistakes.
2. Communication Failure:
miscommunication, lack of
communication,
incorrect
communication arise
when requirements are
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
incomplete or code is modified for the second time.
3. Unreal Development Timeframe: when tester does
not have enough information about schedule which
could lead to bad quality or defective service.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
4. Poor Coding Practices: lack of validation and
missing errors lead to defects in code which
becomes difficult to debug.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
5. Buggy third-party tools: third party tools may
contain defects which can cause bugs in current
software.
6. Lack of Skilled Testing: it is important to have
seriousness for testing and enough skills for it.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
Sr. Question Marks
No
1 Describe steps in defect S-15, 4 marks
management process
2 What is defect management S-16, 2 marks
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
3 Explain defect management W-15, S-16,
process with proper diagram W17, S-18, W-
18
4 marks
• Defect Management Process:
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• It is also cost effective to fix defects found during
early stages.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
Sr. Question Marks
No
1 Illustrate defect prevention S-15, 4 marks
process of defect fixing process
2 Explain defect prevention cycle W-18, 4 marks
1. Defect Prevention
• Best mechanism to remove defects in early stages
• This is cost effective.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• But it is difficult to eliminate all defects at early
stages but their impact can be minimized.
• Steps involved in defect prevention:
– Identify Critical Risk: risks having big impact on the
system.
– Estimate Expected Impact:
calculate amount of
financial impact.
– Minimize Expected Impact
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
: try to minimize or eliminate the risks.
2. Deliverable Baseline
When deliverables (system, product
or document) reaches its predefined
milestones then we can say deliverable
is a baseline.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• If deliverable moves from one stage to another then
defect in the system also carried forward to next
milestone or stage.
• As issues are identified after completion of earlier
milestones they are called as defects.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• It is almost impossible to remove all defects but
defects can be identifies at earlier stages before they
become costlier.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Steps involved in Defect Discovery:
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
Fix the defect: higher
priority defects are fixed
first and lower priority
defects are fixed at the end.
Report the resolution: it is
the development team’s responsibility to ensure that
testing team is aware when the defects are going for a fix
and how the defect has been fixed.
5. Process Improvement
• Though the defects are resolved on the basis of
priority it does not mean that lower priority defects
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
are not important and not much impacting the
system.
• From process point of view all defects are identified
are same as a critical defect.
• For process improvement everyone in the project
needs to look back and check from where the defect
was originated.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Based on that, changes are made in validation
process, baselining document, review process.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
1 Draw the diagram of S-15, 4 marks
defect/bug life cycle and
explain its process.
2 Explain defect life cycle to W-15,W-17, 4
identity status of defect with marks
proper labelled diagram
3 Explain the defect tracing with S-16, 8 marks
defect/bug life cycle diagram
and the different defect states
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
4 Describe defect life cycle with S-17,S-18, 4
neat diagram marks
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
–It varies from organization to organization and
project to project.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Defect Life Cycle includes following stages :
a. New : When a defect is logged and posted for the first
time.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
development lead who will further move the defect to
developer.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
e. Retest : At this stage the tester do the retesting of the
changed code which developer has given to him to
check whether the defect got fixed or not.
f. Reopened : If the bug still exists even after the bug is
fixed by the developer, the tester changes the status to
"reopened". The bug goes through the life cycle once
again.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
g. Deferred : The bug, changed to deferred state means
the bug is expected to be fixed in next releases. the bug
may not have major effect on the software.
h. Rejected : If the developer feels that the bug is not
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
i. Duplicate : If the bug is repeated twice or the two bugs
mention the same concept of the bug, then the
recent/latest bug status is changed to "duplicate“.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
3 What do you mean by ‘Defect S-16, 4 marks
Impact’? Explain how to
estimate defect impact
• Estimate Expected Impact of a Defect
• Defect impact means problems which may arise when
an application with defect is executed.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Once the critical risks are
identified, the financial impact of
each risk should be estimated.
The expected impact of a risk
(E) is calculated as :
E=P*I
Where
P = Probability of the risk becoming a problem and
I = Impact in dollars if the risk becomes a problem.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• The risks should be prioritized by the expected
impact and the degree to which the expected
impact can be reduced.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• For example, if the risk is that the software system will
abnormally terminate, then the average cost of correcting
an abnormal termination is calculated and multiplied by
the expected number of abnormal terminations associated
with this risk
• For the annual calculation, the number of events should
be the number of events per year.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
1 Explain techniques to find defect W-15,W-17, 2
in short marks
2 List the different techniques to W-16, 4 marks
find defects.
Describe any two of them
3 Describe techniques for finding S-17, 4 marks
defects.
4 List and explain techniques for W-17, 4 marks
finding bugs.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
5 What are different techniques for S-18, W-18, 4
finding defects? Explain in detail marks
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
Techniques for Finding Defects
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Defects are found either by:
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
1. preplanned activities or
2. by accidents.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
–Eg. A code review, walkthroughs, inspection, and
audits.
2. Dynamic Technique
–Testing in which system components are
physically executed to identify defects.
–Eg. Execution of test cases.
–The product is evaluated and mark it as pass or
fail.
3. Operational Technique
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
–An operational system produces deliverable
containing a defect found by users, customers, or
control personnel.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
•
• The defects in the software applications are detected
and resolved through various testing methods,
techniques and tools.
Any serious bug can harm the reputation of
developer as well as the organization.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
•
ensure transparency and clear communication between
them.
– When initially discovered, one can confuse defects with
an undocumented requirements change, a user error, or a
misunderstanding.
– it is important that the defect is quickly identified and
brought to the developers' attention.
– testers generate a formal defect report to state the
problem as clearly as possible.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
- A defect report should:
• Be well written.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• The report should also enable stakeholders to
make wise decisions about the defects that
need to be fixed.
• Importance of Defect Reports:
– It documents an irregularity discovered
during testing.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
– It includes all the information
needed to reproduce the
problem, including the author,
release/build number,
open/close dates, problem
area, problem description, test
environment, defect type, how
it was detected, who detected
it, priority, severity, status, and
more.
– Defect reports contain details
of actions in the software application
that don't provide expected results.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Other reasons that make defect reporting important
are:
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
handle and fix similar problems and defects if
they arise again in the future.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
2 What are different points to be W-16, 4 marks
noted in reporting defects
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Things to include while Creating Defect Report
• To ensure that the defect report is perfect and
conveys all the necessary information, it is
essential to include some important details in
it.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Summary of the condition in which the testing
was executed
• Eg. Tester testing a webpage should know the
browser to be used
Steps Taken to Resolve issues
Report should contain
• a clear breakdown of exactly what was done to
detect and resolve the issues.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• information regarding the used methods,
techniques and tools should be included.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
–Do not make subjective statements and provide as
many facts as possible, without including random
information.
• Steps to Reproduce the Defects:
–While filing the defect one should add the proper
steps to reproduce the defect and should not rush
the process.
• Defect Tagging:
–Add the references to the specifications or other
related defect number while adding the defect.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Review the Report :
–Before submitting the report developer or
stakeholder should review the report for any
errors and discrepancies.
–This validates the quality as well as the
information of the report.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
Sr. Question Marks
No
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
1 Write contents of defect W-15,W-17, 4
template marks
2 Explain the of defect template W-16, S-18, 4
with its attributes. marks
3 Enlist any six attributes of S-17, 4 marks
defect, describe with suitable
example
4 Explain the of defect report W-18, 4 marks
template with its attributes.
Free Study Material Buy Ty Diploma Buy Sy Diploma Whatsapp Group for Study Material
• Defect Template
• DEFECT REPORT is a document that identifies and
describes a defect detected by a tester.
• The purpose of a defect report is to state the problem
clearly.