Document Navigator For The Design Index (Testing Document)
Previous Section
(Customer Administration)
This Section
(Transactions)
Next Section
(Entity Relationship Diagram)
Previous (Returning A Book) Renewing A Book Next (Putting A Book On Hold)

 


Unit Tests                                   

 

Objective                                   
     To ensure that:
     
  1. user can enter data into the Renew a Book page,
  2. syntactically incorrect inputs are detected,
  3. given Call Number exists in the database, and
  4. the status of the request to return this book. The request may be unsuccessful due to:
    - the book being out of circulation
    - the book being on hold
    - the customer having too many fines against them
    - the customer having too many books outstanding

 

Data Used                                   
     
To test 1):
Type input into the text entry field in the Renew a Book page.
Call Number: 1111107890

Expected Results - The field will allow entry of data.

To check 2):

 

Condition(s) Input To Test
Call Numbers
a) no input
b) non-numeric 11abcd198
c) valid 1111107890

Expected Results - a & b) The error window is displayed stating that the input for Call Number is invalid.
c) A "Renew Book request was successful!" message, or appropriate message pertaining to #4 below.

To check 3):
Try a valid input, knowing that it does not exist in the database.
Call Number: 9876543210

Expected Results - The error window is displayed stating that the Call Number does not exist in the database.

To check 4):
Test each of the four cases below:

The Book is deemed "Out of Circulation":

Expected Results - A "Renew request was unsuccessful: the book is currently Out Of Circulation" message will be displayed.

The Book is On Hold:

Expected Results - A "Renew request was unsuccessful: the book is currently On Hold" message will be displayed.

The Customer has too many penalties against them.

Expected Results - A "Renew request was unsuccessful: the user owes us too much money." message will be displayed.

The Customer has too many books taken out.

Expected Results - A "Renew request was unsuccessful: the user has too many books on loan from us." message will be displayed.

 


Integration Tests                                   

 

Objective                                   
     To ensure that:
     
  1. Renew A Book page can be accessed, and
  2. All buttons (OK, CANCEL, CLEAR, HELP, PRINT REPORT) on window operate as expected.

 

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

Expected Results - The Renew a Book page will be displayed.z

To check 2):
Test all buttons (OK, CANCEL, CLEAR, HELP, PRINT REPORT) one at a time.

Expected Results - Information (or functions) pertaining to the selected button will be displayed (or carried out).

 


Document Navigator For The Design Index (Testing Document)
Previous Section
(Customer Administration)
This Section
(Transactions)
Next Section
(Entity Relationship Diagram)
Previous (Returning A Book) Renewing A Book Next (Putting A Book On Hold)

Copyright ©1997 VoidWorks Software Inc.

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