MT
Notes

Manual Testing Complete Notes

SDLC · STLC · TEST CASE · BUG LIFECYCLE · TESTING TYPES · BVA · AGILE · JIRA · INTERVIEW READY

🎓 Next Gen QA IT Coaching Classes
📞 Mr. Khan Sir  |  8700350994
Manual Testing Selenium & Playwright Online & Offline B.Tech / BCA / MCA CBSE / ICSE / Polytechnic
SDLC — Software Development Life Cycle · STLC — Software Testing Life Cycle
SDLC Phases
1
Requirement Gathering
Collect & analyze business requirements from client
2
System Design
HLD (High Level) + LLD (Low Level) design documents
3
Implementation / Coding
Developers write the actual source code
4
Testing
QA team tests the developed software
5
Deployment
Software released to production/live environment
6
Maintenance
Bug fixes, updates and enhancements post-release
STLC Phases
1
Requirement Analysis
QA studies & reviews requirements — identifies testable items
2
Test Planning
Scope, strategy, resources, timeline, tools decided
3
Test Case Development
Write test cases, test scripts, test data preparation
4
Test Environment Setup
Configure hardware, software, network for testing
5
Test Execution
Execute test cases, log defects, retest fixed bugs
6
Test Closure
Test summary report, lessons learned, sign-off
SDLC Models
Waterfall Model
Sequential — each phase completes before next begins. No going back. Best for fixed requirements.
V-Model
Each dev phase has a corresponding test phase. Testing starts early. Verification + Validation.
Agile Model
Iterative sprints (2–4 weeks). Continuous delivery. Flexible to changes. Most popular today.
Spiral Model
Risk-driven. Combines Waterfall + Prototyping. Multiple loops. Good for large risky projects.
Incremental Model
Software built in increments. Each increment adds functionality. Partial working product early.
RAD Model
Rapid Application Development. Prototype-based. Fast delivery. Works with active user feedback.
Verification vs Validation
VerificationValidation
Are we building the product RIGHT?Are we building the RIGHT product?
Process orientedProduct oriented
Static testing (no execution)Dynamic testing (execution)
Reviews, walkthroughs, inspectionsActual testing of software
Done by QA teamDone by testing team
Early in SDLCLater in SDLC
Entry & Exit Criteria
Entry Criteria
Conditions that MUST be met BEFORE testing starts. e.g. Build is deployed, test environment is ready, test data is available.
Exit Criteria
Conditions that MUST be met to STOP testing. e.g. All test cases executed, 95% pass rate, no critical bugs open.
Types of Testing — Functional · Non-Functional · Structural · Change-Based
Functional Testing Types
Unit Testing
Testing individual units/components in isolation. Done by developers.
Integration Testing
Testing interaction between integrated modules. STBI (Top-Down, Bottom-Up, Sandwich).
System Testing
Testing complete integrated system against requirements.
UAT (User Acceptance)
End users test software to verify it meets business needs before go-live.
Smoke Testing
Preliminary testing — checks if build is stable enough for further testing. "Build Verification Test".
Sanity Testing
Narrow regression after bug fix — verifies specific functionality works correctly.
Regression Testing
Re-testing after code change to ensure existing functionality still works.
Re-testing
Re-executing failed test cases after defect is fixed to confirm it's resolved.
Non-Functional Testing Types
Performance Testing
Evaluates speed, responsiveness and stability. Parent of Load, Stress, Spike testing.
Load Testing
Test behavior under expected normal load. Find max operating capacity.
Stress Testing
Test beyond normal capacity to find breaking point. What happens when overloaded?
Spike Testing
Sudden large increase in load. How does system handle sudden traffic bursts?
Security Testing
Find vulnerabilities, threats, risks. SQL injection, XSS, Authentication bypass.
Usability Testing
How user-friendly is the application? Ease of use, intuitiveness, learnability.
Compatibility Testing
Test across different OS, browsers, devices and screen sizes.
Reliability Testing
Can system perform its intended function without failure for specific time?
Scalability Testing
Can system handle growing workload gracefully? Vertical & horizontal scaling.
Recovery Testing
How well does system recover from crashes, failures, hardware/network issues?
Black Box vs White Box vs Grey Box
AspectBlack BoxWhite BoxGrey Box
KnowledgeNo code knowledgeFull code knowledgePartial knowledge
Done byTester/QADeveloperTester + Dev
FocusInput/OutputInternal codeBoth
Also calledFunctionalStructuralTranslucent
TechniquesBVA, EP, DecisionStatement, BranchMatrix, Pattern
Static vs Dynamic Testing
Static TestingDynamic Testing
No code executionCode is executed
Reviews, walkthroughsRunning test cases
Early defect findingRuntime defect finding
Cheaper to fixCostlier to fix
More Testing Types
Exploratory Testing
Simultaneous learning, test design and execution. No predefined scripts. Tester's intuition.
Ad-hoc Testing
Unplanned, informal testing without documentation. Random testing to find unexpected bugs.
Alpha Testing
Internal testing by developer team before release. Done at developer's site.
Beta Testing
External testing by real users before final release. Done at customer's site.
Monkey Testing
Random input testing without any test cases. Test like a monkey — anything goes!
Localization Testing
Testing for specific region — language, date format, currency, cultural content.
Globalization Testing
Testing software works with multiple languages and regions worldwide.
End-to-End Testing
Complete workflow testing from start to finish. Simulates real user scenarios.
Test Case Writing · Test Plan · Test Scenario · Test Suite · Test Data
Test Case Components
Test Case ID
Unique identifier. e.g. TC_LOGIN_001, TC_PAYMENT_002
Test Case Title
Short description of what is being tested. Clear and specific.
Preconditions
Conditions that MUST be true before executing. e.g. User must be registered.
Test Steps
Step-by-step actions to perform. Clear, concise, numbered.
Test Data
Input values used for testing. e.g. Username: admin, Password: admin123
Expected Result
What SHOULD happen after executing steps. Be specific!
Actual Result
What ACTUALLY happened when test was executed.
Status
Pass / Fail / Blocked / Not Executed / In Progress
Priority
High / Medium / Low — based on business importance
Test Type
Positive / Negative / Boundary
Sample Test Case — Login Feature
FieldValue
Test Case IDTC_LOGIN_001
TitleVerify valid login with correct credentials
PreconditionUser is registered. Browser is open.
Step 1Navigate to login page
Step 2Enter Username: admin@test.com
Step 3Enter Password: Admin@123
Step 4Click "Login" button
ExpectedUser is redirected to Dashboard page
ActualUser redirected to Dashboard ✅
StatusPASS
PriorityHigh
TypePositive Test
Test Plan Components
Test Plan ID & Title
Unique ID and descriptive title of the test plan
Scope
What WILL be tested (In Scope) and what WON'T be tested (Out of Scope)
Test Objectives
Goals and purpose of testing. What are we trying to verify?
Test Strategy
Approach for testing — manual/automated, testing levels, techniques
Resources
Team members, roles, responsibilities for testing activities
Schedule / Timeline
Start date, end date, milestones for each testing phase
Test Environment
Hardware, software, OS, browser, network requirements
Risks & Mitigation
Potential risks and plans to handle them
Deliverables
Test cases, test reports, defect logs, test summary report
Entry / Exit Criteria
Conditions to start and stop testing
Test Scenario vs Test Case
Test ScenarioTest Case
High-level descriptionDetailed step-by-step
What to testHow to test
One scenario → many casesSpecific single test
No test dataHas test data
e.g. "Test Login"e.g. TC_001 valid login steps
Positive vs Negative Testing
Positive Testing
Test with VALID inputs to verify system works correctly as expected.
Negative Testing
Test with INVALID inputs to verify system handles errors gracefully.
Test Suite & Test Script
Test Suite
Collection of related test cases grouped together. e.g. Login Test Suite.
Test Script
Automated code that executes test steps. Used in automation testing.
Bug / Defect Life Cycle · Severity · Priority · Bug Report · JIRA
Bug / Defect Life Cycle
1
New
Bug discovered and logged by tester for the first time
2
Assigned
Bug assigned to developer by team lead / manager
3
Open
Developer starts working on the bug fix
4
Fixed / Resolved
Developer fixes the bug and marks it resolved
5
Retest
Tester re-executes test case to verify fix
6
Verified / Closed
Bug fix confirmed — bug is closed
7
Reopened
Bug still exists after fix — sent back to developer
Deferred
Bug valid but fixed in next release due to low priority or resource constraints.
Rejected / Not a Bug
Developer disagrees — works as designed. Discussed with team.
Duplicate
Same bug already reported by another tester. Mark as duplicate.
Severity vs Priority
SeverityPriority
Impact on functionalityOrder of fixing
Technical perspectiveBusiness perspective
Set by: TesterSet by: Product Manager
S1-Critical, S2-MajorP1-High, P2-Medium, P3-Low
Severity Levels
Critical (S1)
System crash, data loss, no workaround. App completely unusable. e.g. Payment fails.
Major (S2)
Major functionality broken, workaround exists. e.g. Search not working.
Moderate (S3)
Partial functionality impacted. e.g. Filter not working on one page.
Minor (S4)
Cosmetic issues, small UI bugs. e.g. Button color wrong.
Classic Combinations
ScenarioSeverityPriority
Payment system crashesCriticalHigh
Logo not showing on homepageMinorHigh
Crash in rarely used featureCriticalLow
Spelling error on footerMinorLow
Bug Report Template
FieldValue / Example
Bug IDBUG_LOGIN_001
Bug TitleLogin fails with valid credentials
ModuleLogin / Authentication
EnvironmentChrome v120, Windows 11, QA env
Build Versionv2.3.1
SeverityCritical
PriorityHigh
Steps to Reproduce1. Open login page 2. Enter valid credentials 3. Click Login
Expected ResultUser logged in, redirected to dashboard
Actual ResultError: "Invalid credentials" shown
AttachmentsScreenshot / Screen recording
Reported ByQA Tester Name
Date01-Mar-2025
StatusNew
JIRA — Key Features for QA
Issue Types
Bug, Story, Task, Epic, Sub-task. Each has its own workflow and fields.
Project Board
Kanban/Scrum board showing To Do → In Progress → Done columns.
Sprint
Time-boxed iteration (1-4 weeks). All tasks for sprint planned upfront.
Backlog
List of all pending items/stories not yet in a sprint.
Bug Workflow in JIRA
Open → In Progress → Code Review → Testing → Done → Closed
Labels & Components
Tags for categorizing bugs. Components = modules (Login, Payment, etc.)
Fix Version
Which version/release this bug will be fixed in.
Watcher / Assignee
Assignee works on bug. Watcher gets notified of all updates.
JIRA Bug Shortcuts
C
Create new issue/bug
G then B
Go to board
/ (slash)
Quick search
Test Design Techniques — BVA · Equivalence Partitioning · Decision Table · State Transition
Equivalence Partitioning (EP)
Definition
Divide input data into PARTITIONS where each value in a partition is expected to behave the same. Test ONE value from each partition.
Example: Age field (18–60 valid)
PartitionRangeTest ValueType
Below valid0 – 1710Invalid
Valid18 – 6035Valid
Above valid61+70Invalid
Decision Table Testing
Definition
Testing with combinations of conditions and actions in a tabular format. Good for complex business rules.
Example: Login Decision Table
UsernamePasswordAction
ValidValidLogin Success
ValidInvalidShow Error
InvalidValidShow Error
InvalidInvalidShow Error
Boundary Value Analysis (BVA)
Definition
Test values AT THE EDGES of partitions. Bugs are most likely to occur at boundaries. Used with EP.
BVA Values for Age field (18–60)
ValueTypeValid?
17Just below minInvalid
18Minimum (lower boundary)Valid
19Just above minValid
59Just below maxValid
60Maximum (upper boundary)Valid
61Just above maxInvalid
2-value BVA
Test min and max boundary values only. Simpler approach.
3-value BVA
Test below min, min, above min AND below max, max, above max. More thorough.
State Transition Testing
Definition
Testing how system transitions between states based on events/inputs. Good for login attempts, ATM flows, order status.
Example: Login Attempt (3 tries max)
Current StateEventNext State
Logged OutValid loginLogged In
Logged OutInvalid (1st)1 Failed Attempt
1 FailedInvalid (2nd)2 Failed Attempts
2 FailedInvalid (3rd)Account Locked
Logged InLogout clickLogged Out
Account LockedAdmin unlockLogged Out
Error Guessing
Definition
Tester uses experience and intuition to GUESS where errors might be. No formal technique.
Common Error Guess Areas
Empty input, zero values, negative numbers, very long strings, special characters, null values, duplicate data, max file size.
Test Coverage Techniques
Statement Coverage
Every line of code executed at least once. Basic coverage metric.
Branch Coverage
Every branch (if/else) executed — both TRUE and FALSE paths covered.
Path Coverage
Every possible path through the code is tested. Most thorough but expensive.
Condition Coverage
Every condition in decision tested for both true and false outcome.
Use Case Testing
Use Case Testing
Test based on use cases — real user scenarios from start to finish. Tests end-to-end workflows from user perspective.
Pairwise Testing
Pairwise / All-pairs
Tests every possible PAIR of input values at least once. Reduces test cases while maintaining good coverage.
Agile Testing · Scrum · Sprint · Test Metrics · RTM · Test Summary Report
Agile & Scrum for Testers
Scrum
Agile framework using fixed-length sprints (1-4 weeks) with defined ceremonies and roles.
Sprint
Time-boxed iteration where team delivers working software increment. Usually 2 weeks.
User Story
"As a [user], I want [feature] so that [benefit]." Requirements from user's perspective.
Sprint Planning
Team selects stories from backlog for sprint. Estimates effort in story points.
Daily Standup
15-min daily meeting: What did I do? What will I do? Any blockers?
Sprint Review
Demo of completed work to stakeholders at end of sprint.
Sprint Retrospective
Team reflection: What went well? What to improve? Action items.
Definition of Done (DoD)
Agreement on what "complete" means. e.g. Code written + reviewed + tested + deployed.
Acceptance Criteria
Conditions a story must satisfy to be accepted by Product Owner.
Product Owner
Prioritizes backlog, represents business. QA works closely with PO for requirements.
RTM — Requirement Traceability Matrix
What is RTM?
Document that maps requirements to test cases. Ensures every requirement has test coverage.
Purpose
Track testing coverage. No requirement is missed. Bidirectional traceability.
RTM Sample
Req IDRequirementTest CaseStatus
REQ_001User LoginTC_001, TC_002Pass
REQ_002User LogoutTC_003Pass
REQ_003Reset PasswordTC_004, TC_005Fail
REQ_004Register UserTC_006Blocked
Test Metrics
MetricFormula
Test Pass %(Passed / Total) × 100
Test Fail %(Failed / Total) × 100
Defect Density(Total Bugs / Module Size)
Defect Leakage(Bugs in Prod / Total Bugs) × 100
Test Coverage(Tested Req / Total Req) × 100
Test Summary Report
Purpose
Final document at end of testing. Summarizes what was tested, results, defects found, recommendations.
SectionContent
Project InfoName, version, test period
Test ScopeWhat was tested / not tested
Test ResultsPass/Fail/Blocked counts
Defect SummaryTotal bugs, severity breakdown
Coverage% requirements covered
RisksKnown risks, outstanding issues
RecommendationsGo/No-Go decision, suggestions
Sign-offQA Lead, PM, stakeholder approval
Smoke vs Sanity vs Regression
AspectSmokeSanityRegression
PurposeBuild stable?Fix verified?Nothing broken?
ScopeWide, shallowNarrow, deepWide, deep
WhenNew buildAfter bug fixAfter any change
Scripted?YesUsually notYes
TimeShortShortLong
Software Quality Attributes (FURPS)
F — Functionality
Does it do what it should? Feature completeness, accuracy, security.
U — Usability
How easy is it to use? UI, UX, documentation, consistency.
R — Reliability
Does it work consistently? Availability, fault tolerance, recoverability.
P — Performance
How fast and efficient? Response time, throughput, resource usage.
S — Supportability
How easy to maintain? Testability, adaptability, configurability.
IEEE 829 Test Documents
Test Plan
Master planning document — scope, approach, resources, schedule.
Test Design Spec
Test conditions and test cases derived from requirements.
Test Incident Report
Document describing any event requiring investigation during testing.
Test Summary Report
Final test results, evaluation, and recommendations summary.
Top Interview Questions & Answers — Must Know for Every QA Fresher
Must-Know Interview Q&A — Part 1
Q: What is Software Testing?
Process of evaluating software to find bugs, ensure it meets requirements and works as expected before release.
Q: What is a Bug/Defect?
Any deviation between expected result and actual result. A mistake in code that causes incorrect behavior.
Q: What is Test Plan?
Document that describes scope, approach, resources and schedule of testing activities for a project.
Q: Difference between Error, Bug, Failure?
Error = Human mistake in code. Bug = Defect in code (result of error). Failure = System doesn't work as expected (result of bug).
Q: What is Quality Assurance vs Quality Control?
QA = Process-oriented, prevent defects (SDLC). QC = Product-oriented, find defects (actual testing).
Q: What is Test Environment?
Setup of hardware, software, OS, network and tools required to execute test cases.
Q: What is Traceability Matrix?
Document mapping requirements to test cases. Ensures no requirement is missed during testing.
Must-Know Interview Q&A — Part 2
Q: What is Boundary Value Analysis?
Testing values at the edges of valid/invalid input ranges. Bugs are most likely at boundaries — e.g. 17, 18, 19 for age min of 18.
Q: What is Equivalence Partitioning?
Dividing input data into valid and invalid partitions. Testing one value from each partition covers the entire partition.
Q: What is Regression Testing?
Re-testing existing functionality after code changes/bug fixes to ensure nothing is broken. Can be automated.
Q: What is UAT?
User Acceptance Testing — end users test the software to verify it meets business requirements before go-live.
Q: What is the difference between Smoke and Sanity?
Smoke = Wide & shallow check of entire build stability. Sanity = Narrow & deep check of specific bug fix or feature.
Q: What makes a good test case?
Clear title, specific steps, expected result, test data, and covers positive, negative and boundary scenarios.
Q: What tools do you know?
JIRA (bug tracking), Selenium (automation), Playwright, Postman (API), TestNG, JMeter (performance).
Must-Know Interview Q&A — Part 3
Q: What is Severity vs Priority?
Severity = Bug's impact on functionality (set by tester). Priority = Order of fixing (set by manager). High Severity ≠ High Priority always.
Q: What is Exploratory Testing?
Unscripted testing where tester simultaneously learns, designs and executes tests using experience and intuition.
Q: What is End-to-End Testing?
Testing complete workflow from start to finish simulating real user behavior. e.g. Login → Add to cart → Checkout → Payment → Confirmation.
Q: What is Alpha vs Beta Testing?
Alpha = Internal testing by dev team at developer's site. Beta = External testing by real users at customer's location.
Q: How do you report a bug?
Bug ID, Title, Module, Environment, Steps to Reproduce, Expected Result, Actual Result, Severity, Priority, Screenshot/Video.
Q: What is Test Closure?
Last phase of STLC — activities include creating test summary report, lessons learned document, and formal sign-off from stakeholders.
Q: What is Defect Leakage?
When a bug escapes testing and is found by end user in production. Indicates gap in test coverage.