0% found this document useful (0 votes)
493 views13 pages

Test Case Specification 1.0.0aaaa

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 13

Project Title: ATMS University Tun Hussein Onn Malaysia

Withdrawal
Date: 22/6/2020 Test Case Specification ID:
ATMS_TCS_1_1.0.0

Test Case
Specification
Automated Teller Machine System (ATMS)

Withdrawal
Document Control

Document Name ATMS Test Case Specification


ATMS_TCS
Reference Number
Version 1.0.0
Project Code XYZ_ATMS
Status In-use
Date Released 22nd of June, 2020

Name Position Contact Number


Prepared By: Author
Norrul Syaqira Binti Mat
Zainun

Reviewed By: Lecturer


Pn. Hannani Binti Aman

Version History

i
TEST CASE PROCEDURE
Version Release Date Section Amendments
1.0.0 22/04/2013 All Original document

Distribution List

Release Controlled Recipient


Version Department Issue Date Return Date
Date Copy No Name
ABC Test-Co
1.0.0 22/06/2020 01 22/06/2020
QA Dept.

Table of Content

Document Control......................................................................................................................... i
Version History............................................................................................................................ ii
Distribution List............................................................................................................................ ii
Table of Content......................................................................................................................... iii
1.0 Introduction............................................................................................................................ 1

ii
TEST CASE PROCEDURE
1.1 Purpose............................................................................................................................. 1
1.2 Scope................................................................................................................................ 1
1.3 References........................................................................................................................ 1
2.0 Test Cases............................................................................................................................ 3
2.1 Environment...................................................................................................................... 3
2.2 Test Case.......................................................................................................................... 4
2.2.4 Withdrawal................................................................................................................... 4

iii
TEST CASE PROCEDURE
1.0 Introduction

1.1 Purpose

This test case specification supports the following objective:


i. To detail the test cases derived from test coverage in Test Design Specification.

1.2 Scope
This test case specification covers Withdrawal features developed in test plan.

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

The following documents provide the test basis for this test design:
i. ATMS Software Requirement Specifications, ATMS_SRS_1.0
ii. ATMS System Design Specifications, ATMS_SDS_1.0
iii. ATMS Test Plan, ATMS_TP_1.0.0
iv. ATMS Test Design Specifications, ATMS_TDS_1_1.0.0

TEST CASE PROCEDURE 1


This page is intentionally left blank

This page is intentionally left blank

TEST CASE PROCEDURE 2


2.0 Test Cases

2.1 Environment

2.1.1 Software
The following table shows the software requirements of ATM that will be used to install ATMS.

Application Name Automated Teller Machine System (ATMS)


Version 1.1
Type of File Executable Jar File (.jar)
Size of Application 65.7KB
Size on Disk 68.0 KB
Operating System Windows 10 Home Single Language
Table 2.1.1 ATM Software Requirements

2.1.2 Hardware
The following table shows the hardware requirements that will be used to install ATMS.

Hardware Name LAPTOP-L35MKM46

Manufacturer HP

Card Processor Intel ® Core ™ i5-1035G1 CPU @ 1.00 GHz 1.19 GHz

Table 2.12 ATM Hardware Requirements

TEST CASE PROCEDURE 3


2.1.3 Other
The following documents are required to support system testing:
i. ATMS System Requirements Specifications 1.0 (SRS)
ii. ATMS Software Design Specifications 1.0 (SDS)

2.2 Test Case

2.2.4 Withdrawal
Test Case ID TC-05-001
Related Feature ID F005
Objective Verify Withdraw Amount
Covered Test Coverage TCOV-05-001, TCOV-05-002, TCOV-05-003, TCOV-05-004
Items
Special Procedural
Input Expected Result Intercase Dependency
Requirements
Amount to withdraw > account System displays error None None
balance (200) message “Insufficient
balance”.
Amount to withdraw < Daily System dispenses cash None None
Withdraw (200 < 300) equal to withdrawal
amount.
Amount to withdraw < Account System dispenses cash None None
Balance equal to withdrawal
amount.
Table 2.2.4.1 Verify Withdraw Amount Test Case

TEST CASE PROCEDURE 4


Test Case ID TC-05-002
Related Feature ID F005

Objective Verify User Input


Covered Test Coverage Items TCOV-05-001, TCOV-05-002, TCOV-05-003, TCOV-05-004
Special Procedural
Input Expected Result Intercase Dependency
Requirements
Invalid user input = 6 System displays error None None
message “Insufficient
cash”

Valid user input = 1 System dispenses cash None None


equal to withdrawal
amount.

Table 2.2.4.2 Verify User Input Test Case

