• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month
Page
  1. 1
    1
  2. 2
    2
  3. 3
    3
  4. 4
    4
  5. 5
    5
  6. 6
    6
  7. 7
    7
  8. 8
    8
  9. 9
    9
  10. 10
    10
  11. 11
    11
  12. 12
    12
  13. 13
    13
  14. 14
    14
  15. 15
    15
  16. 16
    16
  17. 17
    17
  18. 18
    18
  19. 19
    19
  20. 20
    20
  21. 21
    21
  22. 22
    22
  23. 23
    23
  24. 24
    24
  25. 25
    25

Computing project - testing my library system

Extracts from this document...

Introduction

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. ...read more.

Middle

1. Test confirmation ?Are you sure to issue this book? Test Data : (a) Choice is ?Yes? Expected Result : Save transaction in Issue file Display message ?More issue of books? The table below shows the table issue after issue of book EF04 to member 1001 was confirmed (see test no. 9.6 for more details). Comments : As shown from the table on the right, issue transaction was correctly save in the file issue. Test Data : (b) Choice is ?No? Expected Result : Issue transaction stops. Record is not saved. Display message ?More issue of books? Comments :When no was chosen, the message shown was correctly displayed. Record was not saved in the issue database. 1. Test message ?More issue of books? Test Data : (a) Choice is ?Yes? Expected Result : Screen is cleared and user is allowed to enter member code. Comments : When ?Yes? was chosen, the screen was cleared and the user was asked to enter the member code for the issue of another book. The test was successful. Test Data : (b) Choice is ?No? Expected Result : Screen is cleared and main menu options are accessible again. Comments : When ?No? was chosen, the screen was cleared and Main Menu options were accessible again. ...read more.

Conclusion

Test Data : (b) Choice is ?No? Expected Result : Issue transaction stops. Record is not saved. Display message ?More issue of books? Comments : When no was chosen, the shown on the right was correctly displayed. Record was not saved in the issue database. ________________ 1. Test message ?More return of books? Test Data : (a) Choice is ?Yes? Expected Result : Screen is cleared and user is allowed to enter member code. Comments : When ?Yes? was chosen, the screen was cleared and the user was asked to enter the member code for the return of another book. The test was successful. Test Data : (b) Choice is ?No? Expected Result : Screen is cleared and main menu options are accessible again. Comments : When ?No? was chosen, the screen was cleared and Main Menu options were accessible again. User correctly asked to enter member code User correctly asked to enter book code Message successfully displayed Message correctly displayed Book details correctly displayed Book code EF04 has been entered Message correctly displayed Book code EF04 has been entered Book requested by another member has been entered Mcode of member who requested book code 1000 was correctly displayed Record correctly saved to file issue Fine correctly displayed Book details correctly displayed Member code 1003 has been entered Record correctly deleted from file issue ...read more.

The above preview is unformatted text

This student written piece of work is one of many that can be found in our AS and A Level Computer Science section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related AS and A Level Computer Science essays

  1. Computing Project

    The shop clerk/user will give a form to the customer to fill in and return to him so that he can fill in the details into the system which will be stored in the 'Members Table' and the system will then also generate and assign a member id for the new member.

  2. 140 Computing A-Level Revision Questions

    Explain, using 4362 as an example, how a check digit may be used to detect a transcription error in an account number. 92. Describe three types of documentation which should accompany any software. 93. Why is it not necessary to take a backup copy of a master file after it has been processed sequentially?

  1. Computing Project

    This can also be accessed in the office pc. ENTITY RELATIONSHIP DATA SOURCE AND DESTINATION Student Field name Type, Max range Example Description Student name Text, Char (20) John Smith The first name and last name of the student. Student number Number, Char (8)

  2. Social Issue Essay

    Honda has spent twenty years developing its ASIMO humanoid robot5 (Honda Online) in an effort to make machine mimic man, while the HipNav system was developed to assist the welfare and treatment of man by aiding surgeons in the field of crucial hip replacements through the use of 3D visionary and robotically guided controls6 (Carnegie Mellon University website, 1999).

  1. ICT Sample Work India Red

    The VAT will obviously be added as a percentage. PROCESSING REQUIREMENTS Quotation The main output requirements are quotation really, because there needs to be a paper copy as well as on screen. This will be based on the customer orders taken. The quotation will be used by the parties, "India Red" and also the customer.

  2. AQA Computing CPT3 June 08 Peter's Petrol Pumps

    Yes is clicked then On Pump, number of litres and amount to pay set to 0 On Console, number of litres and amount to pay set to 0 On Console, NoOfCustomers, TotalPetrol and TotalTakings variables set to 0 Message box appears confirming the actions have taken place Else: Do nothing

  1. Security Issues of E-Commerce

    By, never the less, governments across the world are introducing rules and regulations to stop it, or at least try and stop it from happening. Below is a list of what I believe to be the most important procedures in preventing the main security issues.

  2. AQA Computing CPT3

    the consoles status for the cashier totalCashTakings Number 0 - 100,000 12,890 This will store the total cash takings for the specific day cashierStatus String Up to 255 legal characters 'Pump is Ready To Use' This is the same variable as the pumpStatus, but petrol pump's status for the cashier

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work