3a6cacee-66db-421c-b3bf-22d689268f07--ÆæØøÅåÑШш--ST_assi_1
3a6cacee-66db-421c-b3bf-22d689268f07--ÆæØøÅåÑШш--ST_assi_1
3a6cacee-66db-421c-b3bf-22d689268f07--ÆæØøÅåÑШш--ST_assi_1
oftware Testingis the process of evaluating and verifying that a software application or
S
system performs as expected. It involves executing a program to identify gaps, errors, or
unmet requirements compared to the desired outcomes.
.
1 etect Defects: Identify errors or issues in the software.
D
2. Ensure Quality: Ensure the software meets the quality standards.
3. Verify Functionality: Confirm that the software performs its intended functions.
4. Improve User Experience: Ensure the software is user-friendly and meets end-user
requirements.
5. Ensure Reliability: Verify that the software can operate without failure under given
conditions.
.
6 Validate Requirements: Confirm that the software meets the specified requirements.
7. Reduce Costs: Identify issues early to minimize the cost of fixing them later.
8. Ensure Security: Validate that the software is secure and protected from
vulnerabilities.
heSoftware Testing Life Cycle (STLC)is a systematic process for performing software
T
testing. It involves multiple stages to ensure comprehensive testing of the application.
Phases of STLC:
Diagram of STLC:
equirement Analysis → Test Planning → Test Case Development → Environment Setup →
R
Test Execution → Test Closure
● E rror: A mistake made by a developer during software development that leads to
incorrect behavior or results.
● Defect: An issue in the software that deviates from its expected behavior or
requirements. Detected during testing.
● Failure: When the software fails to perform its intended function due to defects or
errors during execution.
Activity Type S
tatic (reviews, inspections, ynamic (actual execution of
D
walkthroughs). software).
erformed
P Before the testing phase. After the testing phase.
When
.
1 bservability: Clear visibility into internal states and output responses.
O
2. Control: Ability to set the software to specific states.
3. Decomposability: Modular design for isolating specific components for testing.
4. Simplicity: Avoid unnecessary complexity for better testability.
5. Understandability: Well-documented and self-explanatory design.
6. Stability: Minimal changes between versions to reduce retesting efforts.
7. Automatability: Support for automation tools and scripts.
.
1 est Case ID: Unique identifier.
T
2. Test Description: Summary of what the test case will validate.
3. Preconditions: Requirements that need to be fulfilled before execution.
4. Steps to Execute: Step-by-step instructions for execution.
5. Expected Result: The anticipated outcome.
6. Actual Result: The observed result during execution.
7. Status: Pass/Fail.
8. Remarks: Notes or observations.
est
T est
T Precondition teps to
S Expected Actua Statu Remark
Case Descriptio s Execute Result l s s
ID n Resul
t
C00
T erify login U
V ser must 1 . Enter ser
U User Pass N/A
1 functionali have valid username successfull logge
ty credentials 2. Enter y logs in in
d
password3
. Click
"Login"
nowledge
K o programming knowledge
N equires programming
R
Required required. knowledge.
Focus alidates software behavior based Verifies code logic and structure.
V
on requirements.
echniques
T quivalence partitioning,
E asis path testing, statement
B
Used boundary value analysis, decision coverage, branch coverage,
table testing. condition coverage.