Test Case ID TC-05-003


Related Feature ID F005
Withdrawal – Main Flow
Objective

Covered Test Coverage Items TCOV-05-012, TCOV-05-014, TCOV-05-017, TCOV-05-020, TCOV-05-024, TCOV-05-026,
TCOV-05-027
Special Procedural
Input Expected Result Intercase Dependency
Requirements
User chooses withdrawal in System request type of None None
transaction menu. account to withdraw from.
Choose valid type of account to System request amount to None None
withdraw, 1-3. withdraw.
Press 1 to input valid amount of System dispenses cash None None
withdrawal = 20 equal to withdrawal
amount.
System records in log and None None
prints receipt
TEST CASE PROCEDURE 5
Continue Transaction = No System terminates session None None
and ejects card
Table 2.2.4.3 Withdrawal Main Flow Test Case

Test Case ID TC-05-004


Related Feature ID F005

Objective Withdrawal Alternate Flow – Invalid Account Type


Covered Test Coverage Items TCOV-05-015, TCOV-05-028
Special Procedural
Input Expected Result Intercase Dependency
Requirements
Choose invalid type of account System displays error None None
to withdraw from. message “Invalid account
type”

Table 2.2.4.4 Withdrawal Alternate Flow – Invalid Account Type

Test Case ID TC-05-005


Related Feature ID F005

Objective Withdrawal Alternate Flow – Cancel Withdrawal at Account Type Selection


Covered Test Coverage Items TCOV-05-016, TCOV-05-029
TEST CASE PROCEDURE 6
Special Procedural
Input Expected Result Intercase Dependency
Requirements
Press Cancel button. System asks whether user None None
wants to perform another
transaction

Table 2.2.4.5 Withdrawal Alternate Flow – Cancel Withdrawal at Account Type Selection

Test Case ID TC-05-006


Related Feature ID F005

Objective Withdrawal Alternate Flow – Invalid Withdrawal Amount (Insufficient Balance in ATM)
Covered Test Coverage Items TCOV-05-002
Special Procedural
Input Expected Result Intercase Dependency
Requirements
Invalid amount more than System displays error None None
balance in ATM message “Insufficient
cash”.

Table 2.2.4.6 Withdrawal Alternate Flow – Invalid Withdrawal Amount (Insufficient Balance in ATM)

Test Case ID TC-05-007


Related Feature ID F005

Objective Withdrawal Alternate Flow – Invalid Withdrawal Amount (Insufficient Balance in Amount)

Covered Test Coverage Items TCOV-05-002, TCOV-05-018, TCOV-05-021, TCOV-05-031


Special Procedural
Input Expected Result Intercase Dependency
Requirements

TEST CASE PROCEDURE 7


Choose invalid amount more System displays error None None
than balance in account. message “Insufficient
balance”.

Table 2.2.4.7 Withdrawal Alternate Flow – Invalid Withdrawal Amount (Insufficient Balance in Amount)

Test Case ID TC-05-008


Related Feature ID F005

Objective Withdrawal Alternate Flow – Invalid Withdrawal Amount (Daily Withdrawal Limit Reached)
Covered Test Coverage Items TCOV-05-001, TCOV-05-016, TCOV-05-018, TCOV-05-021, TCOV-05-032
Special Procedural
Input Expected Result Intercase Dependency
Requirements
Choose invalid amount more System displays error None None
than daily withdrawal limit. message “Daily withdrawal
limit reached”.

Table 2.2.4.8 Withdrawal Alternate Flow – Invalid Withdrawal Amount (Daily Withdrawal Limit Reached)

Test Case ID TC-05-009


Related Feature ID F005

Objective Withdrawal Alternate Flow – Cancel When Entering Withdrawal Amount

Covered Test Coverage Items TCOV-05-018, TCOV-05-019, TCOV-05-033


Special Procedural
Input Expected Result Intercase Dependency
Requirements
TEST CASE PROCEDURE 8
Press “Cancel” System asks whether user None None
wants to perform another
transaction.

Table 2.2.4.9 Withdrawal Alternate Flow – Cancel When Entering Withdrawal Amount

Test Case ID TC-05-010


Related Feature ID F005

Objective Withdrawal Alternate Flow – Perform Another Transaction


Covered Test Coverage Items TCOV-05-013, TCOV-05-023, TCOV-05-025, TCOV-05-034
Special Procedural
Input Expected Result Intercase Dependency
Requirements
Choose “Yes” System displays the None None
transaction menu and
waits for user’s transaction
request
Table 2.2.4.10 Withdrawal Alternate Flow – Perform Another Transaction

TEST CASE PROCEDURE 9

You might also like