Test Case for E-Commerce Site (Security)


SECURITY-1: Administrator User Role
Purpose:
Test that an administrator user can log into the system and access only the link page for system administrators.
Prerequisites:
User is not logged into the system. The administrator user account exists in good standing and is setup with a administrator role.
Test Data:
User ID
admin.role
Password
testing4U
Steps:
1. Visit Login page.
2. Enter the User ID stated above.
3. Enter the Password stated above.
4. Click the Submit button.
Verify Results:
5. The user is directed to the administrative link page.
Post-Test:
6. Click the Logout button.
Notes and Questions:

SECURITY-2: Client User Role
Purpose:
Test that a customer user with a customer role can log into the system and access only the customer order page.
Prerequisites:
User is not logged into the system. The customer user account exists in good standing and is setup with a customer role.
Test Data:
User ID
customer.role
Password
testing4U
Steps:
1. Visit Login page.
2. Enter the User ID stated above.
3. Enter the Password stated above.
4. Click the Submit button.
Verify Results:
5. The user is directed to the customer order page.
Post-Test:
6. Click the Logout button.
Notes and Questions: