Test Design Specifications: Automated Teller Machine System (ATMS) Independent Verification and Validation

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 22

Test Design

Specifications
Automated Teller Machine System
(ATMS)
Independent Verification and Validation

Version: 1.0.0
Date:
Document control
Document Name ATMS Test Design Specification (Iteration 1)
Reference Number ATMS_TDS_1
Version 1.0.0
Project Code XYZ_ATMS
Status In-use
Date Relapsed 10th JUNE 2021

Name Position Signature


Prepared By: Test Analyst

Reviewed By: Test Lead

Approved By: Test Manager

Version History
Version Release Date Section Amendments
1.0.0 All Original document
Distribution list
Release Controlled Recipient Issues Return
Version Department
Date Copy On Name Date Date
1.0.0 01
QA Dept.
1.0.0 02
Test Team
1.0.0 03
Table of Contents
Document control............................................................................................................................ 1
Version History................................................................................................................................ 1
Distribution list................................................................................................................................. 2
Table of Contents............................................................................................................................ 3

1.0 Introduction.............................................................................................................................. 4

1.1. Purpose......................................................................................................................... 4

1.2. Scope............................................................................................................................ 4

1.3. Reference...................................................................................................................... 4
2.0 Test Design............................................................................................................................. 5

2.1. Features to be tested.....................................................................................................5


2.2. Approach
Refinements....................................................................................................................

2.2.1 F007 Transfer.............................................................................................................. 5

2.3. Test Identification..............................................................Error! Bookmark not defined.

2.3.1Transfer................................................................................................................. 5

2.4. Feature Pass/Fail Criteria..............................................................................................5

2.5. Test Deliverables........................................................................Error! Bookmark not defined.


1. Introduction

1.1.Purpose
This test design specification supports the following objectives:

a. To identify the test items covered


b. To further refine the test approach from Test Plan
c. To define the sources of the information used to prepare the plan
d. To identify the general cases of test to be executed

1.2.Scope
The Test Design Specifications (TDS) cover Session Verification features developed in
ATMS

1.3.Reference
The following IEEE Standards have been referenced in preparation of this document:
a. IEEE 829-2008 Standard for Software and System Test Documentation.

The following documents provide the test basis for this test design:

a. ATMS Software Requirements Specification


b. ATMS System Design Specification
2 Test Design

2.1. Features to be tested


The following table contains the features to be tested based on ATMS Software Requirement
Spesifications (SRS) for this iteration. Listed together are the function ID and its
corresponding functions and estimated risk level.

Table 2.1: Features to be tested

Function ID Function Risk Level


F007 Transfer High

2.2. Approach Refinements


As discussed in Test Plan, test cases for ATMS will be designed using five techniques
which are covered in this section. Techniques are applied based on suitability of techniques
according to nature of features.

The techniques that will be applied are as follows:


1. Equivalence Partitioning (EP): it will used to spill PIN verification into possible partitions for
test.

2. Boundary Value Analysis (BVA): it will test the boundary values of the PIN input.

3. Decision Table Testing (DTT): it will be used to cover the major branches of decision.

4. State Transition Test (STT): it will be used to test the major states of ATMS.

5. Use Case Testing (UCT)

Nature of feature as below

 F007 Transfer –Enable user to perform a fund transfer.


2.2.1. F008 Balance Inquiry

Five techniques are identified for designing test for this feature, including:
1. Equivalence Partitioning (EP)

2. Boundary Value Analysis (BVA)

3. Decision Table Testing (DTT)

4. State Transition Test (STT)

5. Use Case Testing (UCT)

Equivalence Partitioning is used to split account type possible partitions for test.
Boundary Value Analysis will test the boundary values for the account type. Decision
Table is used to cover major branches of decision. State Transition testing will test for
major states of ATMS.
A.Equivalence Partitioning

Equivalence Partitioning Boundary Value Analysis


INPUT
Valid
Valid
0 < AT <= 3
Account
Type (AT) Invalid

Invalid AT = 0

Invalid
3 < AT <= 9

OUTPUT

Valid
1 3
Account Valid
Type (AT)
0 < AT<= 3
Invalid
0 0
Invalid

AT = 0

4 9
Invalid

AT > 3
Account Type Equivalence Partition & Boundary Value Analysis

-1 0 3 9
InvalidValidInvalid

AT = 0 < AT < AT >


0 4 3

Account Type Equivalence Partition

1 2147483647 2147483650
ValidInvalid

1 <= AoT < 2147483647 AoT > 2147483650

Amount of Transfer Equivalence Partition


Test Condition Test Condition Test Test Coverage Example of
ID Coverage ID Test Data
TCON-07-001 AT =0 TCOV-07-001 AT = 1 (Invalid) 0

TCON-07-002 0 < AT < 4 TCOV-07-002 0 < AT < 4 (Valid) 1,2,3

TCON-07-003 AT > 3 TCOV-07-003 AT > 3 (Invalid) 4,5,6,7

Account Type Equivalence Partitioning Test Conditions & Coverage

Test Condition Test Condition Test Test Coverage Example of


ID Coverage ID Test Data
TCON-07-004 1 <= AoT < 2147483647 TCOV-07-004 1 <= AoT < 2147483647 2147483647
(valid)

TCON-07-005 AT > 2147483647 TCOV-07-005 AT > 2147483647 2147483650


(Invalid)

Amount of Transfer Partitioning Test Conditions & Coverage


B.Boundary Value Analysis

0 0 1 3 4 9
InvalidValidInvalid

AT < 0 < AT < AT >


1 4 3
Account Type Boundary Value Analysis

Test Condition Test Condition Test Test Coverage Example of


ID Coverage ID Test Data
TCON-07-001 AT = 0 TCOV-07-001 AT = 0 (Invalid) 0
TCON-07-011 AT = 1 TCOV-07-011 AT = 1 (Valid) 1
TCON-07-012 AT = 3 TCOV-07-012 AT = 3 (Valid) 3
TCON-07-013 AT = 4 TCOV-07-013 AT = 4 (Invalid) 4
TCON-07-014 AT = 9 TCOV-07-014 AT = 9 (Invalid) 9
Account Type Boundary Value Analysis Test Conditions & Coverage

1 21474836467 2147483648 2147483650


Valid Invalid

1 <= AoT <2147483647


AoT > 2147483650

Amount of Transfer Boundary Value Analysis


Test Condition Test Condition Test Test Coverage Example of
ID Coverage ID Test Data
TCON-07-016 AoT = 0 TCOV-07-016 AoT = 0 (Invalid) 0

TCON-07-017 AoT = 1 TCOV-07-017 AoT = 1 (Valid) 1

TCON-07-018 AoT = 2147483647 TCOV-07-018 AoT= 2147483647 2147483647


(Valid)

TCON-07-019 AT = 2147483650 TCOV-07-019 AT = 2147483650 2147483648


(Invalid)

Amount of Transfer Boundary Value Analysis Test Conditions & Coverage


C.Decision Table Testing

Test Condition ID Test Condition


TCON-07-020 Valid Account Type
TCON-07-021 Prompt for transfer amount
TCON-07-022 Error Message
TCON-07-023 Re-Prompt for transfer amount
Transfer Decision Table Test Condition

Condition Case 1 Case 2 Case 4


Valid Account Type Y N Y
Action
Prompt for Transfer Y N Y
Amount
Error Message N Y Y
Re-Prompt for N N Y
transfer amount
Balance Inquiry Decision Table
D.State Transitioning Testing

Transfer State Transition Diagram


The test condition for state transition testing is as follows:
i. TCON-07-014 Transfer State Transition

State / Input Yes(Y) No(N) Cancel Transfer Invalid Valid Account Invalid Valid
(C) (T) Account Type (VAT) Amount Amount
Type Values (IAV) Value
(IAT) (VAMV)
Transaction Menu (S1) S1/- S1/- S5/EC S2/WI S1/- S1/- S1/- S1/-
TCOV- TCOV-
07-023 07-013
Reading Account S2/- S2/- S5/WI S2/1 S2/WI S3/WI S2/- S2/-
Transfer From (S2) TCOV- TCOV- TCOV-07-
07-011 07-023 015
Reading Account S3/- S3/- S5/WI S3/- S3/- S5/RL&PR S5/RL&DM S3/-
Transfer To (S3) TCOV- TCOV-07- TCOV-07-
07-007 008 009
Reading Amount Value S4/- S4/- S5/WI S4/- S4/- S4/- S5/RL
S5/RL&DM
(S4) TCOV- &PR
TCOV-07-
07-007 TCOV-
009 07-014
Performing Transaction S1/CT S6/EC S5/- S5/- S5/- S5/- S5/- S5/-
(S5) TCOV TCO
-07- V-07-
001 006
Ejecting Card (S6) S6/- S6/- S6/- S6/- S6/- S6/- S6/- S6/-
Transfer State Table

Test Coverage ID Test Coverage


TCOV-07-023 S1 to S5 with input C
TCOV-07-013 S1 to S2 with input T
TCOV-07-011 S2 to S5 with input C
TCOV-07-023 S2 to S2 with input IAT
TCOV-07-015 S2 to S3 with input VAT
TCOV-07-007 S3 to S5 with input C
TCOV-07-008 S3 to S5 with input VAT
TCOV-07-009 S3 to S5 with input IAV
TCOV-07-007 S4 to S5 with input C
TCOV-07-009 S4 to S5 with input IAV
TCOV-07-014 S4 toS5 with input VAMV
TCOV-07-001 S5 to S1 with input Y
TCOV-07-006 S5 to S6 with input N
Transfer State Coverage
A.Use Case Testing
Transfer Use Case

