The primary objective of test case(s)
preparation is to see weather requirements of the application/system/product
are fully covered or not. Test Cases can be prepared from the use cases. If use
cases or not available then, test cases can be Prepared from SRS & design
documents.
Test cases are
prepared using following techniques
Boundary value analysis
A test data selection technique in which
values are chosen to lie along data extremes.
Boundary values include maximum, minimum, just inside/outside
boundaries, typical values, and error values. The hope is that, if a systems
works correctly for these special values then it will work correctly for all
values in between.
Equivalence class path: -
Is a technique where test cases are
designed with a valid and invalid range of Values Range is decided with
reference to SRS. Examples are
a) Range
b) Set
c) Number of
inputs
d) Exists/constraint
Error guessing
Is a test case
design technique where the experience of the tester is used to guess what
faults might occur and to design test cases specifically to expose them.
Few of the
techniques are:-
a) Null input.
b) Long input.
c) Random input.
d) Almost correct
input.
e) Spaces in
strings.
f) Quoted strings.
g) All CAPS.
h) Negative
numbers.
i) Special
characters
(Note) All the above mentioned techniques for error guessing are valid if SRS
has a Limitation(s) on it.