sdet-roadmap

πŸ§ͺ Manual Testing – Core Concepts

Status Topics Difficulty Last Updated

Master the fundamental concepts of manual testing that form the backbone of software quality assuranceβ€”applicable across all domains, tools, and technologies.


πŸ“‘ Table of Contents


🎯 Overview

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.


πŸ’‘ Why Manual Testing Matters

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

Key Benefits:

βœ… 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


πŸ“š Core Testing Concepts

1️⃣ Types of Testing

mindmap
  root((Testing<br/>Types))
    Functional
      Unit
      Integration
      System
      Acceptance
    Non-Functional
      Performance
      Security
      Usability
      Compatibility
    Maintenance
      Smoke
      Sanity
      Regression

1.1 Functional Testing

Functional testing verifies that the application behaves according to business requirements and functional specifications.

πŸ“– Definition

Testing the β€œwhat” of the applicationβ€”what features does it provide and do they work correctly?

🎯 Focus Areas:

πŸ’‘ Examples:

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

πŸ” When to Perform:


1.2 Regression Testing

Regression testing ensures that existing functionalities continue to work correctly after changes.

πŸ“– Definition

Testing to verify that recent code changes haven’t adversely affected existing features.

🎯 Triggers for Regression Testing:

πŸ’‘ Strategy:

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.

πŸ“Š Best Practices:

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

1.3 Smoke Testing

Smoke testing is a shallow and wide test performed to verify that critical functionalities of a build are working.

πŸ“– Definition

A quick, broad test to check if the β€œhouse is on fire” (critical failures exist).

🎯 Objective:

Verify that the build is stable enough for detailed testing.

⏱️ Performed When:

βœ… Outcome:

Pass β†’ Proceed with detailed testing
Fail β†’ Reject the build (send back to development)

πŸ’‘ Example Smoke Test Suite:

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


1.4 Sanity Testing

Sanity testing is a focused and narrow test performed after minor changes to verify that a specific functionality or bug fix works as expected.

πŸ“– Definition

A quick check to ensure a specific functionality works correctly after a change.

🎯 Objective:

Verify that the targeted fix or feature works without breaking related functionality.

πŸ’‘ Example:

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

1.5 Smoke vs Sanity Comparison

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

2️⃣ Black Box Testing Techniques

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

πŸ“– Overview

Black box testing focuses on testing the system without knowledge of internal code or implementation. Test cases are derived from requirements and specifications.


2.1 Equivalence Partitioning (EP)

πŸ“– Concept

Divide input data into equivalence classes where all values in a class should behave similarly. Test one representative value from each partition.

🎯 Benefits:

πŸ’‘ Example 1: Age Field Validation

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"

πŸ’‘ Example 2: Discount Code

Requirement:

Equivalence Classes:

Valid Class 1: SAVE10
Valid Class 2: SAVE20
Invalid Class: Any other string

2.2 Boundary Value Analysis (BVA)

πŸ“– Concept

Test values at the boundaries of input ranges, where defects are most likely to occur.

🎯 Why Boundaries?

Developers often make mistakes in boundary conditions:

πŸ” BVA Rule:

For range [min, max], test:

πŸ’‘ Example: Password Length (8-16 characters)

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”

2.3 Decision Table Testing

πŸ“– Concept

Use a decision table to capture complex business rules involving multiple conditions and corresponding actions.

🎯 Best Suited For:

πŸ’‘ Example: Loan Approval System

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)

2.4 State Transition Testing

πŸ“– Concept

Test state changes triggered by events or actions in systems where behavior depends on current state.

🎯 When to Use:

πŸ’‘ Example: User Account States

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)

3️⃣ Levels of Testing

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

Testing Pyramid Concept

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

3.1 Unit Testing

πŸ“– Definition

Tests individual components or functions in isolation.

🎯 Characteristics:

πŸ’‘ Example:

# 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

3.2 Integration Testing

πŸ“– Definition

Verifies interaction between multiple modules or components.

🎯 Characteristics:

πŸ’‘ Example:

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