Test Condition Test Condition Test Coverage Test Coverage Test Data
ID ID
TCON-07-009 Main flow TCOV-07-009 Main flow - Choose
Transfer
- Account Type
=1
- Amount
transfer = 50000
TCON-07-016 Alternate flow – TCOV-07-016 Alternate Flow – - Account Type
Invalid Account Invalid Account (From) = 8
Type (From) Type (From) - Error message

TCON-07-017 Alternate Flow – TCOV-07-017 Alternate Flow – - Choose


Cancel Transfer Cancel Transfer Transfer
at Account Type at Account Type - Account Type
Selection (From) Selection (From) =1
- Cancel
TCON-07-013 Alternate Flow – TCOV-07-013 Alternate Flow – - Account Type
Invalid Account Invalid Account (To) = 8
Type (To) Type (To) - Error message

TCON-07-010 Alternate Flow – TCOV-07-010 Alternate Flow – - Choose


Cancel Transfer Cancel Transfer Transfer
at Account Type at Account Type - Account Type
Selection (To) Selection (To) =1
- Cancel
TCON-07-014 Alternate Flow – TCOV-07-014 Alternate Flow – - Transfer
Invalid Transfer Invalid Transfer Amount = -1
Amount Amount -Error message
TCON-07-015 Alternate Flow – TCOV-07-015 Alternate Flow – -Transfer amount
Cancel When Cancel When = NULL
Entering Entering -Cancel
Transfer Amount Transfer Amount
TCON-07-018 Alternate Flow – TCOV-07-018 Alternate Flow – -Done with
Perform Perform previous
Another Another transaction
Transaction Transaction - “YES” to
perform another
transaction
2.1. Test Identification
Test Case ID Description Test Coverage ID Test Condition ID
TC-07-001 Verify Account Type TCOV-07-001 TCON-07-001
(AT = 0)
TC-07-002 Verify Account Type TCOV-07-011 TCON-07-011
(AT = 1)
TC-07-003 Verify Account Type TCOV-07-002 TCON-07-002
TCOV-07-004 TCON-07-004
(AT = 3) TCOV-07-012 TCON-07-012
TC-07-004 Verify Account Type TCOV-07-003 TCON-07-003
TCOV-07-005 TCON-07-005
(AT = 4) TCOV-07-013 TCON-07-013
TC-07-005 Verify Account Type TCOV-07-003 TCON-07-003
TCOV-07-005 TCON-07-005
(AT = 9) TCOV-07-014 TCON-07-014
TC-07-006 Transfer Main Flow TCOV-07-010 TCON-07-010
TCON-07-011
TCOV-07-012 TCON-07-014
TCOV-07-014
TCOV-07-018
TCOV-07-019 TCON-07-015
TC-07-007 Transfer Alternate TCOV-07-011 TCON-07-012
flow – Invalid TCON-07-013
Account Type (From) TCOV-07-012 TCON-07-014
TCOV-07-015
TCOV-07-020 TCON-07-016
TC-07-008 Transfer Alternate TCOV-07-012 TCON-07-014
Flow – Cancel TCOV-07-016
Transfer at Account TCOV-07-021 TCON-07-017
Type Selection
(From)
TC-07-009 Transfer Alternate TCOV-07-016 TCON-07-014
Flow – Invalid TCOV-07-021 TCON-07-014
Account Type (To)
TC-07-010 Transfer Alternate TCOV-07-018 TCON-07-017
Flow – Invalid TCOV-07-019 TCON-07-015
Transfer Amount TCOV-07-011 TCON-07-012
TC-07-011 Transfer Alternate TCOV-07-012 TCON-07-014
Flow – Cancel When TCOV-07-014 TCON-07-014
Entering Transfer TCOV-07-018 TCON-07-018
Amount TCOV-07-019 TCON-07-015
TC-07-012 Transfer Alternate TCOV-07-016 TCON-07-012
Flow – Perform TCOV-07-021 TCON-07-013
Another Transaction
Transfer Test Identification

2.4 Feature Pass/ Fail Criteria

Each feature must satisfy the following criteria in order to pass:


i. Pass all its test cases.
ii. 0% calculation error if the feature involves money transaction.
iii. No deadlock.
iv. Fulfill its requirement.

2.5 Test Deliverables

The following documents will be generated by the system test group and will be delivered
after test completion.

Test documentation:
i. Test Plan
ii. Test Item Transmittal Report
iii. Test Design Specification.
iv. Test Case Specifications.
v. Test Procedure Specifications.
vi. Test Logs.
vii. Test Incident Reports.
viii. Test Summary Report.
ix. Test Completion Report.

TEST DESIGN SPECIFICATION 22

You might also like