e Ifthe entered email or username is already associated with an existing account, the application displays an error message indicating that the username or email address is already in us
Trang 1
VIETNAM NATIONAL UNIVERSITY UNIVERSITY OF INFORMATION TECHNOLOGY INFORMATION SYSTEMS FACULTY
REPORT
SUBJECT: UNIFIED MODELING LANGUAGE
LECTURER: Nguyén Tuan Nam TA: Nguyén Duong Tung CLASS: CS4273.012.CTTT
Student: Nguyén Thi Quynh Mai- 21522321
Ho Chi Minh city,Oct 9, 2023
Trang 2
Page | 2
Trang 3
Page | 3
Trang 4I Diagram and detailed specification:
Trang 5
Sign up
to system
including providing some necessary information After signup process, redirect to home page of system
Actor Users
private information such as: full name, date of birth, gender then submit
Related use cases Active account
Pre-condition
Page | 5
Trang 6Flow of events 1 Users open the Instagram application on their device
2 Users tap on the “Sign up” button on screen
3 Redirect to Sign up page
4 Users enter email address, username, password, full name, date of birth, gender then submit
System check validity of entered email, username, password
6 Ifthe entered information is valid, the system creates a new Instagram account for the user
Exception
conditions
e Ifthe entered information is invalid or incomplete, the
application displays an error message indicating the specific fields that need to be corrected then ask them modify them
e Ifthe entered email or username is already associated with an existing account, the application displays an error message indicating that the username or email address is already in use
Active account
are waiting for have new account
Instagram account after they have signed up Activation is required to ensure the account is active and ready for use
needs it activated
Related use cases Sign up
Pre-condition Users must have signed up for an Instagram account and an
active internet connection
Post-condition
Page | 6
Trang 7
Fail: User's Instagram account remains inactive until it is successfully activated
Flow of events 1 Users signs up for an Instagram account by providing their
email address, full name, username, and password
2 System admin active users’ accounts and register them into list of existing accounts
3 The activation page displays a confirmation message indicating that the account has been successfully activated
4 Users can now log in to their Instagram account using their username and password
prompted to connect to the internet and retry the activation process
Log in
so they need to log in to the system
Instagram account Users need provide username and password
Actor Users
necessary information for login
Post-condition Success: User is successfully logged in to their Instagram account
and redirect to newsfeed
Fail: Users remain logged out and cannot access their Instagram account Then they receive an error notification from system and are required to try again
Flow of events
1 Users open the Instagram application on their device
2 The application displays the login screen
3 Users enter their username or email address and password in
Page | 7
Trang 8
4 Users tap on the "Log In" button
5 Sysrem verifies entered account
6 If account is valid, the application logs the user into their
account
Exception
conditions
e No Internet Connection: If there is no internet connection, the application displays an error message indicating that
e If username or email address and password are incorrect the application displays an error message Users can try again or reset passwords if they’ve forgotten it
Authenticate & Authorize
account to access system
that users’ account is valid and granting their access to the features and actions available to her role and permissions
Flow of events
1 Users have entered login information in the respective fileds
and tap on “Log in”
2 The application check the entered credentials whether they are compatible with an exist account or not
3 Ifthe credentials are valid, the application authenticates the user as a registered user
Page | 8
Trang 9
e [fuser’s account has been reported, system admin will clock this account
e [fin historic activities of user, there are some suspicious activities such as commenting too much, system admin will
Reset Password
password for some reasons such as enhancing cecurity, needing another eassy-remembering password
Actor Users
they click in “change password” button
Related use cases Log in
Pre-condition Users must have a valid account with an active internet
connection and can log in the account successfully
Post-condition Success: User’s password has been chaged The user receives an
notification email indicating successful changing
Fail: Users cannot reset password, the application show error message
Flow of events
1 Users open the Instagram application on their device and then
log in to the system
2 Users tap on “Setting” button on personal page, then choose
Page | 9
Trang 10
3 Users enter their username and old password, new passord in the respective fields
System check username and old password
The application send verify email to users
After user confirm the email, password is reseted successfully
e If username or password are incorrect the application displays
Forget password
Instagram but they don’t remember password
Description This use case describes the process when user cannot login to the
system because of forgetting password
Actor Users
password” in login page
Related use cases Confrim email
Pre-condition Users must have Instagram application on their device with an
active internet connection and they can access to the email that was used to register the account
Flow of events
1 Users tap on the "Forgot Password” link on the login screen
2 The application prompts the user to enter the email address associated with their Instagram account
3 The user enters their email address and taps on the "Reset Password” button
4 System verifies the entered email address If successful, a
Page | 10
Trang 11
6 The user can now log in to their Instagram account using the new password
Scenario Users have their valid acoounts and now, they want access to
Instagram but they don’t remember password They enered email
to have a new password The system will send and verify email
address in the Instagram application After entering email for
“Forget password” function, users receive an email with a confirmation link By clicking on the link to answer some question then click on “Confirm” on their email address This account will have new password
Actor Users
with a confirmation link
Related use cases Forget password
Pre-condition Users must have Instagram application on their device with an
active internet connection
The user must have access to the email address provided during the sign-up process
Post-condition Success: The user's email address is successfully confirmed
System provide new pass for user Then users can use it to log in Fail: The application displays an error message indicating that the user’s email address remains unconfirmed
Flow of events
1 Users tap on the "Forgot Password" link on the login screen
2 The application prompts the user to enter the email address associated with their Instagram account
Page | lI
Trang 12e Ifthere are some incorrect anwers, the system will send error
Page | 12
Trang 13View story
one of the accounts she follows on the home page of the Instagram application
home page of the Instagram application Stories are temporary posts that users can share, and they appear at the top of the home
Page | 13
Trang 14Pre-condition Users must have Instagram application on their device with an
active internet connection
The user must be logged in to their Instagram account
Post-condition Success:
e The user has viewed the story
e The story is marked as viewed for the user
e The story disappears from the top of the home page after the specified time
Flow of events 1 The user opens the Instagram application on their device
2 After users having log in, the application displays the home page
The user taps on the story at the top of home page to view it The application displays the story in full-screen mode
5 The user views the content of the story, which may include photos, videos, or text
6 The user can swipe left or right to view the next or previous story, respectively
7 The user can swipe down or tap the "X" button to exit the story view
8 The application marks the story as viewed for the user and these viewed stories are not recommended
Page | 14
Trang 15
Instagram application Users can reply to stories by sending a direct message or adding a comment Replying to a story allows users to engage with the content shared by other users
reply to it So they write something into the box below the story
Related use cases View story
Pre-condition e Users must have Instagram application on their device with an
active internet connection
e The user must be logged in to their Instagram account
e The user must have access to the story they want to reply to
Post-condition Success: The reply is visible to the story owner and potentially
other viewers, depending on the privacy settings
Fail: there is a red exclamation mark bellow what user reply indicating some errors
Flow of events 1 The user taps on the story they want to view
2 The application displays the story in full-screen mode
3 The user taps on the "Reply" button or the designated area to initiate a reply
4 The application presents options for replying, such as sending
a direct message or adding a comment
5 The user selects the desired option for replying
6 The reply is now visible to the story owner and potentially other viewers, depending on the privacy settings
Exception
conditions
application displays an error message indicating that
Express emotion
want to tym, like and express other emotions for these contents
application Users can express their emotions to show
Page | 15
Trang 16
application and wants to express an emotion towards it, so they click on tym icon on screen
Related use cases View story, View feed
Pre-condition e Users must have Instagram application on their device with an
active internet connection
e The user must be logged in to their Instagram account
e The user must have access to the story/ post they want to express emotion towards
Post-condition Success: The reply is visible to the story owner and potentially
other viewers, depending on the privacy settings
Fail: there is a red exclamation mark bellow what user reply indicating some errors
4 The user selects the desired option for expressing their emotion
5 The user selects the desired option for replying
6 The system updates the like count for the post b The user's like is visible to the post owner and potentially other viewers
View feed
Page | 16
Trang 17
process of viewing the feed on the Instagram application The feed consists of posts shared by users that the actor follows By viewing the feed, the actor can stay updated with the latest content from the accounts they follow
Pre-condition e Users must have Instagram application on their device with an
active internet connection
e The user must be logged in to their Instagram account
Post-condition Success:
e The user has successfully viewed their feed
The latest posts from the accounts they follow are displayed
Flow of events The application displays the home page
The user scrolls through the feed to view the latest posts The application displays the posts in chronological order, with the most recent posts appearing at the top
4 The user can view the content of each post, including images, videos, captions, and comments
5 The user can continue scrolling to view more posts in their feed
6 The application dynamically loads additional posts as the user scrolls down
Comment
they are following
their thoughts, engage in discussions, or provide feedback on the
Page | 17
Trang 18Pre-condition e Users must have Instagram application on their device with an
active internet connection
e The user must be logged in to their Instagram account
e The user must have access to the post they want to comment
on
Post-condition Success:
e The user has successfully left a comment on the post
e« The comment is visible to the post owner and potentially other viewers, depending on the privacy settings
Flow of events 1 The application displays the home page
2 The user scrolls through the feed or navigates to a specific post to view it
The application displays the content of the post, including the image, video, caption, and existing comments
4 The user taps on the comment section below the post to start typing a comment
The user enters their comment in the input field
The user taps the "Post" or "Send" button to submit the
comment
The application validates the comment and adds it to the list
of comments for the post
8 The comment is now visible to the post owner
e Ifthe comment function of user’s account is locked, system will displays an error notification
Save post
Page | 18