You are on page 1of 6

Test Cases

Normal User Registration


Purpose: Test that users can register in with the proper details,
username or email address and their password.
Pre req: User is not already logged in.
User test user exists, and account is in good standing.
Test Data: Username Or Email = {test user, bogususer,
testuser@nospam.com, test@user@nospam.com, empty}
password = {valid, invalid, empty}
Contact No={valid, invalid, empty, numeric only}
Steps:

1. visit Registration Page


2. enter Personal Details, Username,
password and Email Id and Contact No
3. Fill all the Required Credentials
4. Check the Information Entered
5. see the terms-of-use page
6. click Agree at page bottom
7. click Submit
8. see Personal Page
9. verify welcome message is correct username and
Successfully Registered

login-1: Normal User Login


Purpose: Test that users can log in with the proper
username or email address and their
password.
Pre req: User is not already logged in.
User test user exists, and account is in good
standing.
Test Data: Username Or Email = {test user, bogususer,
testuser@nospam.com,
test@user@nospam.com, empty}
password = {valid, invalid, empty}
Steps:

10.

visit Login Page

11.
12.
13.
14.
15.
16.
17.

enter username Or Email


enter password
click Login
see the terms-of-use page
click Agree at page bottom
click Submit
see Personal Page

18.
verify welcome message is correct
username
Notes and Questions:

This assumes that user has not agreed


to terms-of-use already.
Does this work without browser cookies?

login-2: Locked-out User Login


Purpose: Test that a user who has been locked out by a
moderator, cannot log in, They should see a
message indicating that they were locked out.
Pre req: User is not already logged in.
User testuser2 exists, and has been locked out
Test Data: Username Or Email = {testuser2,
testuser2@nospam.com}
password = {valid}
Steps:

1.
2.
3.
4.
5.

visit Login Page


enter username Or Email
enter password
click Login
see Login Page

6. verify warning message is the lockedout message


Notes and Questions:

Does this work without browser cookies?

unique-test-case-id1: Test Case Title User Name


Purpose: Check the User Name is must unique
Pre req: Enter the Required User Name
Test Data: User name={valid, invalid, empty)
Steps:

1.
2.
3.
4.

Enter the User Name


Click on Check Availability
Get the Result
If already exists means choose one
more

5. If not exists means continue

unique-test-case-id2: Test Case Title Pass Word


Purpose: Check the Strength of Pass word
Pre req: Enter the Required Pass word
Test Data: Pass word={valid, invalid, empty, must be above 6
characters, one must be alphabetic}
Steps:

1. Enter the Password


2. Retype the password for remembrance
3.

Remember for further login

unique-test-case-id3: Test Case Title Contact No


Purpose: Check the Contact No is must be Numeric
Pre req: Enter the correct Contact No
Test Data: Contact No={valid, invalid, empty, Must be
Numeric, Length must be below 12 digits)
Steps: 1. Enter Complete Contact No Only Digits
2. Check it whether it is in correct format or
not
3. There is Limit for below 12 digits only

4. verify warning message is the locked-out


message

unique-test-case-id4: Test Case Title Email Id


Purpose: Check the Email Id Valid Or Not
Pre req: Enter the Valid User Email Id
Test Data: Email Id={valid, invalid, empty, valid Email Id
format, (.com/.in etc..)
Steps:

1. Enter the Email Id


2. Check it whether it is in correct format
or not
3. verify warning message is the lockedout message

unique-test-case-id5: Test Case Title Date Of Birth


Purpose: Check the valid Date of Birth
Pre req: Enter the Correct Date Of Birth
Test Data: Date Of Birth={valid, invalid, empty, must be not greater
than today, check whether it is in which format either
DD/MM/YY or MM/DD/YY Format}
Steps:

1.
2.
3.
4.

Enter the Date Of Birth


Check it whether it is Correct Format or Not
Conform what format they are asking
verity warning message is the locked out message

unique-test-case-id6: Test Case Title Gender


Purpose: Check the valid Gender Information
Pre req: Select Correct Gender Information
Test Data: Gender={valid, invalid, not checked}
Steps:

1. Check the Gender Information Correct


2. Check whether It is Radio button or Dropdown List
3. Check whether Checked or Not

unique-test-case-id7: Test Case Title Qualification


Purpose: Check the valid Qualification
Pre req: Enter the Correct Qualification
Test Data: Qualification={valid, invalid, empty, dont enter digits,
must be alpha numeric}
Steps:

1. Enter the Valid Qualification


2. Check whether it is Valid or not
3. Dont Leave Empty

unique-test-case-id8: Test Case Title Hint Question


Purpose: Check to select Hint Question or not and Enter Answer for
the hint question
Pre req: Check required Hint Question and Give answer
Test Data: Hint Question={Checked, Not Checked}
Answer={valid, invalid, empty)
Steps:

1. Check any Hint Question for your wish


2. Give the Proper answer for hint question
3. Remember the hint question and answer for further
reference. If Login failed for some times.