Professional Documents
Culture Documents
QA Basic Testing IntroductionV06 - 20012021
QA Basic Testing IntroductionV06 - 20012021
Introduction
QA-Introduction
1. Quality
2. Quality Control vs Quality
Assurance
3. Software Testing
4. Testing Principles
5. Testing Life’s cycle
6. Software Defects
7. Defect’s Life Cycle
8. Severity and Priority
9. Defect Reporting
Quality
What is Quality?
[ISO 9000:2000]
What is Software Quality?
developed software.
Mc Call’s Quality Factors
Mc Call’s Quality Factors
operation program.
• Usability: The effort required to learn, operate, prepare input, and interpret
output of a program.
• Integrity: The extent to which illegal access to the programs and data of a
in other applications.
• Procedure definition
o Configuration Management
o Nonconformities Report
o Testing
o Formal Inspections
Software Quality Assurance Activities
• Standards Definitions
o Standards documentation
o Standards design
o Standards Code
Software Quality Assurance Activities
o Configuration
Management
Software Quality Assurance Characteristics
• Manager responsibility
compare the product's quality against the requirements and standards meet
• Work responsibility.
Verification
vs Validation
What is Verification in Software Testing?
• Are we accessing the data right (in the right place; in the right way).
standards.
What is Verification in Software Testing?
life cycle.
[ISTQB]
What is Validation in Software Testing?
completed.
What is Validation in Software Testing?
environment.
What is Validation in Software Testing?
requirements [ISTQB]
Difference
between SQA
and SQC
Quality Assurance Quality Control
Definition QA is a set of activities QC is a set of activities for
for ensuring quality in the ensuring quality in products.
processes by which The activities focus on
products are developed. identifying defects in the
actual products produced.
Focus on QA aims to prevent QC aims to identify (and
defects with a focus on correct) defects in the
the process used to finished product. Quality
make the product. It is a control, therefore, is a
proactive quality process. reactive process.
Goal The goal of QA is to The goal of QC is to identify
improve development defects after a product is
and test processes so developed and before it's
that defects do not arise released.
when the product is being
developed.
Quality Assurance Quality Control
How Establish a good quality Finding & eliminating
management system and sources of quality problems
the assessment of its through tools & equipment
adequacy. Periodic so that customer's
conformance audits of the requirements are continually
operations of the system. met.
What Prevention of quality The activities or techniques
problems through planned used to achieve and
and systematic activities maintain the product quality,
including documentation. process and service.
Responsibi Everyone on the team Quality control is usually
lity involved in developing the the responsibility of a
product is responsible for specific team that tests the
quality assurance. product for defects.
Quality Assurance Quality Control
Example Verification is an example of Validation/Software Testing is
QA an example of QC
•Finding bugs
•Preventing defects
[ISTQB]
Testing
Principles
1. Testing shows presence of defects
Testing can show the defects are present, but cannot prove that
testing we can use risks and priorities to focus testing efforts. So,
[ISTQB]
3. Early testing
same set of test cases will no longer be able to find any new bugs. To
test cases regularly and new and different tests need to be written to
defects. [ISTQB]
6. Testing is context dependent
[ISTQB]
7. Absence of errors fallacy
If the system built is unusable and does not fulfil the user’s
On-going
Audits and improvements White-box
sampling Performance
Test testing
Software
Coordinate
QA Process
Control Testing
Sanity Test
[ISTQB]
1. Planning and Control
Planning is the activity of defining the objectives of testing and the
• Evaluating testability
combining the test cases in a particular order and including any other
information needed for test execution, the environment is set up and the
• Verifying and updating bi-directional traceability between the test basis and
test cases
discrepancy.
4. Evaluating Exit Criteria and Reporting
It is the activity where test execution is assessed against the defined
objective.
• Checking test logs against the exit criteria specified in test planning
should be changed
been completed.
Activities:
• Checking which planned deliverables have been delivered
• Closing incident reports or raising change records for any that remain
open
• Finalizing and archiving test ware, the test environment and the test
2. Title: What is being tested on a short a test item and its environment prior to
sentence. execution.
2
1
4
5. Steps: Execution guidance
5 6
Test Cases Characteristics
[ISTQB]
Good Test Cases
• Peer review.
To find out more watch this video – How to Write a
Test Case
Source: https://www.guru99.com/test-case.html
How to write a Test Case
software
known as a defect.
[ISTQB]
Failure: If under certain circumstances these defects get executed by
the tester during the testing then it results into the failure which is
[ISTQB]
Error, Defect and Failure
incorrect result.
program.
• Human error
• Environmental conditions
• Changes in hardware
starts when defect is found and ends when a defect is closed, after ensuring
it’s not reproduced. Defect life cycle is related to the bug found during
testing.
Defect’s Life Cycle
Cycle
1. Defect is found and the tester proceeds to created it. Its status is
‘OPEN’.
‘ASSIGNED’
3. The developer proceeds to review the bug assigned. If the issue is
considered bug; the dev. starts to work on the defect in order to have fix
it; but If the developer feels that the bug is not genuine, he rejects the
validate the resolution and agrees that the appropriate resolution has
“CLOSED”.
6. If the issue was not fixed, then the tester proceeds to re-open the bug,
• Fixed: “Fixed” implies that there really was a problem in the code and
• Wont Fix: The problem described is a bug which will never be fixed.
• Duplicate: The problem is a duplicate of an existing bug.
and will at least put that bug number in the description field.
• Worksforme or Cannot Reproduce: All attempts at
reproducing this bug were futile, and reading the code produces
found a defect per se, but that the issue is a new feature or
1) Severity
2) Priority
It is the extent to which the defect can affect the software. In other words it defines the
impact that a given defect has on the system. For example: If an application or web
page crashes when a remote link is clicked, in this case clicking the remote link by an
user is rare but the impact of application crashing is severe. So the severity is high but
priority is low.
[ISTQB]
The severity is absolute. It is the measure of the impact in the
The severity does not change during the defect life cycle.
Priority
It defines the order in which we should resolve a defect. How much important
is to fix the defect before the next release. Should we fix it now, or can it
wait? This priority status is set by the tester to the developer mentioning the
time frame to fix the defect. If high priority is mentioned then the developer has
to fix it at the earliest. The priority status is set based on the customer
page of the website, then the priority is high and severity is low to fix it.
[ISTQB]
The priority is relative. It is a subjective evaluation base on the importance
of the issue found vs. the pending activities and the defined schedule. It is a
This bug is considered as low severity because it has not impact on the
functionalities of the program, everything will work correctly with or without it.
company and a wrong logo could cause a bad impression of the company.
Activity
each of them.