Computing project - testing my library system

Authors Avatar by maliseebgmailcom (student)

  1. Test Issue of Book – Issue.prg

  1. Press ‘Issue’ button’ in main menu

Test Data        

Expected Result : Opens ‘Issue’ screen

                             User is asked to enter member code


Comments        : When option ‘Issue’ was chosen from the main menu, the screen shown

                              above was displayed. The user was asked to enter a member code.

Test input of member code

  1. Normal Testing 1(No obstructions)

Test Data        : Mcode: 1001

Expected Result : User is asked to enter book code

Comments        : When member code 1001 was entered, the user was immediately asked to

                             enter a book code.

  1. Normal Testing 2(Book already issued to this member)

Test Data        : Mcode: 1003

Expected Result : Issue transaction comes to a halt.

                             Display message ‘Member has still a book borrowed to him. Ask him to  

                             return that book first or check book code again.’


Comments        : When member code 1003 was entered, the message shown above was

                             displayed. This message also shows that issue was successfully halted  

                             since member already has a book in his possession.

  1. Abnormal Testing 1(Record not found)

Test Data        : Mcode: 1020

Expected Result : Display message ‘Member code is invalid or does not exist’

                             Display message ‘More issue of books’

Comments        : Issue was successfully interrupted since member code does not exist. After

                             that user was asked if he had more issues to perform.

  1. Abnormal Testing 2(Blank Input)

Test Data        : Mcode:

Expected Result : Display message ‘Please enter a member code first.’

                             Display message ‘More issue of books’

Comments        : The message shown on the right was displayed when Mcode remained

                              blank and user requested validation. When ‘Ok’ was pressed, user was

                              asked if he had more books to issue.

Test input of book code

  1. Normal Testing 1(No obstructions)

Test Data        : Mcode: 1001

                             Bcode: EF04

Expected Result : Book details is displayed

                             Display message ‘Confirm Issue’


Comments        : When book code EF04 was entered, the corresponding book details were                              displayed and the user was correctly asked whether he intended to                              complete the issue or no.

Join now!

  1. Normal Testing 2(Book already issued)

Test Data        : Mcode: 1001

                             Bcode: EF02

Expected Result : Issue transaction comes to a halt.

                             Display message ‘Book is actually issued to another member. Check entry      

                             again for transcription errors). Display message ‘More issue of books’

...

This is a preview of the whole essay