Manual Testing Notes
Manual Testing Notes
CONTENTS
2. Software Testing
a. White Box Testing (WBT)
b. Black Box Testing (BBT)
4. Test Plan
5. Test Case
1
SDLC
Models in SDLC
Some of the models in SDLC are listed below:
1. Waterfall Model
2. Spiral Model
3.V Model
4. Prototype Model
5. Agile Model
I. WATERFALL MODEL
It is a traditional model
There are 7 stages in Waterfall model:
2
SDLC
1. Requirement Collection
Here the Business Analyst/Product Analyst collects the requirement from the
customer.
Requirement is collected in the form of CRS. CRS is converted to SRS –
meaning business language is converted to software language by BA/PA.
BA — Business Analyst
BA converts the CRS into SRS in service-based company
PA — Product Analyst
PA converts the CRS into SRS in product-based company
* Architect will do technical feasibility study and tell which technology to use in
order to develop the software. Any Sr Developer can become an Architect.
3. Design
Here we do High Level Design (HLD) and Low-Level Design (LLD) of the software
4. Coding
* Here we start building the software/ writing the code for the product
* It is done by Sr Developers, Jr Developers and Freshers
5. Testing
* After coding we start testing wherein, we identify defects in the software
* It is done by test engineers
1. They will always see the product from positive point of view, they will never see
the product from negative point of view
2. They will always have over confidence that whatever they have built, works
3. They consume the time allocated for testing to build the product and they say time
is not there to test
4. Even though they know that bugs are there, they might hide it and not fix it
4
SDLC
6. Installation
* After the software is developed and tested, it is installed in the customer's place
for using
* It is done by Installation Engineers
7. Maintenance
After the software is installed and used, if the customer finds any defect, the software
company will fix it according to the agreement i.e., if the defect is found in the
Maintenance period, then the software company will fix the defect free of cost.
Advantages
i. Requirement/ Design doesn’t change, so we get a stable product
ii. Quality of software is good
Disadvantages
i. Backtracking is not possible. For example, we can’t change the requirement once
the design stage is completed means the requirement is freezed and hence this model
is not flexible.
ii. Requirement is not tested, design is not tested, if there is bug in the requirement,
it will flow till the end and leads to lot of rework.
iii. It is traditional model where developers were involved in testing.
5
SDLC
Advantages
1. Requirement changes can be done after every cycle
2. Customer will get the opportunity to see the s/w after every cycle
3. Testing is done in each and every cycle before going to the next cycle
Disadvantages
1. Requirement changes are not allowed in between the cycle
2. Req. collection and design are not tested
3. In this model also developers were involved in testing
4. Same process repeats for each module
III. V MODEL
Here both development team and testing team are present. Parallelly both developers
and test engineers are involved in verification process. Hence verification is done to
prevent the defects. Once after s/w is ready, validation is done in order to identify
and fix the defects.
6
SDLC
Verification
The process of reviewing requirements (CRS & SRS), design (HLD & LLD), code,
test cases and other related documents is called as Verification.
Validation
It is the actual testing done after the software is developed. Here we execute the test
cases.
Advantages
1. Testing starts from early stage of product development (i.e., at requirement
collection stage itself)
2. All the stages are tested (avoids downward flow of defects)
3.Work happens simultaneously because of that total time taken to complete then
project is less
4. Total investment will be less
Disadvantages
1. Documentation work is more.
2. Initial investment is more.
7
SDLC
8
SDLC
Advantages
1. In the beginning only customer will be knowing what he going to get
2. If any changes are needed, customer gets an opportunity to ask for the changes in
the beginning itself
3. Improved communication b/w customer and development team
Disadvantages
1. There is an investment needed just to improve the communication to build
the prototypes
2. There will be lot of delay in starting the actual product development
9
Software Testing
SOFTWARE TESTING
1
Software Testing
- Testing each and every line of code is called as White Box Testing
- WBT is done by Developers
- Open box testing: Because the developers are able to see the code it is called open
box testing
- Unit Testing: Smallest unit of a s/w is one line of code, since you're testing every
line it is called unit testing
MANUAL TESTING
Testing the software/ application repeatedly or again and again manually in order
to find the defects in the software according to the customer requirement is called
as Manual Testing
AUTOMATION TESTING
Test Engineer write code/program/ script by using tools like Selenium/ QTP/
Appium and run the program against the application/ software wherein the tool will
automatically test the application and give the result as Pass/Fail. This is called as
Automation Testing.
2
Software Testing
i) Path testing:
Here developer will write the flowchart/ flow graph & test all the individual path .
3
Software Testing
4
Software Testing
Typical mistakes done by developers because of which size of the code increases: -
Because of repetition of same code instead of using functions
Because of logical mistakes
Because of not using inbuilt functions
Because of unused variables & functions
Typical mistakes done by developers because of which program takes more time to
run: -
Because of not using better logic
Using proper AND & OR operators
Testing each and every line of code Verifying the functionality of the
is called WBT application against the customer
requirement specification
It is done by developers
To do this one should have very It is done by test engineers
good knowledge of programming No need to have knowledge of
To do this one should have very programming
good knowledge of programming No need to have knowledge of
internal design of code
Give the input and check and run
every code of line and gives output Give the input, don’t check code
and gives output according to
requirement
5
Functionality Testing
FUNCTIONALITY TESTING
Testing each and every component thoroughly against requirement specification is
called Functionality Testing.
6
Functionality Testing
Components:
Link, text field, text area, drop down, button, widget, bento, hamburger, icon, radio
button, kebab, ellipses, etc.
Thoroughly:
Testing the component by entering all the possible input (positive and negative) is
called as thoroughly.
i. Over Testing: Testing the application with the same scenarios in different
ways (OR) Testing the application with those scenarios which doesn’t make
sense is called as over testing
7
Functionality Testing
ii. Under testing: Testing the application with insufficient set of scenarios is
called as under testing
iii. Optimized testing: Testing the application only with those scenarios which
make sense is called as optimized testing
Positive testing:
Testing each and every component of an application by entering valid or expected
data which is according to the requirement specification is called as positive testing.
Negative testing:
Testing each and every component of an application by entering invalid or
unexpected data which is according to the requirement specification is called as
negative testing
8
Integration Testing
INTEGRATION TESTING
Testing the data flow (or) interface between two modules is called as integration
testing.
Ex:
9
Integration Testing
Scenario:
Login as user ‘A’ check for amount balance, click on amount transfer, enter FAN as
user ‘A’, TAN as user ‘B’ and enter amount as (Rs.1000). click on transfer
confirmation message will be displayed, logout as user ‘A’. login as user B, click on
amount balance, there proper balance should be displayed (old balance+1000),
logout as user ‘B’
Scenario:
Login as user ‘A’ check for amount balance, click on amount transfer, enter FAN as
user ‘A’, TAN as user ‘B’ and enter amount as (Rs.15,000). click on transfer logout
as user ‘A’. login as user B, click on amount balance, there old balance should be
displayed logout as user ‘B’.
10
Integration Testing
11
Integration Testing
Note: If there are n no. of modules, it is difficult to identify whether who is parent and child this
is difficult in IIT, so we will go for NIIT.
12
System Testing
Stubs: It is a dummy module, it acts like module which is not yet build, it generates
the data & receives the data
Driver: it is one which set up the testing environment and does lot of transaction,
analyze the result & send the output (does the transaction between real module &
stubs)
SYSTEM TESTING
It is an end to end testing where in the test environment is just similar to the
production environment.
End-end testing:
Navigate through all the features and check whether the end feature is working as
expected or not.
Ex: OD Flow
Scenario 1:
1. Login as user A, apply od for 20000, click on logout.
2. Login as manager, approve user A's od, click on logout.
3. Login as user A, check OD balance 20000, logout
4. Change the server date to next 30 days
5. Login as user A, check od balance need to be repaid 20650, logout
6. Login as manager, deposit Rs. 650, logout.
7. Login as user A, repay 20650
8. Check the od balance – 0000
Scenario 2:
1. Login as user A, apply od for 20000, click on logout
2. Login as manager, approve user A's od, click on logout
13
System Testing
Types of environment:
Development environment:
It is a setup which is used for developing the software. It consists of hardware,
software, server, network.
Test environment:
It is a setup which is used for testing the software. It consists of hardware, software,
server, network.
14
System Testing
Production environment:
It is a setup which is used for run the software for business which contains hardware,
software, server, network.
15
System Testing
Release process:
What is Release?
Starting from collecting/gathering the requirement, developing the software and
testing the software for many cycles and installing/ deploying the software to the
customer is called as Release/ 1-Release.
Generally, 1- release might take 6 months – 1 ½ years. If it is Agile it might take 1
month.
What is Respin?
- The process of getting a new build within one test cycle is called as Respin.
- If there are blocker defects, we will get respin.
What is Build?
All the programs are compiled then we get binaries and all the binaries are archive/
compressed and that is called as build.
17
System Testing
What is Patch?
Patch is a small software which contains modified programs, new programs and
record of deleted programs.
18
System Testing
19
Acceptance Testing
ACCEPTANCE TESTING
20
Acceptance Testing
Approach 4: It is an end-to-end testing done by our own T.E sitting at our own place
where in they refer user scenarios given by the customer and check whether software
is capable of handling all real time business scenarios.
21
Smoke Testing
SMOKE TESTING
Testing the basic or critical features of an application before going for thorough
testing is called as Smoke Testing.
22
Smoke Testing
Note:
Here we test only basic and critical features.
We take every basic or critical feature and test for 1 or 2 important scenarios.
Here we do only positive testing.
In the beginning we will not be able to identify basic or critical features, we will
learn it only after getting very good product knowledge.
23
Adhoc Testing
ADHOC TESTING
Testing the application randomly is called Adhoc Testing wherein we don’t refer
any kind of formal document like test cases or scenarios.
24
Adhoc Testing
Login as User, click on compose fill the details for all fields click on send, logout.
Click on the browser back button and check whether the login page should be
displayed or the application should ask to enter UN and PWD.
25
Agile Model
AGILE MODEL
Agile is a model wherein we develop the software in an incremental and iterative
process.
They came up with this model in order to overcome the drawbacks that were
there in the traditional model. Here we build large products in shorter cycles
called Sprint.
Scrum:
It is the process used to build an application in agile model.
Scrum team:
It is the group of Engineers working towards completing committed features or
stories.
Product Backlog:
It is a prioritized list of stories or requirements that must be developed in the
complete project.
Sprint Backlog:
It is a list of stories and the associated task committed by the scrum team that must
be delivered within one sprint.
26
Agile Model
a. Here the entire scrum team sits together and pulls the stories from the product
backlog.
b. Scrum master assigns each story to development engineer and test engineer.
c. Now each engineer derives the tasks to be completed to build the stories.
d. Each engineer will estimate the time taken to complete each task i.e. they
derive the story point.
Following are the roles played by different people in Sprint planning meeting:
1. Scrum master:
a. This complete meeting is driven by the scrum master.
b. His prime role is to facilitate the complete meeting and co-ordinate between all
stakeholders
2. Product owner:
a. He clarifies if there are any questions related to stories or requirements.
3. Development Engineer:
27
Agile Model
4. Test engineer:
II. Daily Stand-Up Meeting/ Role Call Meeting/ Daily Scrum Meeting:
d. The scrum master tries to solve certain impediments right there in the meeting. If
it takes too much time then scrum master notes it down in ‘Impediment backlog’
and solves it later.
e. Generally, this meeting should be completed within 10-15 mins.
g. Here everybody should stand-up in the meeting so that people only talk to the
point.
28
Agile Model
a. Sprint review meeting should be done at the end of the sprint, where the engineers
will give a demo to the product owner.
b. They will also discuss how to plan for the next sprint.
a. Here the entire scrum team meets and discusses all achievements (good process
followed) and mistakes (wrong activities performed) and it will be documented.
This document is called as Retrospect document.
b. When the next sprint starts while doing sprint planning meeting, we refer this
document & we plan it in such a way that old mistakes should not be repeated
and good activities are once again adopted.
Burndown Chart:
It is a graphical representation of work left vs time.
Storyboard/White Board:
It is a board which contains a list of pending tasks, tasks in progress and completed
tasks.
29
Agile Model
Chicken
It is one who observes and tries to understand how sprint is going on and he will not
be doing any task
Story point
It is estimation of how long task would take to complete or how long story is going
to take to develop and test
30
Agile Model
· Here the entire team sits together and finds the root cause of the defect and shares it
in a common folder where everyone can access it & present it to the entire team.
· This technique is called Fish bone technique or Ishikawa method or RCA meeting
(Root Cause Analysis)
31
Compatibility Testing
COMPATIBILITY TESTING
32
Compatibility Testing
1. Web application: Any application that can be accessed by opening the browser
and entering the URL is called as Web Application
Ex: www.gmail.com, www.amazon.com, www.facebook.com, etc.
33
Compatibility Testing
34
Compatibility Testing
i. Alignment issue
36
Compatibility Testing
37
Performance Testing
PERFORMANCE TESTING
Testing the stability and response time of an application by applying load is called
as Performance Testing.
Stability: Ability of an application to withstand load
Load: Designed number of users
Response time: It is the total time (t) taken to receive the request (t1), execute the
program (t2) and send the response (t3).
T= t1 + t2+t3
38
Performance Testing
7. If it is failed then send it to the developers they will alter/change the code to
improve the Performance i.e. they do "performance tuning"
8. Once again TE should run the test script
9. Repeat all the steps
1. Load testing
Testing the stability and response time of an application by applying load less than
or equal to designed no. of users is called Load testing.
39
Performance Testing
2. Stress testing
Testing the stability and response time of an application by applying load more than
the designed no. of users is called Stress testing.
3. Volume testing
Testing the stability and response time of an application by transferring huge volume
of data is called Volume testing.
4. Soak testing
Testing the stability and response time of an application by applying load
continuously for some particular period of time is called Soak testing.
40
Usability Testing
USABILITY TESTING
Testing the user friendliness of an application is called as Usability Testing
41
Regression Testing
REGRESSION TESTING
Testing the unchanged features to make sure that is not affected or broken because
of changes is called as Regression testing (here changes can be addition,
modification, removal of features or bug fixes)
(OR)
Re-execution of same test case is different test cycle/ sprint/ release to make sure
that changes are not introducing any defects in unchanged features (Changes can be
addition, modification or removal of features) is called Regression testing
42
Regression Testing
As a TE in-depth I will be knowing how each & every module works & also I will
be knowing how all the modules are related based on that knowledge, I will be able
to identify impacted areas
43
Regression Testing
Here we list the changes & also all the features in the application, then mark the
impacted areas.
As soon as the new build comes entire testing team meets & discuss about list of
bugs fixed & the impacted areas
44
Regression Testing
1. By not testing certain features we are saving testing time which intern reduces the
testing cost
2. Test cycle duration Reduces because of that turnaround time taken to deliver the
product to the customer reduces
Dis-advantages of Regional Regression Testing:
1. Chances are there we might miss identifying the impacted area because of that
we might miss the bugs.
1. Whenever too many changes are done in the product better to do full regression
testing
2. If the changes are done in core features
45
Regression Testing
3. Every few (4-5) cycles once we should do full regression testing & last few cycles
we should do full regression testing because we are about to launch the product
to the production to not to take any risk.
Regression Testing is done for passed Retesting is done for failed test
test cases cases
46
Regression Testing
What are the drawbacks of manual repeated regression testing (OR) What is
the drawback of manual testing?
1. Manual testing is repetitive in nature over the period of time it becomes
monotonous because of that testing engineer may not be effective in testing
2. As the size of the application increases test cycle duration also increases
because of that turnaround time taken to deliver the product to the customer
increases
3. Man power is expensive
47
Regression Testing
3. To reduce the turnaround time taken to deliver the product to the customer.
48
Exploratory Testing
EXPLORATORY TESTING
49
Exploratory Testing
1. I will understand the application and I will try to enter all possible inputs to each
and every component and I will do Exploratory Testing.
2. I will understand the application and check the dataflow b/w the modules by
doing Exploratory Testing.
3. I will explore the application and I will understand how each and every feature
works and I will try to test for all possible end to end scenarios by doing
Exploratory Testing.
50
Exploratory Testing
3. If a feature is really missing, we will not get to know the feature is really missing.
4. It is more time consuming because we will spend more time in understanding the
application.
Interview questions
i. Do you write Exploratory scenarios and test cases?
Yes
GLOBALIZATION TESTING
Developing the software for multiple languages is called as Globalization. Testing
the software which is developed for multiple languages is called as Globalization
Testing.
52
Globalization Testing
property files. So, the connection b/w Program files and Property Files are
established]
4. The remaining program copies the content from the property files and displays it
in the browser.
53
Non-Functional Testing
Localization Testing
Check whether the certain features are changing locally according to the country
standards.
Example: Here we check currency format, date and time format, pin code format
COMPARISON TESTING
Testing the newly build application with the similar kind of application which is
released in the market, here we compare the application, check the advantages and
dis-advantages and check whether all the features are present in our newly built
application or not.
54
Non-Functional Testing
ACCESSIBILITY TESTING
Testing the user friendliness of an application from physically challenged people
point of view.
RELIABILITY TESTING
Testing the functionality of an application continuously for a particular period of
time is called as reliability testing.
RECOVERY TESTING
Testing the functionality of an application to check well the application recovers
the data from the crash or disasters.
55
Defect Life Cycle
DEFECT
What is defect?
Any feature which is not working according to the requirement specification is called
as Defect.
OR
Deviation from requirement specification is called as Defect.
3. Extra Implementation
56
Defect Life Cycle
Why test engineer should not wait for the permission from test lead for sending
report to development lead?
There will be delay in communication report to developer
As a test engineer will be having knowledge in depth about his feature, so
better take a decision and send report directly to development lead without the
permission of test lead
57
Defect Life Cycle
Test Engineer:
1. Test engineer finds the defects
2. Prepare defects report
3. He will put the status as new/open
4. Send the report to development lead
58
Defect Life Cycle
Development Engineer:
1. DL reads the report & understand the problem
2. Identifies the developer who did the mistake
3. Change the status to assign
4. Sends it development engineer
Development Engineer:
1. DE reads the report & understand the problem
2. Goes the source code & fix the bug
3. Change the status to fixed
4. Send the report to test engineer & CC to development lead
Test Engineer:
1. TE reads the report & understand the problem fixed
2. Retest the fix bug, if the bug is fixed change the status to closed
3. Otherwise change the status to reopen
4. Send the report to development engineer & also CC to development lead
59
Defect Life Cycle
60
Defect Life Cycle
ii. Assume that old TE has found lot of defects and communicated to developer, in
that some defects are fixed and some are pending. If new TE joins same project
and communicate old defects then developers say this new defect is duplicate of
old defects.
61
Defect Life Cycle
ii. If the cost of fixing the defect is more than cost of defect then developer says
defect cannot be fixed.
(Here the cost of defect means loss in the business because of having bug in the
software)
62
Defect Life Cycle
63
Defect Life Cycle
iii. TE finds a defect in the feature which is exposed to internal users and if it is
a major or minor defect then developer will give the postpone status.
64
Defect Life Cycle
How do you convince the developer that it is a defect whenever they say not
reproduceable?
1. I will send the proper information like data, OS, Browser used
2. I will write the proper procedure. If still dev is not able to reproduce, I will send
the screenshot, Then I will give a demo of how I'm getting the defect by asking
him to connect to my computer.
3. Still if it is not reproduceable, I will try to reproduce in 4-5 computers around me.
If still I'm not getting the bugs, I will escalate it to test lead
DEFECT REPORT
65
Defect Life Cycle
1. Bugzilla
2. QC/ALM
3. JIRA
4. Mantis
5. Bugnet
SEVERITY
It is the impact of the defect on customer business workflow.
There are 4 levels of Severity: -
1. Blocker defect
2. Critical defect
3. Major defect
4. Minor defect
1) Blocker:
Assume that there is a defect in the software and because of this defect TE is
completed blocked to test his respective module and TE cannot continue testing that
module, these kinds of defects are called blocker defects.
66
Defect Life Cycle
2) Critical:
Assume that there is defect in the application, I am 100% sure that this defect will
affect customer’s business work flow but here the test Engineer is not blocked, we
can continue that module. These kinds of defects are called critical defects.
3) Major:
Assume that there is a defect in the application but we are not sure that how this
defect is going to affect customer business work flow, this type of defects is called
Major Defect.
4) Minor Defect:
Assume that there is defect in the application, I am 100% sure that this defect will
never affect customer business work flow, this type of Defect is called Minor
defect.
67
Defect Life Cycle
PRIORITY
Importance given to fix the defect is called as Priority (OR) How soon the defect
must be fixed by the developer.
High or P1:
If the defect is having priority as high/ P1, then the developer should fix the defect
immediately.
Medium or P2:
If the defect is having priority as medium/ P2, then he can fix the defect, within some
test cycle or builds or within a release
Low or P3:
If the defect is having priority low/ P3 then developer can fix the defect in upcoming
release or within some 2-3 release.
68
Defect Life Cycle
69
Defect Life Cycle
Defect Triage:
When time is very less and there are too many pending bugs to be fixed they will
categorize the defects into different status
Defect masking:
If any defect is hiding another defect, it is called as defect masking.
Defect seeding:
Intentionally introducing defects in the software to check the efficiency of test
engineer is called as defect seeding
70
Test Plan
TEST PLAN
It is a document which drives all the future testing activities.
It is generally prepared by Test manager/Test lead/Sr TE
It has got different sections like:
1. Objective
2. Effort Estimation
3. Scope
4. Approach
5. Assumption
6. Risk
7. Backup plan/ Mitigation plan
8. Testing methodology
9. Schedule
10.Test environment
11.Defect tracking
12.Test automation
13.Deliverables
14.Entry and exit criteria
15.Test stop criteria
16.Role and responsibilities
17.Templates
2) Effort estimation: This section covers estimation of how long it will take to
complete the project & also we estimate how many engineers are needed & the cost
needed to complete the task and the cost of testing.
71
Test Plan
3) Scope: This section covers what are the features to be tested and what are the
features not to be tested.
4) Approach: This section covers how we are going to test the product in future.
5) Assumption: This section covers assumptions that we have made while planning.
6) Risk: This section covers if any assumptions fail that becomes risk.
7) Backup Plan/ Mitigation plan: This section covers how to overcome (or) how to
face the risk.
8) Test methodology: This section covers what are the types of testing that we are
planning to conduct.
72
Test Plan
9) Test Schedule: This section covers when exactly we should start and end and
activity.
10) Test Environment: This section covers how we go about setting up the test
environment in future (or) how we setup the environment in future.
73
Test Plan
11) Defect Tracking: This section covers in future when we find defects how it should
be tracked and also covers the procedure, status, severity and priority.
11.2) Severity
Blocker
Critical
Major
Minor
11.3) Priority
High
Medium
Low
12) Test Automation: This section covers what are the features to be automated & what
are the features not to be automated & the complete automation strategy.
74
Test Plan
13) Deliverables: This section covers which all documents that has to be provided by
the testing team at the end of test cycle.
Ex: Test cases, Traceability matrix, test execution report, defect report, release note,
graphs & matrices.
Release Note: Last day along with the product, we release a note to the customer
called as release note.
Release note consists of:
75
Test Plan
Metrices:
It is the past data collected between two parameters so that we can analyze and
take better decision to perform future activities.
76
Test Plan
Exit criteria: This section covers list of criteria that should be met to say that activity is
over.
Ex:
System study:
Entry criteria for system study:
1. Should have got approved requirement from customer
2. Should have assigned engineers to do system study
77
Test Plan
15) Test stop criteria: This section covers when exactly we should stop testing.
We stop testing when the product quality is very good or product quality is very bad
Product quality is very good means if all the end-to-end business scenarios
are working fine.
If there are no blocker or critical defects.
There are few bugs left out which are all minor or major but are less than the
acceptable limit set by the customer.
If all the features requested by the customer are ready
Product quality is bad means there are too many blocker & critical bugs.
If it is crossing the budget.
If it is crossing the schedule/deadline.
16) Roles & responsibility: This section covers what each engineer should do in
different stages of test life cycle.
78
Test Plan
17) Templates: This section covers formats for all the documents that we are
planning to prepare in the entire test life cycle.
79
Test Plan
80
Test Case
TEST CASE
Test case is a document that covers all possible scenarios for a specific requirement.
It contains different sections like Step number, Input, Expected result, Actual result,
Status, and Comments.
What is the drawback of seeing the requirements and testing the software?
1. There will be no consistency in testing if you look into requirements and test
the software.
2. Quality of testing varies from person to person
3. Quality of testing depends on the memory power of the test engineer.
4. Quality of testing depends on the mood of the T.E.
When do we write test case?
1. When developers are busy in building the product, the testing team will be
busy writing the test cases.
2. When the developers will modify or change the feature, parallelly T.E. will
modify or change the test cases.
3. When the developers will add the features parallelly test engineers will add
new test cases.
4. When the customer is removing the requirement, developers will remove the
feature, and parallelly test engineer will remove the test cases to make sure
that features are removed from the s/w or not.
81
Test Case
82
Test Case
1. Error Guessing:
Here we guess all possible errors and we derive the scenarios.
We guess errors based on:
i.Requirement
ii.Experience
iii.Intuition
a. Pressman Rule:
Rule 1: If the input is a range of values, then design test case for one valid and two
invalid inputs.
Rule 2: If the input is in a set of values, then design test case for one valid and two
invalid inputs.
83
Test Case
Rule 3: If the input is in Boolean, then design the test case for both true and false
values.
b. Practice Method:
If the input is in range of values then divide the range into equivalent parts and test
for all the values, make sure that you are testing for at least two invalid values.
Note:
1. If there is a deviation between the range of values then we go got for Practice
method.
2. If there is no deviation between the range of values then we go for Pressman
rule.
3. By looking into requirements, we will get to know whether there is a deviation
or not.
84
Test Case
85
Test Case
2. Requirement Number:
BA when he converts CRS to SRS, in SRS for each requirement he will write
the requirement no.
86
Test Case
3. Test data:
It is the data written by a TE and has to be done before the test execution.
Ex: TE should have UN, PWD, URL, a/c number
4. Pre-condition:
It is a set of actions or settings which should be ready/done by TE before
executing the 1 st test case.
Ex: User should have balance in his account.
5. Severity:
TE will give severity for every individual test case, based on how important
and complex the feature is from customer’s point of view.
TE will execute test case based on severity.
There are 3 types of severity for Test cases: Critical/ Major/ Minor
7. Brief Description:
It describes about the complete test case and the behavior of the test case.
Ex: In the amount transfer module, it should accept only +ve integers.
87
Test Case
88
Test Case
89
Test Case
4. -------------------------------
-------------------------------
--------------------------------
90
Test Case
91
Test Case
Review ethics:
1. Always review the content, and not the author.
2. Reviewer should spend more time in finding the mistakes rather than giving
the solution for it
3. Even after review if there are still any mistakes, both author and reviewer
are responsible
Why we review test case (OR) if I give you the test cases what is the approach
to review the test cases (OR) what kind of mistakes will you find while
reviewing the test case?
1. I will look into the header of the test case and understand the req for which test
case is written and then go to body of the test cases and try to find:
a. Missing scenarios b. Wrong scenarios c. Repeated scenarios
92
Test Case
2. I will check whether organized or not so that when executed it should take less
time
3. I will check whether it is simple to understand so that the it is given to ne TE he
should be able to execute without asking any questions
4. I will look into the header of the test case and try to find:
a. All the attributes are covered or not
b. Check whether content in all the attributes are cover or not
5. I will check whether test case format is according to standers defined in the
project
93
Test Case
1. System study:
Read the requirement, understand the requirement, and if you have any queries
interact with the customer, B.A.
2. Identify all possible scenarios:
i.Identify
ii.Brainstorming sessions
a. Presentation of feature: Improved product knowledge
b. Present scenarios: Missing, Wrong and Repeated scenarios
iii.Measure the efficiency of Brain storming session
94
Test Case
1. In a shared folder
2. In a test management tool Ex: Test link, ALM
3. In a version control tool Ex: CVS, Subversion
Q.3 How do you ensure that your test coverage is good? Or How do you convince
you customer / management/developer that you have tested everything?
My test coverage is good because my test cases are good. My test cases are good
because I have followed a strict procedure Strict procedure means:
It is the document which we prepare to make sure that every requirement has at least
one test case.
95
Test Case
Advantages:
1. It ensures that every requirement has got at least one test case, which indirectly
assures you that you are testing every feature at least once
2. It gives traceability from high level requirement till automation script name
Drawback
1. It will not ensure that you that got 100% coverage
96
Test Case
Interview Questions:
Here we don’t check whether test Here we don’t check whether every
case is covering all possible scenarios requirement has got at least one test case.
for a specific requirement.
Q.2 If there is no requirement then how will you prepare traceability matrix?
I will explore the application and understand it, identify the scenarios, document it,
write test cases. Once after writing the test cases what is the guarantee that you have
written all the test case for all the features, to ensure that we write traceability matrix
Here we list all the features that are there in the product and map it to test case.
Login ---------------------------
Signup ---------------------------
Forgot password No
Q.3 Assume that last day when you are about to release the product to the
customer, if there is a critical / blocker defect what will you do? Will you release
product to the customer or not?
As a TE I’m not a decision maker so I will list all the defects which are pending and
the impact of the defect on the business also I suggest whether to release or not and
send it to PM. It is the manager who should take a calculated decision and decide
97
Test Case
1. Unit testing
2. Functionality Testing
3. Integration Testing
4. System Testing
5. Acceptance Testing
Q.7 What is the difference b/w Quality Assurance(QA) and Quality Check(QC)?
98
Test Case
99
STLC
1. System Study:
Read the requirement, understand the requirement if you have any queries, interact
with BA, developers or customer.
Test plan is a document which drives all the future testing activities:
100
STLC
5. Test Execution: This is the stage wherein we test the product for 4-8 cycles
(if it is agile) and 30-60 cycles (if it is traditional model).
101
STLC
6. Defect tracking:
Once after test execution, obviously we are going to find the defects. Each defect
that we find should be tracked in an organized way. This is called as Defect tracking.
102
STLC
103