Docsity

System Testing: CSI 3471 Build 1 - Test Cases for New Account and Customer Creation - Prof, Study Guides, Projects, Research of Software Engineering

Toggle sidebar
bg1
1

CSI 3471
Build 1: Possible System Test Cases
Perspective: For system testing we assume the perspective of the user interacting directly with
the GUI. So, testing instructions refer to particular parts of the GUI. (The two screens referenced
here are at the end of this file.) To guarantee that test results are always the same for the test
cases, no matter when (or by whom) they are executed: 1) Instructions must be specific; and 2)
each time the test cases are executed the system must be in the same initial state.
For build 1, the state of the system can be represented by the following state “variables”: 1) the
set of customers, and 2) the set of accounts.
The test cases should be based on the scenarios (in the requirements document). In other words,
the test cases should cover all of the scenarios. However, the scenarios must be tailored to fit the
user-GUI perspective. The following test cases demonstrate the format that could/should be used.
They do not represent a complete set of system test cases.
Setup
Instructions:
Start the application and hit the “Test Setup” button. This will load the sets, as follows:
Customer Set = [ [100: Smith, Jeff], [200: French, Claire]]
Account Set = [ [1, 100], [2, 200]]
Note: For readability, here we assume that customer id’s are “multiples of 100”, that
checking account ID’s are odd integers, from 1 through 99, inclusive and that savings
account ID’s are even integers, from 2 through 98, inclusive. So, Jeff Smith has one
checking account and Claire French has one savings account.
Test Case #1: Request checking account by existing customer with a correct customer id
Instructions:
1. Choose “New Account” screen
2. Enter 200 in Customer ID field (no leading or trailing blanks)
Expected Result:
 Name associated with that customer id appears in Customer Name field:
French, Claire
Instructions:
3. Check to make sure that this is Claire French
4. Enter $100 in Initial Deposit field
5. Choose the Checking radio button
6. Hit Create Account button
pf3
pf4
pf5

Partial preview of the text

Download System Testing: CSI 3471 Build 1 - Test Cases for New Account and Customer Creation - Prof and more Study Guides, Projects, Research Software Engineering in PDF only on Docsity!

CSI 3471

Build 1: Possible System Test Cases

Perspective : For system testing we assume the perspective of the user interacting directly with the GUI. So, testing instructions refer to particular parts of the GUI. (The two screens referenced here are at the end of this file.) To guarantee that test results are always the same for the test cases, no matter when (or by whom) they are executed: 1) Instructions must be specific; and 2) each time the test cases are executed the system must be in the same initial state.

For build 1, the state of the system can be represented by the following state “variables”: 1) the set of customers, and 2) the set of accounts.

The test cases should be based on the scenarios (in the requirements document). In other words, the test cases should cover all of the scenarios. However, the scenarios must be tailored to fit the user-GUI perspective. The following test cases demonstrate the format that could/should be used. They do not represent a complete set of system test cases.

Setup

Instructions: Start the application and hit the “Test Setup” button. This will load the sets, as follows:

Customer Set = [ [100: Smith, Jeff], [200: French, Claire]] Account Set = [ [1, 100], [2, 200]]

Note: For readability, here we assume that customer id’s are “multiples of 100”, that checking account ID’s are odd integers, from 1 through 99, inclusive and that savings account ID’s are even integers, from 2 through 98, inclusive. So, Jeff Smith has one checking account and Claire French has one savings account.

Test Case #1 : Request checking account by existing customer with a correct customer id

Instructions:

  1. Choose “New Account” screen
  2. Enter 200 in Customer ID field (no leading or trailing blanks)

Expected Result:  Name associated with that customer id appears in Customer Name field:

French, Claire

Instructions:

  1. Check to make sure that this is Claire French
  2. Enter $100 in Initial Deposit field
  3. Choose the Checking radio button
  4. Hit Create Account button

Expected Result:  3 appears in the Account ID field (to indicate the id of the new account)  The existing checking accounts are listed as follows:

Customer Account

100 Smith, Jeff 1 200 Claire, French 3

Note : When system tests are performed it is necessary to identify the actual state of the system once a test has been executed. That is the purpose of the checking account list (above). Once the system has been adequately tested this “extra” information can be removed from the user interface.

Test Case #2 : Request checking account by someone who is not a customer

Instructions:

  1. Choose “New Customer” screen
  2. Enter “Fred” in the Firstname field
  3. Enter “Flintstone” in the Lastname field
  4. Hit Create Customer button

Expected Result:  300 appears in the Customer ID field  The existing customers are listed as follows:

Customer

100 Smith, Jeff 200 Claire, French

Instructions:

  1. Choose “New Account” screen
  2. Note: 300 already in Customer ID field
  3. Enter $100 in Initial Deposit field
  4. Choose the Checking radio button
  5. Hit Create Account button

New Account Screen

New Customer Screen