Anda di halaman 1dari 5

Problem statement 1:

Consider an automated banking application. The user can dial the bank from a personal
computer, provide a six-digit password, and follow with a series of keyword commands
that activate the banking function. The software for the application accepts data in the
following form:
Area Code Blank or three-digit number
Prefix Three-digit number, not beginning with 0 or 1
Suffix Four-digit number
Password Six-character alphanumeric
Commands "Check status", "Deposit", "Withdrawal"
Design adhoc test cases to test the system
Adhoc testing:
It is a random testing. It is an unplanned activity and does not follow any test
design technique to create the test cases and does not have test cases also.
The tester randomly test the application without any test case or SRS
It does not have formal expected results
The testing is carried out with the knowledge of the tester about the application
and the success of the testing depends on the capacity and capability of the tester
The adhoc testing increases knowledge about the application
The tester guess possible errors based on past experience
The given problem statement is about automated banking application. The user can
dial the bank from a personal computer .
To login user must enter acrea code, prefix, suffix, password and commands( deposit,
with drawl, check status)
Area code:
It should be either bank or a three digit number
Test 1:
Input: Blank
Area code:
Result: Accepted
Test 2:
Input: single digit number
Area code:

Result: Invalid area code


Enter a valid one
Test 3:
Input: Two digit number

Area code:

24

Result: Invalid area code


Enter a valid code
Test 4:
Input: Three digit number
Area code:

232

Result: Accepted

Prefix: It should be a three digit number, not beginning with 0 or 1


Test 1:
Input: Blank
Prefix:
Result: Invalid prefix
Test 2:
Input: Three digit number starting with 2
Prefix:

229

Result: valid prefix


Test 3:
Input: Three digit number starting with 3
Prefix:

333

Result: valid prefix


Test 4:
Input: Three digit number starting with 4
Prefix:

432

Result: valid prefix


Test 5:
Input: Three digit number starting with 0
Prefix:

032

Result: Invalid prefix


Password:
It is a six character alphanumeric
Test 1:
Input: A five character alpha numeric
Password:

*****

Result: Invalid password. Password should be length 6

Test 2:
Input: A six character one with 5 alphanumeric characters and special characters
Password:

******

Result: Invalid password. Password should be 6 characters alpha numeric


Test 3:
Input: a six character password with only characters
Password:

*****

Result: Invalid password. Password should be 6 characters alpha numeric


Test 4:
Input: six character alpha numeric password
Password:

*****

Result: accepted
Commands:
Three radio buttons. You can select only one
Test 1:
Input: No option selected
Commands:
check status
with drawl
deposit

Result : select an option

Test 2:
Input: Select check status option
Commands:
check status
with drawl
deposit
Result : Your selected option is check status option
Test 3:
Input: Select deposit option
Commands:
check status
with drawl
deposit
Result : Your selected option is deposit option
Test 4:
Input: Select with drawl option
Commands:
check status
with drawl
deposit
Result : Your selected option is with drawl option

Anda mungkin juga menyukai