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

 


Unit Tests                                   

 

Objective                                   
     To ensure that:
     
  1. user can enter data into the Return 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

 

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

Expected Results - The field will allow entry of data.

To check 2):

 

Condition(s) Input To Test
Call Number:
a) no input
b) non-numeric 11abcd001
c) valid 111107890

Expected Results - a & b) The error window is displayed stating that the input for Call Number is invalid.
c) A "Return Book request was successful!" message.

To check 3):
Try valid input, knowing that it does not exist in the database.
Example: (input for Call Number is not 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):
The Book is deemed "Out of Circulation":

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

 


Integration Tests                                   

 

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

 

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

Expected Results - The Return a Book page will be displayed.

To check 2):
Test all buttons (OK, CANCEL, CLEAR, HELP, PRINT) 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 (Borrowing A Book) Returning A Book Next (Renewing A Book)

Copyright ©1997 VoidWorks Software Inc.

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