You are on page 1of 3

1

TEST CASE REPORT FOR SENSOR READING:

In the first column I took all the conditions and actions related to the requirement. All the other columns represent
Test Cases.

Here are some conditions to pressure differentiate on sensor reading:

 If A>300 & B> 200


 If A<300 & B >200
 If B<200
 Alert is already on in DB
 Alert is 1st failure
 Sill no notification sends to user
 Notification already sent to user after alert

Here are some actions taken accordingly conditions to pressure differentiate on sensor reading:

 Notification will send to user after failure attempts


 Alert will continue
 Count of alert & notifications will store in alerts
 Do nothing
 Clear all alerts & notify the user

Here I create a “Decision table” under what condition the action be performed Now let’s
see the tabular column below

In the first column I took all the conditions and actions related to the requirement. All the other
columns represent Test Cases.
T = True, F = False,
As we see in above table from the case 4 and case 5, if pressure is not greater than the given limit I.e.,
is 200 & 300 & it was just 1st failure then system will execute Action 4.
So, I am eliminating test case 4 and concluding with the below tabular column.

ID CONDITONS/AC TEST TEST TEST TEST TEST TEST CASE TEST


2

TIONS CASE 1 CASE 2 CASE 3 CASE 4 CASE 5 6 CASE 7

CONDITION 1 A>300, B>200 T T T F F F F

CONDITION 2 (A<300 and F F F F F F T


B>200)

CONDITION 3 B<200 F F F F F T F

Alert is already on T T F F T T T
CONDITION 4 in DB

DB Alert was 1st


CONDITION 5 Failure i.e., no T F F F T F F
notification to
user yet
Notify User on
ACTION 1 Alert: this is 2nd Execute
failure to notify
user

Continuing
ACTION 2 Alert;//More than Execute Execute
2 failure
attempts, user
has already
notified;
Store in
ACTION 3 Alerts;//but no Execute
Notification to
users i.e. Is Notify
= 0, Alert Count =
1;

ACTION 4 Do Nothing Execute Execute

ACTION 5 Clear Alert &


Notify User Execute
3

So finally concluding with the below tabular column.

ID CONDITONS/AC TEST TEST TEST TEST TEST CASE TEST


TIONS CASE 1 CASE 2 CASE 3 CASE 4 5 CASE 6

CONDITION 1 A>300, B>200 T T T F F F

CONDITION 2 (A<300 and F F F F F T


B>200)

CONDITION 3 B<200 F F F F T F

Alert is already on T T F T T T
CONDITION 4 in DB

DB Alert was 1st


CONDITION 5 Failure i.e., no T F F T F F
notification to
user yet
Notify User on
ACTION 1 Alert: this is 2nd Execute
failure to notify
user

Continuing
ACTION 2 Alert;//More than Execute Execute
2 failure
attempts, user
has already
notified;
Store in
ACTION 3 Alerts;//but no Execute
Notification to
users i.e. Is Notify
= 0, Alert Count =
1;

ACTION 4 Do Nothing Execute

ACTION 5 Clear Alert &


Notify User Execute

You might also like