Defects, Testcases and Interview Questions
Defects, Testcases and Interview Questions
Manual testing
Contents:
Any feature which is not working according to customer requirement is called as defect.
OR
Deviation from the requirement is called as defect.
1) Wrong implementation
When the developer writes a wrong code for the feature.
2) Missing implementation
When the developers misses to write the code for a feature.
3) Extra Implementation
When the developers write the code for a feature which is not mentioned in the requirement.
Manual Testing Notes 2023-24
Test Engineer
1) TE finds the defect
2) Prepares defect report
3) Puts status of defect as new/open
4) Sends the report to the development lead
Development Lead
1) DL reads the report and understands the problem
2) Identifies the developer who did the mistake
3) Changes the status to assigned
4) Sends it to development engineer
Development Engineer
Manual Testing Notes 2023-24
1) DE reads the report and understands the problem
2) Goes to source code and fix the code
3) Change the status of defect to fixed
4) Sends the report to TE with cc to DL
Test Engineer
1) TE reads the report and understands the problem
2) Retests the fixed bug
3) If the defect is fixed, the status of defect will be changed to closed
4) If the defect is not fixed, the status of the defect will be changed to reopen
5) Send the report back to development engineer with cc to TL and DL
It is decided based on the impact of the defect on th customer business at different levels. That is
Blockers, Critical, Major and Minor
Example-1:
Case-1:
Sender is unable to send the money to another user. This is a blocker defect
Case-2:
Money is transferred to receiver but it is not displaying data and time. This is critical
Case-3:
Money is transferred, date and time is also displayed, but the sender does not see the confirmation
message. This is major
Case-4: The confirmation spelling in the confirmation message is not correct. This is minor
Example-2:
Case-1: Click on compose button and blank page is displayed. This is blocker
Case-2: Click on compose and attachment is not working. This is critical
Case-3: Click on compose and cancel button is not working. This is major
Case-4: Click on compose and send button colour is faded. This is minor
Generally all the blocker and critical defects are high priority. All major defects are medium priority and
minor defects are low priority. But rarely critical can become low priority and minor can become high
priority
Severity Priority
It is decided based on the impact of defect on It is decided based on the importance given to the
customer business defect
The different levels are blocker, critical, major, The different levels are high, medium, low
minor
It is driven by functionality It is driven by business value
Manual Testing Notes 2023-24
1) TL is the one who will be attending the customer management and development meetings. SO he
should be aware of all the defects in the projects to avoid embarrassment
2) To get the visibility that we are working
When the TE raises the defect and the DL assigns it to the developer, the apart from fixing the defect,
the developer may put the defect in to the following status
1) Reject
2) Cannot be fixed
3) Postpone
4) Not Reproducible
5) Duplicate
6) RFE- Request for Enhancement
- When two TE’s testing the same module, raise the same defect
- If the TE finds the defect in the software and if it is not a part of the requirement, then it will be set as
RFE
Before the TE prepares a defect report and logs the bug, he should make sure that it is not a duplicate
and should search in the defect tracking tool by entering certain keywords of the defect
Note: If the TE finds the defect after searching in DTT, then if the defect is in
1) New/open status -> Don’t log
2) Assigned status -> Don’t log
3) Fixed status -> Reopen
4) Closed status -> Create new defect
1) Send the test data, test platform (OS, browser, version), also the credentials
2) Send the screenshot along with the proper steps (procedure) to reproduce the bug
3) Send the screen recording of the defect
4) Give a demo to the developer about the defect
5) Inform to test lead about the happenings
Defect tracking tool is a software which is mainly used to track the defects, store the defects and
communicate the defects to the developer in an organized way.
1) Bugzilla
2) Bugzero
3) Buggini
4) JIRA
5) ALM
6) MANTIS
Introducing defects to the software intentionally to test the efficiency of the TE is called as defect
seeding
Defect missed by the TE and found by the customer in the production is called as defect leakage
When the time is very less, and there are too many pending defects to be fixed, then we categorize the
defects in to different status
1) All the critical and blocker defects for the customer business will be moved to ASSIGN
2) Those defects, which has to be fixed but not immediately are moved to POSTPOME
3) Few defects which are not very important are moved to CANNOT BE FIXED
This type of grouping the defects is called as DEFECT TRIAGE
The meeting in which the defect triage is performed is called as DEFECT TRIAGE MEETING
Manual Testing Notes 2023-24
It is a document which covers all the possible scenarios for specific requirement
1) When the developers are busy in building the product, testing team should write the test case
2) When the customers add features, the test cases should also be updated
3) When the developers modify the features, there should be modification done in the test cases also
1) There will be no consistency in the test execution (The way we perform testing over a period of time
will not be the same)
2) Quality of testing will depend on memory power of TE
3) Quality of testing depends on mood of TE
4) Quality of testing varies from person to person
Manual Testing Notes 2023-24
1) We look in to the header of the test case and try to understand the requirement for which the test
case is written then we try to find
a) Missing scenarios
b) Repeated scenarios
c) Wrong scenarios
2) We will check whether scenarios are organized properly or not, so that when it is executed it will
take less time
3) We will check whether it is simple to understand or not so that when it is given to new engineer, he
should be able to execute it without any questions
4) We look In to the header of the test case and try to check whether
a) All the attributes are covered or not
b) We try to check whether all attributes are having relevant content or not
5) We check whether test case format is according to the standard defined in the project
Sl. No Test case name Step number Reviewer comments Severity Author comments
Manual Testing Notes 2023-24
It is a centralized place where all the test cases are stored in the form of test suite
It is a tool which is used to store the test cases in an organized manner in the centralized place.
Where do we write the test cases?
1. Excel
2. Word
3. Test case tools (JIRA, QC, ALM….)
Manual Testing Notes 2023-24
Manual Testing Notes 2023-24
Manual Testing Notes 2023-24
It is a document which makes sure that each and every requirement given by the customer has got
atleast one test case written.
Types of Traceability matrix
1. Forward traceability matrix
2. Reverse Traceability matrix
3. Bi-directional traceability matrix
We will map the requirements with the test cases to make sure that each and every requirement has
got at least one test case written
This is prepared before test case execution
We will map the test cases written with the requirement. Once after the test case execution is done, to
make sure that the product which is developed and tested is really according to customer requirement,
to make sure that we are building Right product. This is done after the test case execution
This section covers why we are preparing the test plan or what is the aim of preparing the test plan
States what kind of testing should be done based on the type of application.
EX: Web security testing, globalization testing need not be performed for all applications
We are planning means we are assuming that we are gonna do many task based on that we promised
customer because of few reasons if we are not able to do certain task that becomes a risk.
To face the risk, we have the plan, that plan is nothing but mitigation plan/backup plan
Everybody will be there in the project till the end is an assumption
Someone quits and new fellow might miss lot of defects and this is a risk
The backup plan is that new engineers should refer the test case and test product with secondary
owner’s help.
This section covers what each engineer should do in different stages of test life cycle
This section covers when exactly which activity should start and end according to company promised
date and customer requested date
This section covers, in future , when we find defects, how we should track it and also it covers what
should be the procedure, status, severity and priority
1. Procedure to track the defects
2. Severity
3. Priority
4. Defect tracking tool used
This section covers how we go about setting up the test environment in future
12.1 Procedure to install the build
-------
-------
12.2 Hardware
12.2.1 Server side
HP star cat 1500
------
------
12.2.2 Client side
6 computers with following configurations
-> 8 GB RAM
-> Quad RAM
-> Intel
12.3 Software
12.3.1 Server side
Os: Linux
Web server - TOMCAT
App Server - Web sphere
DB server - Oracle
12.2.2 Client side
OS: Win 10, Win 8
Browser - Mozilla and chrome
Entry Criteria -> The list of criteria that should be met to start the activity
Manual Testing Notes 2023-24
Exit Criteria -> The list of criteria that should be met to say that the activity is completed
This section tells what features to be automated and what not and the complete automation technology
1. Features to be tested
2. Features not to be tested
3. Automation frame work - DJANGO
4. Automation tool - Selenium
Covers which, output / documents that has to be provided by testing team at the end of test cycle
1. Test case
2. Traceability matrix
3. Test execution report
4. Defect report
5. Release notes
6. Graphs and Matrices
Release notes:
Along with the product, we send release notes to the customer that is called Release notes. It contains
1. List of known defects/ open defects which are there in the product
2. List of platforms in which product is tested
3. List of platforms in which the product is not tested
4. Number of bugs found in previous release and fixed in current release
5. List of features which are added /modified/removed
6. Version number and installation steps
It is the past data collected between the two. So that we can analyse and take better decisions to
perform future activities
This section covers formats for all the documents that we are going to prepare in the complete cycle
Manual Testing Notes 2023-24
Manual Testing Notes 2023-24