CASE STUDY:
OFFLINE BANKING
FUNCTIONAL SPECIFICATION #1: Bank employees are using internal bank branch
software for banking transactions.
·
Bank employees can login by entering EMPLOYEE
ID & PASSWORD,
·
Employee ID can take 6 digit numbers
·
Password can take ALPHANUMERICS from 4-8
positions long
·
After entering employee ID and password,
employee can click LOGIN BUTTON
·
If the data is valid, next window will be
opened
·
If the data is invalid, an error message is
displayed
·
Employee can CANCEL login at any time by clicking cancel button
QUESTION:
Prepare test scenarios and cases for login module functional testing
TEST SCENARIO #1: Validate employee ID field
BVA SIZE for Employee ID
Min
|
6
|
Digits
|
Valid
|
Min -1
|
5
|
Digits
|
Invalid
|
Min +1
|
7
|
Digits
|
Invalid
|
Max
|
6
|
Digits
|
Valid
|
Max -1
|
5
|
Digits
|
Invalid
|
Max +1
|
7
|
Digits
|
Invalid
|
ECP TYPE for Employee ID
VALID
|
INVALID
|
Numeric
|
1.
Alphabets
2.
Alphanumeric
3.
Special Characters
|
TEST SCENARIO #2: Validate password field
BVA SIZE for Password
Min
|
4
|
Positions
|
Valid
|
Min -1
|
3
|
Positions
|
Invalid
|
Min +1
|
5
|
Positions
|
Valid
|
Max
|
8
|
Positions
|
Valid
|
Max -1
|
7
|
Positions
|
Valid
|
Max +1
|
9
|
Positions
|
Invalid
|
ECP TYPE for Password
VALID
|
INVALID
|
Alphanumeric
|
1.
Special Characters
2.
Blank Field
|
TEST SCENARIO #3: Validate login button option by clicking
Login Button
DT with OA for Login Button
Fields
|
Expect O/P after clicking LOGIN button
|
1. All
field are valid
2. Anyone
field is invalid
3. All
fields are blank
|
1.
Next window opened
2.
Error message
3.
Error message
|
TEST SCENARIO #4: Validate login window closing by clicking
CANCEL button
DT with OA for Login Button
Fields
|
Expect O/P after clicking CANCEL button
|
1. All fields
filled
2. One or
more fields are not filled
3. All
fields not filled
|
1.
Window closed
2.
Window closed
3.
Window closed
|
FUNCTIONAL SPECIFICATION #2:
·
After successful login bank employee can get
the next window with options, bank employee can select FD option to get to FD
window
·
FD window consists of below fields:
I.
Depositor’s Name: Alphabets as one or more words
II.
Amount: 1500 to 100000
III.
Time Period:
Up to 24 months
IV.
Interest Rate:
8.5% When amount is >=1500 and <50000 span="span">50000>
V.
Interest Rate:
9% when amount is >=50000 and <75000 span="span">75000>
VI.
Interest Rate:
9.5% when amount is >=75000 and <=100000 as per RBI rules
·
After clicking above fields, bank employee can
click deposit button to get a 9 Digit Unique Account Number, If the data is
invalid, SUT returns error message
·
If employee intend to go back to options, then
the employee can click BACK button at any time
Question:
Prepare test scenarios and cases for FD module functional testing
TEST SCENARIO #5: Validate FD option selection to go to FD
window
DT for Option Selection
Fields
|
Expect O/P after selecting FD option
|
·
Select FD
·
Select Other Option
|
·
FD window opened
·
Other window opened
|
TEST SCENARIO #6: Validate depositor’s name field
BVA SIZE for Depositor’s Name
Min
|
1
|
Alphabets
|
Valid
|
Min -1
|
Blank
|
Alphabets
|
Invalid
|
Min +1
|
2
|
Alphabets
|
Valid
|
Max
|
256
|
Alphabets
|
Valid
|
Max -1
|
255
|
Alphabets
|
Valid
|
Max +1
|
257
|
Alphabets
|
Invalid
|
ECP TYPE for Depositor’s Name
VALID
|
INVALID
|
·
Alphabets with special character blank space
and with one or more words
|
·
Numeric
·
Special characters other than blank space
·
Blank field
|
TEST SCENARIO #7: Validate amount field
BVA Range for Amount
Min
|
1500
|
Digits
|
Valid
|
Min -1
|
1499
|
Digits
|
Invalid
|
Min +1
|
1501
|
Digits
|
Valid
|
Max
|
100000
|
Digits
|
Valid
|
Max -1
|
99999
|
Digits
|
Valid
|
Max +1
|
100001
|
Digits
|
Invalid
|
ECP TYPE for Amount
VALID
|
INVALID
|
·
Numeric
|
·
Alphabets
·
Special characters
·
Blank field
|
TEST SCENARIO #8: Validate time period field
BVA RANGE for Time Period
Min
|
1
|
Digits
|
Valid
|
Min -1
|
0
|
Digits
|
Invalid
|
Min +1
|
2
|
Digits
|
Valid
|
Max
|
24
|
Digits
|
Valid
|
Max -1
|
23
|
Digits
|
Valid
|
Max +1
|
25
|
Digits
|
Invalid
|
ECP TYPE for Time Period
VALID
|
INVALID
|
·
Numeric
|
·
Alphabets
·
Special characters
·
Blank field
|
TEST SCENARIO #9: Validate interest rate field
DT for Interest Rate
AMOUNT
|
INTEREST RATE
|
CRITERIA
|
>=1500 TO <50000 span="span">50000>
|
8.5%
|
Valid
|
Other
|
Invalid
|
|
>=50000 TO <75000 span="span">75000>
|
9%
|
Valid
|
Other
|
Invalid
|
|
>=75000 TO <=100000
|
9.5%
|
Valid
|
Other
|
Invalid
|
TEST SCENARIO #10: Validate FD operation by clicking Deposit
Button
DT for FD Operation
Fields
|
Expect O/P after clicking Deposit Button
|
·
All fields valid
·
Any field is invalid
·
Any field is blank
|
·
Account Number Returned
·
Error message
·
Error message
|
TEST SCENARIO #11: Validate FD Account number
field
BVA SIZE for FD Account Number
Min
|
9
|
Digits
|
Valid
|
Min -1
|
8
|
Digits
|
Invalid
|
Min +1
|
10
|
Digits
|
Invalid
|
Max
|
9
|
Digits
|
Valid
|
Max -1
|
8
|
Digits
|
Invalid
|
Max +1
|
10
|
Digits
|
Invalid
|
ECP TYPE for FD Account Number
VALID
|
INVALID
|
·
Numeric
|
·
Alphabets
·
Special characters
·
Blank field
·
Duplicate
|
TEST SCENARIO #12: Validate Back Button operation by clicking
back button
DT for Back Button Operation
Fields
|
Expect O/P after clicking Back Button
|
·
All fields filled
·
One or more fields not filled
·
All field not filled
·
After getting FD account number
·
After getting an error message
|
·
Options window focused
·
Options window focused
·
Options window focused
·
Options window focused
·
Options window focused
|
No comments:
Post a Comment