πŸ” Integration Approaches:

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

3.3 System Testing

πŸ“– Definition

End-to-end testing of the complete application as a whole.

🎯 Characteristics:

πŸ’‘ Example Test Scenarios:

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

πŸ“Š System Testing Types:

mindmap
  root((System<br/>Testing))
    Functional
    Performance
      Load
      Stress
      Spike
    Security
      Authentication
      Authorization
      Data Protection
    Usability
    Compatibility
      Browser
      Device
      OS

3.4 Acceptance Testing

πŸ“– Definition

Validates system readiness for production from a business perspective.

🎯 Characteristics:

πŸ’‘ UAT (User Acceptance Testing) Example:

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?

πŸ“Š Acceptance Criteria:

**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

4️⃣ Defect Life Cycle

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

πŸ“– Defect State Definitions

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

πŸ“Š Rejection Reasons:

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.


5️⃣ Severity vs Priority

πŸ“Š Decision Matrix

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

πŸ”΄ Severity

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

⏰ Priority

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

πŸ“‹ Real-World Examples

Example 1: High Severity, High Priority

Bug: Payment gateway returns error for all transactions
Severity: Critical (major functionality broken)
Priority: Critical (revenue impact)
Action: Drop everything and fix immediately

Example 2: High Severity, Low Priority

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

Example 3: Low Severity, High Priority

Bug: Company logo appears blurry on homepage
Severity: Low (cosmetic issue)
Priority: High (brand image, high visibility page)
Action: Fix before next release

Example 4: Low Severity, Low Priority

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

🎯 Key Differences

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.


6️⃣ Test Coverage

πŸ“– Definition

Test coverage measures how much of the application is tested.

πŸ“Š Types of Coverage:

mindmap
  root((Test<br/>Coverage))
    Requirements
      Functional Coverage
      User Story Coverage
    Code
      Line Coverage
      Branch Coverage
      Path Coverage
    Features
      Feature Coverage
      Module Coverage

🎯 Coverage Metrics:

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.


7️⃣ Testing Principles

πŸ“œ Seven Principles of Software Testing

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

1️⃣ Testing Shows Presence of Defects

Testing can prove defects exist, but cannot prove they don’t exist.

2️⃣ Exhaustive Testing is Impossible

Testing every combination is impractical. Use risk-based prioritization.

3️⃣ Early Testing Saves Time and Money

Shift-left testing - find bugs early when they’re cheaper to fix.

4️⃣ Defects Cluster Together

Pareto principle: 80% of defects come from 20% of modules. Focus testing accordingly.

5️⃣ Pesticide Paradox

Repeating same tests won’t find new bugs. Regularly review and update test cases.

6️⃣ Testing is Context-Dependent

Different applications need different testing approaches (e-commerce β‰  medical device).

7️⃣ Absence-of-Errors Fallacy

Bug-free software that doesn’t meet user needs is useless. Test for business value.


πŸ”„ Testing Comparisons

Smoke vs Sanity vs Regression

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

Manual vs Automated Testing

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

🧠 Best Practices

βœ… DO:

❌ DON’T:


⚠️ Common Pitfalls

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

πŸ“š Additional Resources

πŸŽ₯ Video Tutorials

🌐 Websites & Blogs

πŸ† Certifications


🎯 Next Steps

Learning Path

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

1. Practice Exercises

Proceed to: 1_manual_testing/exercises/

Apply these concepts through hands-on practice:

2. Build Portfolio

Document your work:

3. Get Certified

Consider ISTQB Foundation Level certification to:

4. Continue Learning

Next Module: 02-api-testing/


πŸ“„ Version History

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

🀝 Contributing

Help improve this learning resource!

How to Contribute:

  1. 🍴 Fork this repository
  2. ✏️ Add examples or improve explanations
  3. πŸ“ Share real-world scenarios
  4. πŸš€ Submit a pull request

Ideas for contributions:


⭐ Strong fundamentals lead to successful automation! ⭐

Made with ❀️ for aspiring QA Engineers Last Updated: March 2026

⬆ Back to Top