Sunteți pe pagina 1din 3

TEST CASES FOR LIBRARY MANAGEMENT

Test cases gives an idea like on perform of some tasks what will be the predicted
output or result. It will help in predicting the result on perform of certain tasks. The
test cases below gives an idea of what result must be obtained on performing a
particular task.

 Login form: The test cases involved are whether valid password and name are
entered or invalid name and password entered.

 Book entry form: The test cases included are-on the click of add button,
delete button, update button, search button, clear button, exit button and next
button.
 User account form: The test cases included are-on the click of add button,
delete button, update button, search button, clear button, exit button and next
button.
 Book return form: The test cases included are-on the click of add button,
delete button, update button, search
 button, clear button, exit button and next button.

LOGIN FORM:
SL.N Test Case Excepted Result Test
o Result

1 Enter valid name and password & click Software should display main Successf
on login button window ul
2 Enter invalid Software should not display successf
main window ul

BOOK ENTRY FORM:


SL.N Test Case Excepted Result Test
o Result

1 On the click of At first user have to fill all fields with proper data , if any Error successf
ADD button like entering text data instead of number or entering number ul
instead of text..is found then it gives proper message
otherwise Adds Record To the Database
2. On the Click of This deletes the details of book by using Accession no. Successf
DELETE Button ul

3. On the Click of Modified records are Updated in database by clicking UPDATE Successf
UPDATE  button. ul
Button

4. On the Click of Displays the Details of book for entered Accession no. Successf
SEARCH Otherwise gives proper Error message. ul
Button
5. On the Click of Clears all fields Successf
CLEAR Button ul
6. On the Click of Exit the current book details form  successf
EXIT button ul
7. On the Click of Display the next form  successf
NEXT  button ul

  USER ACCOUNT FORM:


SL.N Test Case Excepted Result Test
o Result

1 On the click of At first user have to fill all fields with proper data , if any Error successf
ADD button like entering text data instead of number or entering number ul
instead of text..is found then it gives proper message otherwise
Adds Record To the Database
2. On the Click of This  deletes the details of student by using Register no. Successf
DELETE Button ul
3. On the Click of Modified records are Updated in database by clicking UPDATE Successf
UPDATE  button. ul
Button
4. On the Click of Displays the Details of book for entered Register no. Otherwise Successf
SEARCH gives proper Error message. ul
Button
5. On the Click of Clears all fields Successf
CLEAR Button ul
6. On the Click of Exit the current book details form  successf
EXIT button ul
7. On the Click of Display the next form  successf
NEXT  button ul

BOOK ISSUE FORM:


SL.N Test Case Excepted Result Test
o Result
1 On the click of At first user have to fill all fields with proper data ,if the successf
ADD button accession number book is already issued then it will giving ul
proper msg.
2. On the Click of This  deletes the details of book by using Register no. Successf
DELETE Button ul
3. On the Click of Modified records are Updated in database by clicking Successf
UPDATE  Button UPDATE button. ul
4. On the Click of Displays the Details of issued book..Otherwise gives proper Successf
SEARCH Button Error message. ul
5. On the Click of Clears all fields Successf
CLEAR Button ul
6. On the Click of Exit the current book details form  successf
EXIT button ul
7. On the Click of Display the next form  successf
NEXT  button ul

BOOK RETURN FORM:


SL.N Test Case Excepted Result Test
o Result

1 On the click of At first user have to fill all fields with proper data , if any Error successf
ADD button like entering text data instead of number or entering number ul
instead of text..is found then it gives proper message otherwise
Adds Record To the Database

2. On the Click of Which deletes the details of book by using Register no. Successf
DELETE Button ul
3. On the Click of Modified records are Updated in database by clicking UPDATE Successf
UPDATE  button. ul
Button
4. On the Click of Displays the Details of returned book … Otherwise gives proper Successf
SEARCH Error message. ul
Button
5. On the Click of Clears all fields Successf
CLEAR Button ul
6. On the Click of Exit the current book details form  success
EXIT button ful

S-ar putea să vă placă și