Lavanya
Lavanya
• Software Testing
Why to test?
testing becomes absolutely essential to make sure the software works
properly and does the work that it is meant to perform.
What to test?
Any working product which forms part of the software application
has to be tested. Both data and programs must be tested.
Who tests?
Programmer, Tester and Customer
Software Development Lifecycle (SDLC)
• Inception
• Requirements
• Design
• Coding
• Testing
• Release
• Maintenance
Inception
Integration Testing
When all the individual program units are tested in the unit testing phase and all units are
clear of any known bugs, the interfaces between those modules will be tested
Ensure that data flows from one piece to another piece
System Testing
After all the interfaces are tested between multiple modules, the whole set of
software is tested to establish that all modules work together correctly as an application.
Put all pieces together and test
Acceptance Testing
The client will test it, in their place, in a near-real-time or simulated environment.
Release to Production and Warranty
Period
Bug fixing
Upgrade
Enhancement
After some time, the software may become obsolete and will
reach a point that it cannot be used. At that time, it will be
replaced by another software which is superior to that. This is the
end of the software
We do not use FoxPro or Windows 3.1 now as they are gone!
Development Models
• Plan
– Create master test plan (MTP) – done by test manager
or test lead
– Create Detailed Test Plan (what to test) – by testers –
this will contain test scenarios also known as test
conditions
– Create Detailed Test Cases (DTC) – how to test – by
testers
• Execute
• Regress and Analyze
Detailed Test Plan
• What is to be tested ?
– Configuration – check all parts for existence
– Security – how the safety measures work
– Functionality – the requirements
– Performance – with more users and more data
– Environment – keep product same but other settings
different
Detailed Test Cases
Install Tests
• Auto install in default mode
• Does the installer check for the prequsites?
• Does the installer check for the system user privileges?
• Does the installer check for disk and memory space?
• Does the installer check for the license agreement ?
• Does the installer check for the right product key?
• Does the installer installs in the default path?
• Do we have different install types like custom, full,
compact, fully?
Install Tests continued..
Navigation Tests
Once install complete, start the application
Move to every possible screen using menus,
tool bar icons, short cut keys, or links.
Check for respective screen titles and screen
fields for the existence.
Move back and forth from various screens to
other forms in adhoc
Exit the application and restart the application
many times
Core Functional Test
Problem Severity Show stopper/High/Medium/Low. This will be agreed by the lead tester and the development
project manager.
Problem Detailed Description A description of what was tested and what happened
This will be filled by the tester.
Problem Resolution After fixing the problem, the developer fills this section, with details about the fix. Developer
gives this
• New
• Do it until solved
• Open
• In-Fix
• Fix-Complete
• In-Retest
• Retest-Complete
• Closed
• Retest-Complete
• Open
•
Test Records
When multiple testers execute test cases each tester fills up the actual
results section in the test case sheets and determines whether the test
has passed or failed.
These test cases along with the results will be reviewed (in peer reviews
by fellow testers or by individual testers) and approved by the lead tester.
The number of such test cases executed will increase day by day, when
the test cycle progress.
Each of these test case sheets will be maintained in a central location for the
team members to know the progress.
The collection of such executed test case sheets along with TPRs is
called test records.
Test Reports and Test Summary
Test Report
• Individual testers will be sending their status on executing the
test cases to the lead tester, on a timely basis as described
in the test plan document.
Test Summary
The senior management would like to get a global
picture on all projects in terms of numbers.