Software Testing Interview Preparation Notes
Software Testing Interview Preparation Notes
1) Software Testing Life Cycle (STLC) with Documents for Entry and Exit Criteria
STLC consists of multiple phases where each phase has defined entry and exit criteria.
Example:
If the Test Execution phase is starting, its entry criteria would be that the environment is set
up, test cases are ready, and testers are prepared. The exit criteria would be that all test cases
have been executed, defects are logged, and execution reports are available.
2) Pesticide Paradox
The Pesticide Paradox states that running the same set of test cases repeatedly will not find
new defects over time.
Solution:
• Testers should review and update test cases periodically.
• Apply different testing techniques like exploratory testing or error guessing to uncover
hidden defects.
Example:
If a login page is tested repeatedly with the same username and password combinations,
undiscovered edge cases (like special characters in passwords or session timeouts) might
never be tested.
V. Smoke Testing
Basic testing to ensure critical functionalities work.
Usually performed on new builds.
Example: Checking if the application launches without errors after deployment.
6) Defect Report
A defect report should include:
• Defect ID
• Summary
• Steps to Reproduce
• Expected Result
• Actual Result
• Severity & Priority
• Attachments (screenshots/logs)
Example: If clicking the "Add to Cart" button does nothing, the defect report should specify
steps, expected behaviour, and actual result.
7) Test Plan
A Test Plan is a document that outlines:
• Scope of testing
• Objectives
• Testing types
• Environment
• Deliverables
Example:
• Scope: Testing a banking app's transaction module.
• Test Strategy: Functional, API, and security testing.
• Test Deliverables: Test Cases, Defect Reports, Execution Summary.
9) Interface Testing
• Ensures correct communication between Client, Server, and Database.
Example:
In a banking app, checking if a money transfer request correctly updates the database
and displays the correct balance.
Error Guessing:
• Based on tester experience.
Example:
• Entering special characters in a name field to check for errors.
Authorization:
• Verifies what you can access after authentication.
• Grants permissions based on user roles.
Example:
Suspension Criteria:
• Testing is paused when major issues prevent meaningful progress.
Example:
• If the database is down, testing is suspended until it's fixed.
Masked Defect:
• A defect hidden by another defect.
Example:
• A UI crash prevents testers from noticing a broken search function.
Defect Clustering:
• A small part of the application has most of the defects.
Example:
• 80% of bugs in an e-commerce app occur in the checkout module.
Defect Cascading:
• One defect triggers other defects.
Example:
• A wrong database update → causes incorrect billing → leads to failed transactions.
Bug Leakage:
• Unintentional defects that escape testing and are found by users in production.
Example:
• A critical checkout error in an e-commerce app discovered after release.
Concurrency Testing:
• Evaluates system performance under multiple users accessing it simultaneously.
Example:
• 100 users booking tickets at the same time on a movie ticketing app.