test cases for nopcommerce site log in
test cases for nopcommerce site log in
▎Test Case 1
Expected Result: User is successfully logged in and redirected to the home page.
Actual Result: User is successfully logged in and redirected to the home page.
---
▎Test Case 2
Expected Result: User is successfully logged in, and the session is remembered for
future visits.
Actual Result: User is successfully logged in, and the session is remembered for
future visits.
---
▎Test Case 3
Expected Result: User is successfully logged in without remembering the session for
future visits.
Actual Result: User is successfully logged in without remembering the session for
future visits.
---
▎Test Case 4
Expected Result: User is successfully logged in with the new password after
resetting it.
Actual Result: User is successfully logged in with the new password after resetting
it.
---
▎Test Case 5
Expected Result: User is successfully logged in and redirected to the home page
despite clearing cache and cookies.
Actual Result: User is successfully logged in and redirected to the home page
despite clearing cache and cookies.
---
▎Test Case 6
---
Unhappy test cases:
▎Test Case 1
---
▎Test Case 2
---
▎Test Case 3
Expected Result: Error message indicating that the email field is required is
displayed.
Actual Result: Error message indicating that the email field is required is
displayed.
---
▎Test Case 4
Expected Result: Error message indicating that the password field is required is
displayed.
Actual Result: Error message indicating that the password field is required is
displayed.
---
▎Test Case 5
---
▎Test Case 6
Expected Result: Error message indicating that the account does not exist is
displayed.
Actual Result: Error message indicating that the account does not exist is
displayed.
---
▎Test Case 7
Expected Result: Error message indicating invalid email format is displayed due to
special character usage.
Actual Result: Error message indicating invalid email format is displayed due to
special character usage.
---
▎Test Case 8
Summary: Unsuccessful login with a very long email address exceeding character
limit.
Steps:
1. Navigate to the login page: https://demo.nopcommerce.com/login?returnUrl=%2F
Expected Result: Error message indicating that the email exceeds character limit is
displayed.
Actual Result: Error message indicating that the email exceeds character limit is
displayed.
---
▎Test Case 9
---
▎Test Case 10
Expected Result: Error message indicating that the account is locked due to too
many failed attempts is displayed.
Actual Result: Error message indicating that the account is locked due to too many
failed attempts is displayed.
---