Identify 5 components of functional requirement
User can login to the application
Input: username, password
Output: user should be able to login and go to ‘User Profile’ page
Computation:
When user access ‘Home’, website should display brand logo, input fields of username and password, login button, link to ‘Forgot Password’ page, link to ‘Register’ page
When user input correct username and password, website should load ‘User Profile’ page
When user input incorrect username, website remains at current page with message “Please enter correct username”
When user input incorrect password for the first 3 times, website remains at current page with message “Please enter correct password. Account will be locked after 3 times of failed login”
Data: status of user login, counter of fail login
Timing: when user access ‘Home’ page of the application