Sie sind auf Seite 1von 10

Name of the Student:

USN of the Student:

Test Case Name : Boundary Value Analysis for Commission Problem


Experiment Number : 2
Test data : price for lock $ 45.0 , stock $30.0 and barrel $25.0
Sales = total lock * lock price + total stock * stock price + total barrel * barrel price
Commission : 10% up to sales $ 1000 , 15 % of the next $ 800 and 20 % on any sales in excess of $ 1800
Pre-condition : lock = -1 to exit and 1< =lock < = 70 , 1<=stock <=80 and 1<=barrel<=90
Brief Description: The salesperson had to sell at least one complete rifle per month.

Checking boundary value for locks, stocks and barrels and commission

Commission Problem Output Boundary Value Analysis Cases


Expected
Input Data Actual output
Output
Case Id Description Status
Total Total Comm Comm
Total Stocks Sales Sales Comment
Locks Barrels -ission -ission
Enter the min value for locks, stocks
1 and barrels

2 Enter the min value for 2 items and


3 min +1 for any one item
4
Enter the value sales approximately
5 mid value between 100 to 1000

6
Enter the values to calculate the
7 commission for sales nearly less than
1000
8
Enter the values sales exactly equal
9 to 1000

10
Enter the values to calculate the
commission for sales nearly greater
11 than 1000
12
Enter the value sales approximately
13 mid value between 1000 to 1800

14 Enter the values to calculate the


commission for sales nearly less than
15
1800
16
Enter the values sales exactly equal
17 to 1800

18 Enter the values to calculate the


commission for sales nearly greater
than 1800
19
20
Enter the values normal value for
21 lock, stock and barrel

22
Enter the max value for 2 items and
23 max - 1 for any one item

24

Enter the max value for locks,stocks


25 and barrels

Output Special Value Test Cases


Actual output
Input Data Expected Output
Case Id Description Com
Total Total Total Commiss
Sales Sales missi Status Comment
Locks Stocks Barrels ion
on
Enter the random values such that to calculate
1
commission for sales nearly less than 1000

Enter the random values such that to calculate


2
commission for sales nearly greater than 1000

Enter the random values such that to calculate


3
commission for sales nearly less than 1800

Enter the random values such that to calculate


4
commission for sales nearly greater than 1800

Commission Problem - BVA & Robust BVA Test cases


Input Data Expected Output Actual output
Case Id Description Com
Total Total Total Commiss
Sales Sales missi Status Comment
Locks Stocks Barrels ion
on

BVA-1
RBVA-1
Commission Problem- Worst BVA Test cases

Input Data Expected Output Actual output


Case Id Description Com
Total Total Total Commiss
Sales Sales missi Status Comment
Locks Stocks Barrels ion
on

WBVA-1
Commission Problem - Robust Worst BVA Test cases
Input Data Expected Output Actual output
Case Id Description Com
Total Total Total Commiss
Sales Sales missi Status Comment
Locks Stocks Barrels ion
on

RWBVA-1

Das könnte Ihnen auch gefallen