Document Navigator For The Design Index (Testing Document)
Previous Section
(Customer Administration)
This Section
(Transactions)
Next Section
(Entity Relationship Diagram)
Previous (Data Flow Diagrams) Borrowing A Book Next (Returning A Book)

 


Unit Tests                                   

 

Objective                                   
     The following will be checked for correctness:
     
  1. user can enter the data into the Borrow A Book page,
  2. syntax errors will be checked and displayed by the system, and
  3. ensure that book and customer information is actually modified in the database.

 

Data Used                                   
     
To check 1):
inputs:
a) User ID Number
b) Call Number

Expected Results - All fields will allow entry of data

To check 2):
All individual field testing will assume that all other fields are syntactically correct.

 

Error Condition(s) Input To Test
User ID Number:
a) empty field
b) too long 12345678901234567890
c) alphabetic input 123abc7890

Expected Results - The error window is displayed stating that the User ID # field input is invalid.

 

Call Number:
a) empty field
b) too long 12345678901234567890
c) alphabetic input 123abc7890

Expected Results - The error window is displayed stating that the Call Number field input is invalid.

To check 3):
input:
User ID #: 1234567890
Call Number: 1234567890

Expected Results - A "Book Borrowed" message will be displayed and the book and customer information will be modified in the database.

 


Integration Tests                                   

 

Objective                                   
     The following will be checked for correctness:
     
  1. Borrow A Book page can be accessed,
  2. CANCEL button returns user to Transaction Administration page,
  3. CLEAR button clears text boxes, and returns user to Transaction Administration page,
  4. HELP button brings up on-line help function,
  5. both SEARCH buttons function properly, and
  6. ADD NEW button works.

 

Data Used                                   
     
To check 1):
Pressing "Borrow A Book" button on Transaction Administration page.

Expected Results - Borrow A Book page will be displayed.

To check 2):
Pressing the CANCEL button.

Expected Results - User will be returned to Transaction Administration page.

To check 3):
Pressing the CLEAR button.

Expected Results - Text boxes will be cleared, and user will be returned to the Borrow A Book page.

To check 4):
Pressing the HELP button.

Expected Results - On-line help function will appear.´

To check 5):
Pressing the 2 SEARCH buttons.

Expected Results - Searching function screens will pop-up and function properly.

To check 6):
Pressing the ADD NEW button.

Expected Results - Add A New Customer page will appear.

 


Document Navigator For The Design Index (Testing Document)
Previous Section
(Customer Administration)
This Section
(Transactions)
Next Section
(Entity Relationship Diagram)
Previous (Data Flow Diagrams) Borrowing A Book Next (Returning A Book)

Copyright ©1997 VoidWorks Software Inc.

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