• No se han encontrado resultados

CAPÍTULO II. Infracciones y sanciones

Artículo 51. Resolución de procedimientos sancionadores

Login

Test Case Test Data Expected Results Pass/Fail

Validation To check whether the validation is executed when required field is blank data or invalid.

Display information message Pass Verify username, password and access level

To check whether the username, password and access level is match.

Login successful, display main page

Pass

Authorization To check whether the system will perform authorization when user login.

Display different main page for different access level.

Pass

Order Meal

Test Case Test Data Expected Results Pass/Fail

Search meal To check whether it display meal for the select category when select the meal category. Display search result(Meal) in list view Pass Add to Order List

To check whether the meal order is added into order list/cart, when click on the Add button.

Meal order insert into database

Pass

Verify input data

To check whether input data has been verified and prevent sql injection.

Display error message

Pass

View Menu To check whether can display all meal information.

Display all meal information

Pass

Rate Meal To check whether can rate meal successfully.

Success to rate meal Pass

View Top 5 To check whether it display top 5 meal

Order List

Test Case Test Data Expected Results Pass/Fail

Display Order List

To check whether the added meal can be displayed.

Added meal orders displayed

Pass

Remove meal order from Order List

To check whether can delete unwanted meal is workable when click on the delete button.

Success removing the meal off the order list/cart.

Pass

Continue Order To check whether can continue to make order.

Success to go back and continue to make order.

Pass

Cancel Order To check whether can cancel the order.

Success deleting the order and redirected to main page.

Pass

Confirm Order To check whether orders are success added into database.

Insert orders into database. Display added success message.

Pass

Delivery

Test Case Test Data Expected Results Pass/Fail

Validate input data

To check whether the validation is executed when the required field is blank data or wrong format.

Display error message Pass

Edit and validate delivery address

To check whether can edit the default delivery address and input is not blank.

Delivery address is editable and validated

Pass

Validate Delivery Date

To check delivery date is not earlier than today date.

Prompt message box if selected delivery date earlier than today date

Pass

Submit To check whether delivery details can be added successful.

Successful added delivery information to database.

Check List

Test Case Test Data Expected Results Pass/Fail

View all orders To check whether the orders information is display.

Display all the orders information.

Pass

Complete To check whether meal orders is complete and update the cook status in database.

Meal order is visible after click complete button and updates the cook status in database.

Pass

Delivery Admin

Test Case Test Data Expected Results Pass/Fail

View delivery order list

To check whether the delivery meal order information is display.

Display all the delivery order information

Pass

Verify delivery person

To check which staff is free and available.

Display staff who are free in drop down list

Pass

Print Delivery Information

To check whether the delivery information is display accurately and allow to print.

Staff can print the delivery information for review

Pass

Verify Device Connect

(Mobile device)

To verify the mobile device after connect to mobile with SIM card.

Display the device name in the drop down list

Pass

Enter SMS information

To check whether the SMS details is valid.

Display error message if SMS details is invalid.

Pass

Send SMS To check whether successful to send SMS to customer.

Display “success” on sending result label

Pass

Update

Delivery Status

To check whether update delivery status in database.

Successful updated delivery status.

Pass

View Map To check whether can search delivery location by enter zip code/address.

Display searching location and allow to zoom in and out of Map.

Redemption

Test Case Test Data Expected Results Pass/Fail

Validation To check whether the validation is executed when the required field is blank data or wrong data.

Display error message Pass

Verify To check whether the member ID is valid.

Display error message if memberID invalid, display member details if it is valid.

Pass

Search To check whether can search member points by member ID.

Display member point, member card number.

Pass

View All Redeem Items

To check whether can display all the redeem details.

Display all redeems details. Pass

Check member points

To check whether member points is sufficient for redemption.

Display error message if member points is not sufficient. Add redeem if member points is sufficient when staff press Redeem button.

Pass

Add To check whether the redeem item information is added into database.

Successful redeemed and added to database.

Pass

Update Point To check whether can update the member point after redeem.

Successful updated member points.

Pass

Feedback

Test Case Test Data Expected Results Pass/Fail

Validation To check whether the validation is executed when the required field is blank data or wrong data.

Display error message Pass

Add/Submit To check whether the feedback can be added into database.

Successful submit feedback details /added in database.

Feedback Admin

Test Case Test Data Expected Results Pass/Fail

Generate Chart/Report

To check whether feedback report is generate accurately.

Chart/report display accurate data.

Pass

Print To check whether the report will print.

System print report/chart Pass

Meal Category Maintenance

Test Case Test Data Expected Results Pass/Fail

View all category

To check whether can display all the meal category.

Display all meal category Pass

Add To check whether meal category can successful added into database.

Successful Added and allow to add new meal under the meal category.

Pass

Update To check whether the meal category can be successful edit.

Successful Updated Pass

Delete To check whether the meal category can be successful delete.

Successful deleted, and all the meal under that category also deleted.

Pass

Meal Maintenance

Test Case Test Data Expected Results Pass/Fail

Validation To check whether the validation is executed when the required field is blank data or invalid.

Display error message Pass

View all meal To check whether can display all the meal information

Display all meal details Pass

Search To check whether can search the meal by category

Display meal details when select meal category

Pass

Add To check whether meal can

successful added into database

Update To check whether the meal details can be successful edit

Successful Updated Pass

Delete To check whether the meal can be successful delete

Successful Deleted Pass

Generate Report

Test Case Test Data Expected Results Pass/Fail

Display report To check whether the report will generate accurately according to the selected date.

Report displayed the correct details

Pass

Display chart To check whether the chart is show the correct data

Chart display the correct data

Pass

Print Report To check whether the report will print

System print the report Pass