Master the fundamental concepts of manual testing that form the backbone of software quality assuranceβapplicable across all domains, tools, and technologies.
This section covers the fundamental concepts of manual testing that every QA engineer must clearly understand before moving into automation.
These concepts form the backbone of software quality assurance and are applicable across:
[!IMPORTANT] Automation tools and frameworks are effective only when built on strong testing fundamentals. Understanding these concepts is non-negotiable for any QA professional.
graph TD
A[Manual Testing Foundation] --> B[Critical Thinking]
A --> C[Test Design Skills]
A --> D[Domain Knowledge]
B --> E[Better Automation]
C --> E
D --> E
E --> F[Higher Quality Product]
style A fill:#e1f5ff
style E fill:#fff3cd
style F fill:#d4edda
β
Exploratory Testing - Discover unexpected issues automation canβt find
β
Usability Testing - Evaluate user experience and interface intuitiveness
β
Ad-hoc Testing - Quickly validate fixes without scripting overhead
β
Flexible Execution - Adapt test approach based on findings
β
Critical Thinking - Develop problem-solving skills essential for automation
β
Domain Expertise - Build deep understanding of application behavior
mindmap
root((Testing<br/>Types))
Functional
Unit
Integration
System
Acceptance
Non-Functional
Performance
Security
Usability
Compatibility
Maintenance
Smoke
Sanity
Regression
Functional testing verifies that the application behaves according to business requirements and functional specifications.
Testing the βwhatβ of the applicationβwhat features does it provide and do they work correctly?
Login Functionality:
β User can log in with valid credentials
β User is blocked with invalid credentials
β Password masking works correctly
β "Forgot Password" link navigates properly
β Account locks after 3 failed attempts
E-commerce Cart:
β Items can be added to cart
β Quantity can be updated
β Items can be removed
β Cart total calculates correctly
β Free shipping applied when threshold met
Regression testing ensures that existing functionalities continue to work correctly after changes.
Testing to verify that recent code changes havenβt adversely affected existing features.
flowchart TD
A[Code Change] --> B{Impact Analysis}
B -->|High Impact| C[Full Regression Suite]
B -->|Medium Impact| D[Selective Regression]
B -->|Low Impact| E[Smoke + Sanity Tests]
C --> F[Execute Tests]
D --> F
E --> F
F --> G{All Tests Pass?}
G -->|Yes| H[β
Deploy]
G -->|No| I[π Fix Issues]
I --> F
style C fill:#ffcccc
style H fill:#d4edda
style I fill:#f8d7da
[!TIP] Regression testing is repetitive in nature and is a strong candidate for automation. Automate stable, frequently-run regression tests to save time.
| Practice | Description |
|---|---|
| Prioritize test cases | Critical features first, then medium, then low priority |
| Maintain test suite | Remove obsolete tests, update for requirement changes |
| Automate where possible | Reduce manual effort for repetitive tests |
| Track coverage | Ensure all critical paths are tested |
Smoke testing is a shallow and wide test performed to verify that critical functionalities of a build are working.
A quick, broad test to check if the βhouse is on fireβ (critical failures exist).
Verify that the build is stable enough for detailed testing.
Pass β Proceed with detailed testing
Fail β Reject the build (send back to development)
E-commerce Application:
1. β Application launches successfully
2. β Homepage loads without errors
3. β User can log in
4. β Product search returns results
5. β Product can be added to cart
6. β Checkout page loads
7. β Order can be placed
8. β User can log out
Duration: Typically 15-30 minutes for manual execution
Sanity testing is a focused and narrow test performed after minor changes to verify that a specific functionality or bug fix works as expected.
A quick check to ensure a specific functionality works correctly after a change.
Verify that the targeted fix or feature works without breaking related functionality.
Bug Fix: βLogin button remained disabled after entering valid credentialsβ
Sanity Test:
1. Navigate to login page
2. Enter valid credentials
3. β Verify button becomes enabled
4. Click login button
5. β Verify successful login
6. β Verify related logout functionality still works
| Aspect | Smoke Testing | Sanity Testing |
|---|---|---|
| Scope | Broad (entire application) | Narrow (specific feature) |
| Depth | Shallow | Focused |
| Purpose | Build stability verification | Specific fix verification |
| Performed By | Developers or QA | QA Team |
| Documentation | May be documented | Usually undocumented |
| When | New build deployment | After bug fix or minor change |
| Example | Test all major features briefly | Test only the fixed login issue |
graph TB
A[Black Box Testing] --> B[Equivalence<br/>Partitioning]
A --> C[Boundary Value<br/>Analysis]
A --> D[Decision Table<br/>Testing]
A --> E[State Transition<br/>Testing]
B --> F[Reduce test cases<br/>while maintaining<br/>coverage]
C --> G[Test at<br/>boundaries where<br/>bugs cluster]
D --> H[Handle complex<br/>business rules]
E --> I[Test state-based<br/>behavior]
style A fill:#e1f5ff
style B fill:#fff3cd
style C fill:#fff3cd
style D fill:#fff3cd
style E fill:#fff3cd
Black box testing focuses on testing the system without knowledge of internal code or implementation. Test cases are derived from requirements and specifications.
Divide input data into equivalence classes where all values in a class should behave similarly. Test one representative value from each partition.
Requirement: Valid age range is 18β60
Equivalence Classes:
| Partition | Range | Type | Test Values | Expected Result |
|---|---|---|---|---|
| P1 | age < 18 | Invalid | 10, 15, 17 | β Error message |
| P2 | 18 β€ age β€ 60 | Valid | 25, 40, 55 | β Accepted |
| P3 | age > 60 | Invalid | 65, 80, 100 | β Error message |
Test Cases:
TC-EP-01: Enter age = 15 β Expected: Error "Age must be 18-60"
TC-EP-02: Enter age = 30 β Expected: Age accepted
TC-EP-03: Enter age = 70 β Expected: Error "Age must be 18-60"
Requirement:
SAVE10 β 10% discountSAVE20 β 20% discountEquivalence Classes:
Valid Class 1: SAVE10
Valid Class 2: SAVE20
Invalid Class: Any other string
Test values at the boundaries of input ranges, where defects are most likely to occur.
Developers often make mistakes in boundary conditions:
< vs <=)For range [min, max], test:
| Test Case | Length | Input | Expected Result |
|---|---|---|---|
| TC-BVA-01 | 7 | Test@12 | β Error: βMin 8 charsβ |
| TC-BVA-02 | 8 | Test@123 | β Valid |
| TC-BVA-03 | 9 | Test@1234 | β Valid |
| TC-BVA-04 | 15 | Test@1234567890 | β Valid |
| TC-BVA-05 | 16 | Test@12345678901 | β Valid |
| TC-BVA-06 | 17 | Test@123456789012 | β Error: βMax 16 charsβ |
Use a decision table to capture complex business rules involving multiple conditions and corresponding actions.
Business Rules:
Loan approved if:
- Income β₯ $50,000 AND
- Credit Score β₯ 700
Decision Table:
| Rule | R1 | R2 | R3 | R4 |
|---|---|---|---|---|
| Conditions | Β | Β | Β | Β |
| Income β₯ $50K | β Yes | β Yes | β No | β No |
| Credit β₯ 700 | β Yes | β No | β Yes | β No |
| Actions | Β | Β | Β | Β |
| Approve Loan | β | β | β | β |
| Reject Loan | β | β | β | β |
| Rejection Reason | - | Low Credit | Low Income | Both Insufficient |
Derived Test Cases:
TC-DT-01 (R1): Income=$60K, Credit=750 β Approved
TC-DT-02 (R2): Income=$60K, Credit=650 β Rejected (Low Credit)
TC-DT-03 (R3): Income=$40K, Credit=750 β Rejected (Low Income)
TC-DT-04 (R4): Income=$40K, Credit=650 β Rejected (Both)
Test state changes triggered by events or actions in systems where behavior depends on current state.
stateDiagram-v2
[*] --> Inactive: Account Created
Inactive --> Active: Email Verified
Active --> Locked: 3 Failed Logins
Locked --> Active: 15 Min Timeout
Active --> Suspended: Admin Action
Suspended --> Active: Admin Reactivate
Active --> Deleted: User Deletes
Deleted --> [*]
Test Cases:
| Test ID | Current State | Event | Expected New State |
|---|---|---|---|
| TC-ST-01 | Inactive | Verify Email | Active |
| TC-ST-02 | Active | 3 Failed Logins | Locked |
| TC-ST-03 | Locked | Wait 15 Minutes | Active |
| TC-ST-04 | Active | Admin Suspends | Suspended |
| TC-ST-05 | Suspended | Admin Reactivates | Active |
Invalid Transitions (Negative Testing):
TC-ST-NEG-01: Inactive β Locked (should not be possible)
TC-ST-NEG-02: Deleted β Active (should not be possible)
graph BT
A[Unit Testing] --> B[Integration Testing]
B --> C[System Testing]
C --> D[Acceptance Testing]
A -.-> E[Testing Pyramid]
B -.-> E
C -.-> E
D -.-> E
style A fill:#d4edda
style B fill:#fff3cd
style C fill:#ffeaa7
style D fill:#fab1a0
graph TD
subgraph " "
A["πΊ Acceptance Tests<br/>(Few, Slow, Expensive)"]
B["System Tests<br/>(Some, Medium Speed)"]
C["Integration Tests<br/>(More, Faster)"]
D["Unit Tests<br/>(Many, Fast, Cheap)"]
end
A --> B --> C --> D
style A fill:#fab1a0
style B fill:#ffeaa7
style C fill:#fff3cd
style D fill:#d4edda
Tests individual components or functions in isolation.
# Function to test
def calculate_discount(price, discount_percent):
if discount_percent < 0 or discount_percent > 100:
raise ValueError("Discount must be 0-100")
return price * (1 - discount_percent / 100)
# Unit test
def test_calculate_discount():
assert calculate_discount(100, 10) == 90
assert calculate_discount(100, 0) == 100
assert calculate_discount(100, 100) == 0
Verifies interaction between multiple modules or components.
Testing Integration:
Login Module + Database Module
β
Test: User authentication flow
- Login service calls database
- Database returns user record
- Login service validates credentials
- Session is created
| Approach | Description | When to Use |
|---|---|---|
| Big Bang | Integrate all modules at once | Small systems |
| Top-Down | Start from top-level modules | UI-driven applications |
| Bottom-Up | Start from low-level modules | API-driven systems |
| Sandwich | Combine top-down and bottom-up | Large complex systems |
End-to-end testing of the complete application as a whole.
E-commerce System Testing:
1. User Registration β Login β Browse Products
2. Add to Cart β Apply Coupon β Checkout
3. Payment Processing β Order Confirmation
4. Email Notification β Order Tracking
5. Returns and Refunds Flow
mindmap
root((System<br/>Testing))
Functional
Performance
Load
Stress
Spike
Security
Authentication
Authorization
Data Protection
Usability
Compatibility
Browser
Device
OS
Validates system readiness for production from a business perspective.
Banking Application:
Business User Tests:
1. Can I transfer funds between accounts?
2. Do transaction limits work correctly?
3. Are notifications sent as expected?
4. Can I download statements in required format?
5. Does the mobile app match desktop functionality?
**Feature:** Online Bill Payment
**Acceptance Criteria:**
β User can select payee from saved list
β User can add new payee with validation
β Payment amount is validated (min/max)
β Payment date can be scheduled for future
β Confirmation email is sent
β Transaction appears in history within 5 minutes
stateDiagram-v2
[*] --> New: Bug Discovered
New --> Assigned: Triaged
Assigned --> Open: Developer Accepted
Open --> Fixed: Code Fixed
Fixed --> ReadyForRetest: Build Deployed
ReadyForRetest --> Retest: QA Testing
Retest --> Verified: Fix Confirmed
Verified --> Closed: Approved
Retest --> Reopened: Still Failing
Reopened --> Open: Reassigned
New --> Rejected: Invalid/Duplicate
Rejected --> Closed
Closed --> [*]
note right of New: QA logs defect<br/>with details
note right of Fixed: Developer<br/>commits fix
note right of Retest: QA verifies<br/>the fix
note right of Reopened: Fix didn't work<br/>or incomplete
| State | Description | Responsible Party | Action Required |
|---|---|---|---|
| New | Defect identified and logged | QA | Document issue completely |
| Assigned | Assigned to developer | Dev Lead | Review and plan fix |
| Open | Developer working on fix | Developer | Implement solution |
| Fixed | Fix implemented in code | Developer | Update status, add fix notes |
| Ready for Retest | Fix deployed to test environment | DevOps/QA | Prepare for verification |
| Retest | QA verifying the fix | QA | Execute test cases |
| Verified | Fix confirmed working | QA | Final validation |
| Closed | Defect resolved successfully | QA/PM | Archive and track metrics |
| Reopened | Fix incomplete or failed | QA | Log additional details |
| Rejected | Not a bug, duplicate, or wonβt fix | Dev Lead/PM | Document reason |
| Reason | Description | Example |
|---|---|---|
| Not a Bug | Working as designed | βError message is intentional for that scenarioβ |
| Duplicate | Already reported | βSame as BUG-1234β |
| Cannot Reproduce | Unable to replicate | βFollowing steps doesnβt produce errorβ |
| Wonβt Fix | Business decision not to fix | βLow priority cosmetic issueβ |
| By Design | Intended behavior | βThis is per product requirementsβ |
[!TIP] Always document rejection reasons clearly to maintain team transparency and reduce future duplicates.
graph TB
subgraph "Severity vs Priority Matrix"
A[High Severity<br/>High Priority] --> A1[Critical Bug<br/>Fix Immediately]
B[High Severity<br/>Low Priority] --> B1[Rare edge case<br/>Schedule for later]
C[Low Severity<br/>High Priority] --> C1[Cosmetic issue<br/>on homepage]
D[Low Severity<br/>Low Priority] --> D1[Minor typo<br/>in footer]
end
style A fill:#ff0000,color:#fff
style B fill:#ff9900,color:#fff
style C fill:#ffcc00
style D fill:#99cc00
Definition: Indicates the technical impact of the defect on the system.
| Level | Description | Examples | System Impact |
|---|---|---|---|
| π΄ Critical | System crash, data loss, security breach | App crashes on launch, data corruption, SQL injection | β System unusable |
| π High | Major functionality broken, blocking workflow | Cannot login, payment fails, checkout broken | β οΈ Major feature broken |
| π‘ Medium | Partial functionality affected, workaround exists | Search slow, filter not working, validation error | β‘ Minor feature affected |
| π’ Low | UI or cosmetic issue, minimal impact | Text alignment, color mismatch, typo | βοΈ Cosmetic only |
Definition: Indicates how urgently the defect must be fixed from a business perspective.
| Level | Description | Response Time | Examples |
|---|---|---|---|
| P0 - Critical | Production down, severe revenue impact | Immediate (hours) | Payment gateway down, site inaccessible |
| P1 - High | Major feature broken, affects many users | < 24 hours | Login broken for all users |
| P2 - Medium | Moderate impact, affects some users | < 1 week | Feature works but has workaround |
| P3 - Low | Minor issue, affects few users | Next sprint | Cosmetic issue, rare edge case |
Bug: Payment gateway returns error for all transactions
Severity: Critical (major functionality broken)
Priority: Critical (revenue impact)
Action: Drop everything and fix immediately
Bug: App crashes when entering special character 'Θ' in name field
Severity: High (application crash)
Priority: Low (rare character, affects <0.1% users)
Action: Schedule for next sprint, document workaround
Bug: Company logo appears blurry on homepage
Severity: Low (cosmetic issue)
Priority: High (brand image, high visibility page)
Action: Fix before next release
Bug: Tooltip text has minor typo on rarely-used admin page
Severity: Low (cosmetic)
Priority: Low (low traffic page)
Action: Add to backlog for future fix
| Aspect | Severity | Priority |
|---|---|---|
| Perspective | Technical team | Business/Product team |
| Measures | Impact on system | Urgency for users |
| Determined By | QA/Developers | Product Manager/Stakeholders |
| Question | How bad is the impact? | How soon must it be fixed? |
| Can Change? | Rarely | Often (based on business needs) |
[!NOTE] Severity is typically set by QA based on technical impact. Priority is often adjusted by Product/Business teams based on customer impact and business goals.
Test coverage measures how much of the application is tested.
mindmap
root((Test<br/>Coverage))
Requirements
Functional Coverage
User Story Coverage
Code
Line Coverage
Branch Coverage
Path Coverage
Features
Feature Coverage
Module Coverage
| Metric | Formula | Target | Notes |
|---|---|---|---|
| Requirement Coverage | (Requirements Tested / Total Requirements) Γ 100 | 100% | Critical for UAT |
| Feature Coverage | (Features Tested / Total Features) Γ 100 | 90%+ | Prioritize critical features |
| Test Case Execution | (Executed Tests / Total Tests) Γ 100 | 100% | Before release |
| Defect Coverage | (Defects Found / Total Defects) Γ 100 | Unknown | Estimate using sampling |
[!WARNING] 100% coverage β 100% quality. Coverage measures breadth, not depth. Quality testing requires both coverage AND thorough test design.
graph TB
A[1. Testing shows presence of defects] --> H[ISTQB Testing<br/>Principles]
B[2. Exhaustive testing is impossible] --> H
C[3. Early testing saves time and money] --> H
D[4. Defects cluster together] --> H
E[5. Pesticide paradox] --> H
F[6. Testing is context-dependent] --> H
G[7. Absence-of-errors fallacy] --> H
style H fill:#e1f5ff
Testing can prove defects exist, but cannot prove they donβt exist.
Testing every combination is impractical. Use risk-based prioritization.
Shift-left testing - find bugs early when theyβre cheaper to fix.
Pareto principle: 80% of defects come from 20% of modules. Focus testing accordingly.
Repeating same tests wonβt find new bugs. Regularly review and update test cases.
Different applications need different testing approaches (e-commerce β medical device).
Bug-free software that doesnβt meet user needs is useless. Test for business value.
| Aspect | Smoke Testing | Sanity Testing | Regression Testing |
|---|---|---|---|
| Scope | Broad (entire app) | Narrow (specific feature) | Medium to Full |
| Depth | Shallow | Focused | Deep |
| Purpose | Build stability | Specific fix verification | Ensure no side effects |
| Performed By | Dev or QA | QA | QA |
| Automation | Often automated | Usually manual | Highly recommended |
| Time | 15-30 minutes | 10-20 minutes | Hours to days |
| When | New build | After bug fix | After any code change |
| Aspect | Manual Testing | Automated Testing |
|---|---|---|
| Best For | Exploratory, usability, ad-hoc | Regression, load, repetitive tests |
| Initial Cost | Low | High (tool + script development) |
| Execution Speed | Slow | Fast |
| Repeatability | Variable | Consistent |
| Flexibility | High | Low (requires script changes) |
| Human Insight | High | None |
| ROI | Quick for one-time tests | High for long-term projects |
| Pitfall | Why Itβs Bad | Solution |
|---|---|---|
| Testing without requirements | Unclear acceptance criteria | Always review requirements first |
| Only testing happy paths | Misses majority of real-world issues | For each positive test, write 2-3 negative tests |
| Skipping documentation | Canβt reproduce or track issues | Document all test cases and defects |
| Not retesting fixes | Bugs reappear in production | Always verify fixes before closing bugs |
| Ignoring environment differences | βWorks on my machineβ syndrome | Test in environment matching production |
| Testing too late | Expensive fixes | Shift-left: test early and often |
| 100% coverage goal | Wastes time on low-value tests | Prioritize based on risk and business value |
graph LR
A[β
Master<br/>Concepts] --> B[βοΈ Practice<br/>Exercises]
B --> C[π Build<br/>Portfolio]
C --> D[π Get<br/>Certified]
D --> E[πΌ Apply<br/>Skills]
style A fill:#d4edda
style B fill:#fff3cd
style C fill:#ffeaa7
style D fill:#fab1a0
style E fill:#e1f5ff
Proceed to: 1_manual_testing/exercises/
Apply these concepts through hands-on practice:
Document your work:
Consider ISTQB Foundation Level certification to:
Next Module: 02-api-testing/
| Version | Date | Changes |
|---|---|---|
| 2.0 | 2026-02-09 | Major enhancement: Added badges, 6 Mermaid diagrams, detailed explanations with real-world examples, comparison tables, testing pyramid, coverage metrics, testing principles, best practices, common pitfalls, expanded resources |
| 1.5 | 2026-01-15 | Added defect lifecycle and severity vs priority |
| 1.0 | 2025-11-10 | Initial manual testing concepts |
Help improve this learning resource!
How to Contribute:
Ideas for contributions:
β Strong fundamentals lead to successful automation! β
| Made with β€οΈ for aspiring QA Engineers | Last Updated: March 2026 |