SDLC · STLC · TEST CASE · BUG LIFECYCLE · TESTING TYPES · BVA · AGILE · JIRA · INTERVIEW READY
| Verification | Validation |
|---|---|
| Are we building the product RIGHT? | Are we building the RIGHT product? |
| Process oriented | Product oriented |
| Static testing (no execution) | Dynamic testing (execution) |
| Reviews, walkthroughs, inspections | Actual testing of software |
| Done by QA team | Done by testing team |
| Early in SDLC | Later in SDLC |
| Aspect | Black Box | White Box | Grey Box |
|---|---|---|---|
| Knowledge | No code knowledge | Full code knowledge | Partial knowledge |
| Done by | Tester/QA | Developer | Tester + Dev |
| Focus | Input/Output | Internal code | Both |
| Also called | Functional | Structural | Translucent |
| Techniques | BVA, EP, Decision | Statement, Branch | Matrix, Pattern |
| Static Testing | Dynamic Testing |
|---|---|
| No code execution | Code is executed |
| Reviews, walkthroughs | Running test cases |
| Early defect finding | Runtime defect finding |
| Cheaper to fix | Costlier to fix |
| Field | Value |
|---|---|
| Test Case ID | TC_LOGIN_001 |
| Title | Verify valid login with correct credentials |
| Precondition | User is registered. Browser is open. |
| Step 1 | Navigate to login page |
| Step 2 | Enter Username: admin@test.com |
| Step 3 | Enter Password: Admin@123 |
| Step 4 | Click "Login" button |
| Expected | User is redirected to Dashboard page |
| Actual | User redirected to Dashboard ✅ |
| Status | PASS |
| Priority | High |
| Type | Positive Test |
| Test Scenario | Test Case |
|---|---|
| High-level description | Detailed step-by-step |
| What to test | How to test |
| One scenario → many cases | Specific single test |
| No test data | Has test data |
| e.g. "Test Login" | e.g. TC_001 valid login steps |
| Severity | Priority |
|---|---|
| Impact on functionality | Order of fixing |
| Technical perspective | Business perspective |
| Set by: Tester | Set by: Product Manager |
| S1-Critical, S2-Major | P1-High, P2-Medium, P3-Low |
| Scenario | Severity | Priority |
|---|---|---|
| Payment system crashes | Critical | High |
| Logo not showing on homepage | Minor | High |
| Crash in rarely used feature | Critical | Low |
| Spelling error on footer | Minor | Low |
| Field | Value / Example |
|---|---|
| Bug ID | BUG_LOGIN_001 |
| Bug Title | Login fails with valid credentials |
| Module | Login / Authentication |
| Environment | Chrome v120, Windows 11, QA env |
| Build Version | v2.3.1 |
| Severity | Critical |
| Priority | High |
| Steps to Reproduce | 1. Open login page 2. Enter valid credentials 3. Click Login |
| Expected Result | User logged in, redirected to dashboard |
| Actual Result | Error: "Invalid credentials" shown |
| Attachments | Screenshot / Screen recording |
| Reported By | QA Tester Name |
| Date | 01-Mar-2025 |
| Status | New |
| Partition | Range | Test Value | Type |
|---|---|---|---|
| Below valid | 0 – 17 | 10 | Invalid |
| Valid | 18 – 60 | 35 | Valid |
| Above valid | 61+ | 70 | Invalid |
| Username | Password | Action |
|---|---|---|
| Valid | Valid | Login Success |
| Valid | Invalid | Show Error |
| Invalid | Valid | Show Error |
| Invalid | Invalid | Show Error |
| Value | Type | Valid? |
|---|---|---|
| 17 | Just below min | Invalid |
| 18 | Minimum (lower boundary) | Valid |
| 19 | Just above min | Valid |
| 59 | Just below max | Valid |
| 60 | Maximum (upper boundary) | Valid |
| 61 | Just above max | Invalid |
| Current State | Event | Next State |
|---|---|---|
| Logged Out | Valid login | Logged In |
| Logged Out | Invalid (1st) | 1 Failed Attempt |
| 1 Failed | Invalid (2nd) | 2 Failed Attempts |
| 2 Failed | Invalid (3rd) | Account Locked |
| Logged In | Logout click | Logged Out |
| Account Locked | Admin unlock | Logged Out |
| Req ID | Requirement | Test Case | Status |
|---|---|---|---|
| REQ_001 | User Login | TC_001, TC_002 | Pass |
| REQ_002 | User Logout | TC_003 | Pass |
| REQ_003 | Reset Password | TC_004, TC_005 | Fail |
| REQ_004 | Register User | TC_006 | Blocked |
| Metric | Formula |
|---|---|
| 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 |
| Section | Content |
|---|---|
| Project Info | Name, version, test period |
| Test Scope | What was tested / not tested |
| Test Results | Pass/Fail/Blocked counts |
| Defect Summary | Total bugs, severity breakdown |
| Coverage | % requirements covered |
| Risks | Known risks, outstanding issues |
| Recommendations | Go/No-Go decision, suggestions |
| Sign-off | QA Lead, PM, stakeholder approval |
| Aspect | Smoke | Sanity | Regression |
|---|---|---|---|
| Purpose | Build stable? | Fix verified? | Nothing broken? |
| Scope | Wide, shallow | Narrow, deep | Wide, deep |
| When | New build | After bug fix | After any change |
| Scripted? | Yes | Usually not | Yes |
| Time | Short | Short | Long |