Document Navigator For The Design Index (Testing Document)
Previous Section
(Book Administration)
This Section
(Customer Administration)
Next Section
(Transactions)
Previous (Add Customer) Search Customer Next (View / Update)

 


Tests                                   

 

Objective                                   
     The following will be checked for correctness:
     
  1. user can enter the data into the Search Customer page successfully,
  2. syntax errors will be checked and displayed by the system, and
  3. no fields are modified to search on

 

Data Used                                   
     
To check 1):
Add the following customer to the database:
Last Name: Dandy
First Name: Jim
Phone Number: (402)243-9898
Address: 1024 Sprinkleway Way
City: Shelbyville
Province: OK
Country: USA
Postal Code: 9010290901

 

Condition(s) Input To Test
Last Name:
a) correct info Dandy
b) incorrect info Gonzo
First Name:
a) correct info Jim
b) incorrect info Billybob
Phone Number:
a) correct info (402)243-9898
b) incorrect info 286-9699
Address:
a) correct info 1024 Sprinkleway Way
b) incorrect info 321 I am lost
City:
a) correct info Shelbyville
b) incorrect info Emptyville
Province:
a) correct info OK
b) incorrect info QB
Country:
a) correct info USA
b) incorrect info Zimbabwe
Postal Code:
a) correct info 9010290901
b) incorrect info T3E 4Q7
Max Books:
a) correct info <default value>
b) incorrect info <nondefault value>
Max Fines:
a) correct info <default value>
b) incorrect info <nondefault value>

NOTE: to test the following 4 cases, a pertinent on hold, on loan, or overdue record will be added or) has a book overdue
d) not a, b, or c

Expected Results - (For all of the above tests except Circulation Status)
a) the customer will be in the results list after the SEARCH button is pressed.) has a book overdue
d) not a, b, or c

Expected Results - (For all of the above tests except Circulation Status)
a) the customer will be in the results list after the SEARCH button is pressed. removed for each test.
Circulation Status: a) has a book on loan
b) has a book on hold
c) has a book overdue
d) not a, b, or c

Expected Results - (For all of the above tests except Circulation Status)
a) the customer will be in the results list after the SEARCH button is pressed.
b) the customer will not be in the results list after the SEARCH button is pressed.

Expected Results - (For Circulation Status)
a) the customer will be in the results list after the SEARCH button is pressed.
b) the customer will be in the results list after the SEARCH button is pressed.
c) the customer will be in the results list after the SEARCH button is pressed.
d) the customer will not be in the results list after the SEARCH button is pressed.

To check 2):

 

Error Condition(s) Input To Test
Last Name:
a) too long string more than 60 characters
b) invalid characters Dan*y9(,
First Name:
a) too long string more than 40 characters
b) invalid characters J-m^
Phone Number:
a) doesn't match template (23)543-9089, 9087 452
Address:
a) too long string more than 80 characters
City:
a) too long string more than 20 characters
b) invalid characters Kalamaxo97
Province:
a) too long string more than 2 characters
b) invalid characters A)
c) too small string less than 2 characters (eg. "A")
Country:
a) too long string more than 10 characters
b) invalid characters Kanad#
Postal Code:
a) doesn't match template T3E 65H, K90159B3
Max Books:
a) invalid characters 3*, 10.5, 3e
Max Fines:
a) invalid characters 3*.75, 3e.00

Expected Results - A message will appear in the message section detailing that there was incorrect input format in a particular field.

To check 3):
Push the SEARCH button after ensuring that all the fields are empty.

Expected Results - A message will appear in the message section detailing that there was no search criteria.

 


Document Navigator For The Design Index (Testing Document)
Previous Section
(Book Administration)
This Section
(Customer Administration)
Next Section
(Transactions)
Previous (Add Customer) Search Customer Next (View / Update)

Copyright ©1997 VoidWorks Software Inc.

Send mail to the Group Leader or the Webmaster
Pages created and maintained with Mortar