Ta Van Co ID: GCS15329 Class: GCS0404Critical review: If user login is “Manager”, they can: - View report by week and date. - View report by week, date range and date for stores. - View report by week, date range and date for staffs. If user login is “Staff”, they can: - Create Order Difficult in my project: + Make function Update, Remove, Delete All in Cart + Make report function Advantage: + Write code may be clear + Search function + Easy to use Test Case: Reviewer/Approver: Ta Van Co Function Description Login Enter Username and Password into login form. Add product to cart Enter Product Id and quantity that customer want to buy and add to cart. Make Payment Make payment for customer. View report for staff on date Select a staff and chose date to view report. View report for staff on date Select a staff and chose date range to view report. range View report for staff on week Select a staff and chose date to view report by week. View report for store on date Select a store and chose date to view report. View report for store on date Select a store and chose date range to view report. range View report for store on Select a store and chose week to view report. week OBJECT HERE 1 Ta Van Co ID: GCS15329 Class: GCS0404 Test Result: Test Total Test function Expected outcome Actual outcome Result Date number Test 1 10 Staff login and Check username, Login success and go Pass 10/10/2017 Manager login password and role to Cart page if user – (username, is Staff and go to 13/10/2017 password) Staff report by date if user is Manager 2 3 Logout User logout and User logout and Pass 13/10/2017 Exit to Login page Exit to Login page 3 13 Add some product Products to appear Products to appear Pass 15/10/2017 to cart in the shopping in the shopping cart, – cart, total of cart is total of cart is 17/10/2017 calculated. calculated. 4 4 Update quantity in The amount of a The amount of a Pass 17/10/2017 Cart product change and product change and unit price is unit price is updated. updated. 5 4 Remove a product Product is removed Product is removed Pass 17/10/2017 in cart to cart to cart 6 4 Delete all All product is All product is Pass 17/10/2017 product in cart removed to cart removed to cart 7 12 View Staff Report Show all products Show all products Pass 17/10/2017 By Date that staff sold in that staff sold in date date 8 12 View Staff Report 18/10/2017 By Date Range 9 12 View Staff Report Show all products Show all products Pass 19/10/2017 By Week that staff sold in that staff sold in week week 10 12 View Store Report Show all products Show all products Pass 20/10/2017 By Date that store sold in that store sold in date date 11 12 View Store Report Show all products Show all products Pass 21/10/2017 By Date Range that store sold in that store sold in date range date range 12 12 View Store Report Show all products Show all products Pass 22/10/2017 By Week that store sold in that store sold in week week OBJECT HERE 2 Ta Van Co ID: GCS15329 Class: GCS0404 Problem logs: No. Test Function Details of failure Fix applied Date number 1 1 Login Wrong username Enter correct 12/10/2017 or wrong password username and password 3 1 Login Do not Enter Enter Username 12/10/2017 Username and and password password 2 3 Add cart Do not Enter Enter quantity and 17/10/2017 quantity and product id product id OBJECT HERE 3 the program was to ensure enough demand. After all. OBJECT HERE 4 .This is the program making a business start with asking me to create a program to implement a web service used to perform transactions with customers to products of goods and generate reports for the products by a date. a date range. my program to meet the requirements of the company ABCosmetic. I will have to improve the design to make our program look more modern. .The program is very easy to use.Ta Van Co ID: GCS15329 Class: GCS0404 Questionnaires: . most of the information was presented. The basis of the answers above. all functions work correctly.The response of the function in my program is fast and stable. .After testing the program.Ta Van Co ID: GCS15329 Class: GCS0404 . I will find more ways the method helps to increase the operating time of the system. OBJECT HERE 5 . However. we need to add extra functions to make it look more way that is realistic. users need to log on to the web page from the page login: . However. not just in this case.To start the session.Login can function to control user rights log on.I think that my application was implementation of the requirements for this scenario. I have to think about the real-life situation.Ta Van Co ID: GCS15329 Class: GCS0404 . User guide: Start and exit the GUI: . So if the user was a Sale Person then after login the system will automatically move to the Cart page to this person perform transactions with customers: OBJECT HERE 6 . users need to click on the area name in the top right of the screen and select Sign Out: OBJECT HERE 7 .Ta Van Co ID: GCS15329 Class: GCS0404 And if the user is a Manager. the system will move to the page Report For Staff to this person done see the report on the item: -After work to get rid of the system. Ta Van Co ID: GCS15329 Class: GCS0404 OBJECT HERE 8 . and then put the information of the product into the system to calculate the cost and perform transactions with customers. This is where the sales staff received requests to buy products of the customer.Ta Van Co ID: GCS15329 Class: GCS0404 Cart: .Cart is the only used function by multiplying the sales Institute. OBJECT HERE 9 . you can perform some actions on the products in your cart. employees can click Delete All to empty the cart. This is result after you added some products to Cart: After added some product to Cart. OBJECT HERE 10 .Ta Van Co ID: GCS15329 Class: GCS0404 . the sales clerk can click the Remove button to remove the product from the cart. if the customer does not want to buy the product again. You can change quantity and then click Update button to update quantity. Click the Submit button to complete the Payment transaction. .To use Cart.To make a payment. you need enter Product Id and Quantity that is customer want to buy into 2 orange textbox and then Press button Add to cart. the employee can see the total cost for existing orders. In addition. In the worst case is that customers forget bought for money and go about not buying anything else. .To view the report.This is where the Manager can see are reports of all the staffs for each specified date.Ta Van Co ID: GCS15329 Class: GCS0404 View Report By Date For Staff: . the results displayed the total number sold and the total income of the staff of the day was chosen. management should choose Date Report from list of staffs like picture below: then selection field in any day and then press Submit to view the report: OBJECT HERE 11 . After selecting a date. OBJECT HERE 12 . quantity or money.Results appear are displayed on each product as shown below and manager can search a product. product id in Search box in top of table.Ta Van Co ID: GCS15329 Class: GCS0404 . management should choose Date Range Report from list of staffs like picture below: management should choose a start date and end date from date selection field in any day and then press Submit to view the report: OBJECT HERE 13 .To view the report. the results displayed the total number sold and the total income of the item that staff sold of the date range was chosen. .This is where the Manager can see are reports of all the staffs for a specified date range.Ta Van Co ID: GCS15329 Class: GCS0404 View Report By Date Range For Staff: . After selecting start date and end date. product id in Search box in top of table: OBJECT HERE 14 .Ta Van Co ID: GCS15329 Class: GCS0404 . quantity or money.Results appear are displayed on each product as shown below and manager can search a product. OBJECT HERE 15 . After selecting a week.To view the report.To view the report. results show a list of all the product and the number of items specified how much of the quantity sold: .This is where the Manager can see are reports of all the staffs according to each specified week.Ta Van Co ID: GCS15329 Class: GCS0404 View Report By Week For Staff: . enter product id and then press Submit to view the report. management should choose Week Report from list of staffs like picture below: management should choose a date from date selection field in any day and then press Submit to view the report: . management should choose a date from date selection field in any day. quantity or money in Search box in top of table: OBJECT HERE 16 .Ta Van Co ID: GCS15329 Class: GCS0404 .Results appear are displayed on each staff as shown below and manager can search a staff. After selecting a date. the results displayed the total number sold and the total income of the stores of the day was chosen.To view the report.Ta Van Co ID: GCS15329 Class: GCS0404 View Report By Date For Store: . .This is where the Manager can see are reports of all the stores for each specified date. management should choose Date Report from list of stores like picture below: OBJECT HERE 17 . Ta Van Co ID: GCS15329 Class: GCS0404 then selection field in any day and then press Submit to view the report: . product id in Search box in top of table. OBJECT HERE 18 . quantity or money.Results appear are displayed on each product as shown below and manager can search a product. that store sold of the date range was chosen. .This is where the Manager can see are reports of all the stores for a specified date range.Ta Van Co ID: GCS15329 Class: GCS0404 View Report By Date Range For Store: . the results displayed the total number sold and the total income of the item. After selecting start date and end date.To view the report. management should choose Date Range Report from list of stores like picture below: management should choose a start date and end date from date selection field in any day and then press Submit to view the report: OBJECT HERE 19 . quantity or money.Results appear are displayed on each product as shown below and manager can search a product.Ta Van Co ID: GCS15329 Class: GCS0404 . product id in Search box in top of table: OBJECT HERE 20 . results show a list of all the product and the number of items specified how much of the quantity sold: .To view the report. management should choose a date from date selection field in any day.To view the report.Ta Van Co ID: GCS15329 Class: GCS0404 View Report By Week For Store: . OBJECT HERE 21 . management should choose Week Report from list of stores like picture below: .This is where the Manager can see are reports of all the stores according to each specified week. After selecting a week. enter product id and then press Submit to view the report. Results appear are displayed on each store as shown below and manager can search a store. quantity or money in Search box in top of table: OBJECT HERE 22 .Ta Van Co ID: GCS15329 Class: GCS0404 . They wanted to unify the systems to their shop to be able to record the purchase.The website Abcosmetic is branded. create reports for sales for products sold on daily/weekly (or any specified date range). They provide beauty products. See report on the products sold by the employee that is how many sold. if the Department uses as a Manager. Conversely. this application can create reports and perform registration with the new order. they can receive requests from customers with the products of the store. the sales person can make the deals to sell the product to the customer to the store to buy the product.As mentioned in the introduction. they can view the reports for the employee. packaged to meet the needs of the company ABCosmetic. Application overview: . If people use the site as a sales person. the store. Because they have multiple products and number of stores.Ta Van Co ID: GCS15329 Class: GCS0404 Technical document: Introduction: . OBJECT HERE 23 . Login: Start Get Username & Password from user input Check Username Username is Alert: Username could Yes empty not be empty! No Username Alert: Account invalid! Yes invalid No Check Password Password is Yes Alert: Wrong Password! wrong No Role is Role is Staff Check Role Manager Go to Cart page End Go to Report Page OBJECT HERE 24 .Ta Van Co ID: GCS15329 Class: GCS0404 Program flow: . Cart: Start Get Product Id & Quantity from user input Product id is Alert: Enter Product Check Product Id Yes null? Id Alert: Product id Product id is Yes No invalid valid? No Alert: Enter Product Check Quantity Quantity <=0 Yes Id No Add Product to Cart End OBJECT HERE 25 .Ta Van Co ID: GCS15329 Class: GCS0404 . Ta Van Co ID: GCS15329 Class: GCS0404 . DateTo from user Display result End OBJECT HERE 26 .Date report for staff: Start Get Staff Id & Date from user Display result End .Date Range report for staff: Start Get Staff Id & DateFrom. AddDay(-7) Display result End .Ta Van Co ID: GCS15329 Class: GCS0404 .Date report for store: Start Get Store Id & Date from user Display result End OBJECT HERE 27 .Week report for staff: Start Get Staff Id & DateTo from user DateFrom = DateTo. Ta Van Co ID: GCS15329 Class: GCS0404 . DateTo from user Display result End .Week report for store: Start Get Store Id & DateTo from user DateFrom = DateTo.AddDay(-7) Display result End OBJECT HERE 28 .Date Range report for store: Start Get Store Id & DateFrom. Login: OBJECT HERE 29 .Ta Van Co ID: GCS15329 Class: GCS0404 Error handling and reporting: . Ta Van Co ID: GCS15329 Class: GCS0404 .When user input quantity less than 1.Add cart: Data validation: . user will receive a warning:” Value must be greater than or equal to 1!”. OBJECT HERE 30 . updated. week Test results: Test Total Test function Expected outcome Actual outcome Result Date number Test 1 10 Staff login and Check username. calculated. date View report for store on Select a store and chose date range to view report. OBJECT HERE 31 . Make Payment Make payment for customer. 4 4 Update quantity in The amount of a The amount of a Pass 17/10/2017 Cart product change and product change and unit price is unit price is updated. date range View report for staff on Select a staff and chose date to view report by week. week View report for store on Select a store and chose date to view report. is Staff and go to 13/10/2017 password) Staff report by date if user is Manager 2 3 Logout User logout and User logout and Pass 13/10/2017 Exit to Login page Exit to Login page 3 13 Add some product Products to appear Products to appear Pass 15/10/2017 to cart in the shopping in the shopping cart. – cart. date range View report for store on Select a store and chose week to view report. Add product to cart Enter Product Id and quantity that customer want to buy and add to cart. date View report for staff on Select a staff and chose date range to view report. View report for staff on Select a staff and chose date to view report. total of cart is total of cart is 17/10/2017 calculated. Login success and go Pass 10/10/2017 Manager login password and role to Cart page if user – (username.Ta Van Co ID: GCS15329 Class: GCS0404 Testing plan used: Function Description Login Enter Username and Password into login form. 3 Date last changed and implemented: 20-10-2017 OBJECT HERE 32 .1.Ta Van Co ID: GCS15329 Class: GCS0404 5 4 Remove a product Product is removed Product is removed Pass 17/10/2017 in cart to cart to cart 6 4 Delete all All product is All product is Pass 17/10/2017 product in cart removed to cart removed to cart 7 12 View Staff Report Show all products Show all products Pass 17/10/2017 By Date that staff sold in that staff sold in date date 8 12 View Staff Report 18/10/2017 By Date Range 9 12 View Staff Report Show all products Show all products Pass 19/10/2017 By Week that staff sold in that staff sold in week week 10 12 View Store Report Show all products Show all products Pass 20/10/2017 By Date that store sold in that store sold in date date 11 12 View Store Report Show all products Show all products Pass 21/10/2017 By Date Range that store sold in that store sold in date range date range 12 12 View Store Report Show all products Show all products Pass 22/10/2017 By Week that store sold in that store sold in week week Possible improvements: Current version numbers: version 1.