Screenshots

Login Choice

Employee Side

Employee Login

Screenshot 1

Employee Dashboard

Screenshot 1

Update Catalog

Screenshot 1

Update Customer

Screenshot 1

Customer Side

Main page

Customer Register

Customer Login

Screenshot 1

Cart

Screenshot 1

Payment

Screenshot 1

Help

Screenshot 1

Search

Screenshot 1 Screenshot 1

Test Cases

Test Case 1

if customer tries to update customer info a message will be printed telling access denied since its only for employees after that customer will be redirected to employee login

Screenshot 1 Screenshot 1 Screenshot 1

this block of code implements the role based access it checkes if user has role employee then allow acess otherwise redirect to employee login

Screenshot 1

Test Case 2

Has to login as a valid employee to access update catalog and update customer.

Screenshot 1

Test Case 3

If an employee wants to place an order, they must first log in as a customer. Since only customers can place order.

Screenshot 1

here employee will go to home then login as customer to place orders

Back to Lab 6 Page