Interview Questions, Answers and Tutorials

Test Case for E-Commerce Site (Validation)

Test Case for E-Commerce Site (Validation)


Field Input – 1: Maximum Length UserId

Purpose:
Test that users can only put in a maximum length of characters for input fields.

Prerequisites:
The user is not logged into the system. The user account ‘test.user’ exists and is in good standing.

Test Data:
User ID: Put over 40 Characters.
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 will receive an Error message “User ID must have a maximum length of 40”.

Post-Test:
6. Notes and Questions.

Field Input – 2: Maximum Length Password

Purpose:
Test that users can only put in a maximum length of characters for input fields.

Prerequisites:
The user is not logged into the system. The user account ‘test.user’ exists and is in good standing.

Test Data:
User ID: test.user
Password: Put over 20 Characters.

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 will receive an Error message “Password must have a maximum length of 20”.
 
Post-Test:
6. Notes and Questions.

2 thoughts on “Test Case for E-Commerce Site (Validation)

Comments are closed.