Interview Questions, Answers and Tutorials

Test Case for E-Commerce Site (Security)

Test Case for E-Commerce Site (Security)

SECURITY-1: Administrator User Role
Purpose:
Test that an administrator user can log in to the system and access only the link page for system administrators.
Prerequisites:
The user is not logged into the system. The administrator user account exists in good standing and is set up with an administrator role.
Test Data:
User ID: admin.role
Password: testing4U
Steps:
1. Visit the 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.
7. Notes and Questions.

SECURITY-2: Client User Role

Purpose:
Test that a customer user with a custom role can log in to the system and access only the customer order page.

Prerequisites:
The user is not logged into the system. The customer user account exists in good standing and is set up with a customer role.

Test Data:
User ID: customer.role
Password: testing4U

Steps:
1. Visit the 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.
7. Notes and Questions.

1 thought on “Test Case for E-Commerce Site (Security)

Comments are closed.