STLC is a structured process that defines the phases of testing activities from start to finish.
STLC is similar to SDLC but focuses specifically on testing activities. Each phase has clear entry and exit criteria, defined deliverables, and responsibilities. Following STLC ensures testing is systematic, traceable, and repeatable across projects.
Understand business requirements, acceptance criteria, and scope of testing
Requirements Test Plan, Traceability Matrix
For e-commerce app: Identify requirements like 'User can add items to cart', 'Apply discount code', 'Complete payment'. These become testable requirements.
Define testing strategy, scope, timeline, resources, and budget
Test Plan document
Decide: We'll do manual functional testing (2 testers, 4 weeks), automated regression testing, and performance testing on 3 browsers.
Create detailed test cases covering positive, negative, and edge cases
Test Cases document (100+ pages typically)
Test Case: Login with invalid credentials. Steps: 1) Open login page 2) Enter invalid email 3) Enter wrong password 4) Click login. Expected: Error message 'Invalid credentials'. Actual: [To be filled during execution]
Prepare hardware, software, and data needed for testing
Test environment ready and verified
Set up 3 test servers with Windows/Linux/Mac, browsers (Chrome, Firefox, Safari), test database with 10,000 user records.
Run test cases and log results
Test Execution Report, Defect Report, Test Progress Dashboard
Day 1: Execute 50 test cases. 45 passed, 5 failed. Created 5 bugs. Day 2: Bugs fixed, re-test. All 50 passed.
Analyze overall testing effectiveness and close testing activities
Test Closure Report, Lessons Learned document
Coverage: 95% of requirements tested, 98% of code covered, 50 defects found and fixed. Quality ready for production.
You have 10 days to test a new payment module. Walk me through your STLC activities day by day.
📌 STLC ensures systematic, traceable, and repeatable testing. Skipping phases causes chaos.
Interviewers want to see candidates understand why each phase is critical and cannot be skipped.