Powered By Blogger

Monday, March 12, 2012

Test Design Techniques


Test Design Techniques:

While developing the test cases if at all the test engineer feels complex in some areas to over come that complexity usually the test engineer will use test design techniques.

            Generally two types of techniques are used in most of the companies.
1.      Boundary Value Analysis (BVA).
2.      Equableness Class Partition (ECP).
1). Boundary Value Analysis (BVA).
When ever the engineers need to develop test cases for a range kind of input then they will go for boundary value analysis. Which describes to concentrate on the boundary of the rang.
            Usually they test with the following values.
            LB-1    LB       LB+1               MV                  UB-1    UB       UB+1

2). Equableness Class Partition (ECP).
When ever the test engineer need to develop test cases for a feature which has more number of validation then one will go for equableness class partition. Which describe first divide the class of inputs and then prepare the test cases.

Ex:      Develop the test cases for E-Mail Test box whose validations are as follows.

Requirements:
1.      It should accept Minimum 4 characters Maximum 20 characters.
2.      It should accept only small characters.
3.      It should accept @ and _ special symbols only.

Boundary Value Analysis:
LB-1    LB       LB+1               MV                  UB-1    UB       UB+1

            3ch      4ch      5ch                  12ch                19ch    20ch    21ch
Equableness Class Partition (ECP).

Valid

Invalid

4char
5char
12char
19char
20char
a – z
@
_

3char
21char
A – Z
0 – 9
All the Special Symbols apart form @ and _.
Alpha Numeric.
Blank Space
Dismal Numbers.

Test Case Document:

Test Case ID

Test Case Type

Description

Expected Value

1


2

+ve


-ve


Enter the value as per the VIT


Enter the value as per the IIT


It should accept.


It should not accept.



 Valid Input Table (VIT).                                                   Invalid Input Table (IIT).


Sl NO

Input
1

2

3

4

5

6
abcd

ab@zx

abcdabcd@ab_

abcdabcddcbaaccd_@z

abcdabcdabcdabcdz@_x

abcdabcdabcdabcd_xyz

Sl No

Input
1

2

3

4

5

6

7
abc

ABCD

ABCD123

12345.5

abcd abcd abcd abcd

abcdabcd-----abc*#)


                                        















No comments:

Post a Comment