Vous êtes sur la page 1sur 1

Test No.

Name of the test


Open the program as a customer Successful log-in Invalid input

Purpose of test
Test if the log-in screen appears Test if the log-in details are retained Test how the program reacts when an invalid number is input Test if the menu for the admin is displayed Test if the admin can add a book Test if the admin can delete a book Test if the program opens the menu for the customer Test if the list of books is displayed when press 1 Test if the details are displayed when the book number is entered Test what the program is doing when you enter a number of a book which doesn`t exist Test if the program displays the order screen Test what the program is doing if the customer wants to buy more books Test if the book is found Test what the program does when the name input is not in the list Test to see if an item is added to the wishlist Test to see the program will accept multiply items to added to the wishlist Test if the program removes from the wishlist Test if the program ends when 3 pressed

Expected out
The program should take the user to the log-in screen The user should see a message if the log-in was successful The program should return a message and give the user the option to try again

Actual outcome
Successful

Screenshot No.
Screenshot 1

Successful

Screenshot 2

Admin menu

Adding a book Deleting a book Opening the interface for the customer Open the book list See more information about a specific book See more information about a specific book Order the product Buy more books than exists in stock Search for a book by its name Search for a book by its name Add a book to the wish list Adding multiple items to the wishlist Remove from wish list Exit the program

10

When the user logs-in as an admin, the menu should be displayed The program should allow the admin to add a book by asking for its details The program should delete the book from the array and displays the new list of books Once the customer is logged-in the menu should appear The program should display the list of books when 1 is pressed When the book number is inserted the program should display the details of the book If a number bigger than the ones displayed is input then the program should display a message The program should display the purchase screen If a number bigger than the number in stock is input the program should display a message The program should find a book by its name The program should display a message

Failed - the user can`t try again without rebuilding the program Successful

Screenshot 3

Screenshot 4

Successful

Screenshot 5

Successful

Screenshot 6

Successful

Screenshot 7

Successful

Screenshot 8

Successful

Screenshot 9

11

Failed the program doesn`t display a message Successful

Screenshot 10

Screenshot 11

12

Successful

Screenshot 12

13

Successful

Screenshot 13

14

Successful

Screenshot 14

15

16

The item should be added to the wishlist and the program should display the list Multiple items should be added to the wishlist

Successful

Screenshot 15

Successful

Screenshot 16

17

The book selected should be removed from the wishlist The program should return 0 when 3 is pressed

18

Failed this is not an option developed yet Successful

Screenshot 18

Vous aimerez peut-être aussi