viewsfoki.blogg.se

Sequence diagram for log in
Sequence diagram for log in











When customer clicks "Add to Cart" a new cartItem object is created and added to the cart. When a customer performs a selection operation on some kind of product on Product.aspx Webpage, the getProductDetails() method will be called which The above sequence diagram shows a successful transaction of adding a product into the shopping cart and place an order. Also, in above diagram, parameters for each diagram has to be specified.īuying - (Add to Cart and Place Order): Version 3 During the process of placing an order if the customer is logged in, the system will prompt a login request message to customer. In the above sequence diagram, the Product Class has ro be added from which the details of the selected product will be displayed for the customer to view. If user details are invalidĬustomer will not be allowed to login and an appropriate error message will be displayed, otherwise the customer is logged in.īuying - (Add to Cart and Place Order): Version 1īuying - (Add to Cart and Place Order): Version 2 The SessionManager gets the userid and user details from Customer class instance and verifies the userid and password.

sequence diagram for log in

Sequence diagram for log in password#

In the above sequence diagram the new customer will enter his/her userid & password and then click on login button on the login.aspx Webpage. A new customer will enter his/her username The corrections in above diagram : The Customer(Actor) will have to be renamed to 'Person' to differentiate from Customer Class.

sequence diagram for log in

The above sequence diagram for Login operation shows how user logs into the system by interacting with various classes and the GUI.











Sequence diagram for log in