Document Navigator For The Design Index (Testing Document)
Previous Section
(Summary)
This Section
(Book Administration)
Next Section
(Customer Administration)
Previous (View Book Copy) Modify Book Copy Next (Test And Evaluation)

 


Unit Tests                                   

 

Objective                                   
     The following will be checked for correctness:
     
  1. user can enter/modify data from the Modify a Book Copy page,
  2. syntax errors will be checked and displayed by the system, and
  3. ensure that modified book copy data is saved.

 

Data Used                                   
     
To check 1):
input:
Call # : 1
Location : Main Branch
Floor : 9
Circulation Status : On Loan

Expected Results - All fields will allow modification of data

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

 

Error Condition(s) Input To Test
Title :
a) empty
b) too long

Expected Results - The error window is displayed stating that the title field is invalid.

 

Author :
a) empty
b) too long

Expected Results - The error window is displayed stating that the author field is invalid.

 

Publisher :
a) empty
b) too long

Expected Results - The error window is displayed stating that the publisher field is invalid.

 

Subject :
a) empty
b) too long

Expected Results - The error window is displayed stating that the subject field is invalid.

 

Book category :
none

 

Media Type :
none

 

Cost :
a) empty
b) alphabetic input 12.b3

Expected Results - The error window is displayed stating that the cost field is invalid.

 

Version : (optional)
a) alphabetic input a.2

Expected Results - The error window is displayed stating that the version field is invalid.

 

Edition : (optional)
a) alphabetic input 3.c

Expected Results - The error window is displayed stating that the edition field is invalid.

To check 3):
input:
Call # : 1
Location : Main Branch
Floor : 8
Circulation Status : On hold

Expected Results - A "Book Copy Modified" message will be displayed.

 


Integration Tests                                   

 

Objective                                   
     The following will be checked for correctness:
     
  1. Modify Book Copy page can be accessed,
  2. QUIT button returns user to Book Administration page,
  3. MODIFY button allowing user to update/modify book data,
  4. SAVE button allowing user to save and update database, and
  5. Customer and Administration datastores is accessed correctly.

 

Data Used                                   
     
To check 1):
Pressing "VIEW" button after entering a valid call number.

Expected Results - Information regarding to book copy will be displayed.

To check 2):
Pressing the QUIT button.

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

To check 3):
Once user enters valid call number and clicks 'VIEW', user will click on 'MODIFY'.

Expected Results - User should be able to then modify book data.

To check 4):
Once book data is modified, user will click on 'SAVE'.

Expected Results - Book database will be updated pertaining to newly modified and updated book information.

To check 5):
System will access the Customer and Administration datastores when information is needed from them.

Expected Results - Information will be accessible from the datastores, to be displayed.

 


Document Navigator For The Design Index (Testing Document)
Previous Section
(Summary)
This Section
(Book Administration)
Next Section
(Customer Administration)
Previous (View Book Copy) Modify Book Copy Next (Test And Evaluation)

Copyright ©1997 VoidWorks Software Inc.

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