You are on page 1of 7

1.

Module Name: REGISTRATION


Use Case ID: UC1
1. 1 Module Overview:
In this module the user get registers to the system by providing his personnel,
professional and other details, and these details are stored in the database.

1.2 Inputs to Module:


1.
2.
3.
4.
5.
6.
7.
8.

Email Id
Password
First name, Last name and Middle name
Age
Date of Birth
Address
Contact details
Educational and Professional details

1.3 Outputs from Module:


A new user is created.

Table 7.1 Test cases and result for register user


Use Case

Test case name

UC1-2

Pre condition

Input

Expected result

tested

No.
UC1-1

Condition to be

Register user

Register user

All fields are

Server should

All fields are

Error message

Filled

be running and

kept blank.

Fields cannot be

website is

empty is

opened.

displayed

All fields are

Server should

Only few fields Error message

Filled

be running and

are filled

Fields cannot be

website is

empty is

opened.

displayed

UC1-3

Register user

Email ID is

Server should

valid

be running and

Enter an valid
email id.

website is
UC1-4

Register user

Register user

Invalid entry for


email id is

Email id is

opened.
Server should

Enter a

displayed
Error message

unique

be running and

duplicate email

email id already

website is

id.

exists is

opened.
UC1-5

Error message

displayed

Length of

Server should

Enter password

Error message

password is

be running and

which has less

Password must

greater than or

website is

than 6

be at least 6

equal to 6.

opened.

characters.

characters in
length

UC1-6

UC1-7

UC1-10

Register user

Register user

Register user

Name is correct

Server should

Enter name

Error message

be running and

with digits or

Invalid name is

website is

some special

displayed

opened.

characters

Contact number

Server should

Enter name

Error message

is correct

be running and

with digits or

Invalid contact

website is

some special

number is

opened.

characters

displayed

Contact number

Server should

Enter name

Error message

is correct

be running and

with digits or

Invalid contact

website is

some special

number is

opened.

characters

displayed

2. Module Name: User Module


Use Case ID: UC2
2. 1 Module Overview:

In this module the user performs the following functions


1.
2.
3.
4.
5.

Add / delete contacts


Send Mail
Add/Remove users to/from blacklist
Add/Remove users to/from whitelist
Change Password

2.2 Inputs to Module:


1. Add/ delete contacts
User Name for creation/deletion
Required details for updating
2. Send Mail
Receiver email id, subject and message
3. Add/Remove users to/from blacklist
contacts name for creating/deleting
4. Add/Remove users to/from whitelist
contacts name for creating/deleting
5. Change Password

Old Password, New Password, Confirm Password

2.3 Outputs from Module:


Insertion / Deletion / Updation of

details in the database depending on the users

selection.

Table 7.2 Test cases for user module


Use Case
No.

Test case name

Condition to be

Pre

tested

condition

Input

Expected result

UC2-1

UC2-2

Add / delete

Specify Contact

Server

Contact

If it is creation

contact

name/Deleting

should be

name

then a contact is

contact name must be

running and

created or if it is

present

website is

deletion then the

opened.

gcontact is deleted

Send Mail

Specify the person

Server

Un-existing

Display Error

email id whom you

should be

email id

Email Id not

want to send mail,

running and

subject and message.

website is

exists

opened.
UC2-3

Send Mail

Specify the person

Server

Existing

Display Error

email id whom you

should be

email id,

Please enter a

want to send mail,

running and

Subject or

subject and

subject and message.

website is

message or

message

opened.

both not
filled

UC2-4

Send Mail

Specify the person

Server

Existing

Display Error

email id whom you

should be

email id in

You are

want to send mail,

running and

which the

blacklisted by the

subject and message.

website is

user is

user

opened.

blacklisted ,
Subject,
Message

UC2-5

Send Mail

Specify the person

Server

Existing

Email will not be

email id whom you

should be

email id ,

sent as it contains

want to send mail,

running and

Subject,

offensive words.

subject and message.

website is

Message

opened.

with
offensive

words

UC2-6

Send Mail

Specify the person

Server

Existing

email id whom you

should be

email id in

want to send mail,

running and

which user

subject and message.

website is

is

opened.

whitelisted ,

Email will be sent

Subject,
Message
with
offensive
words
UC2-6

Send Mail

Specify the person

Server

Existing

email id whom you

should be

email id,

want to send mail,

running and

Subject,

subject and message.

website is

Message

opened.

3. Module Name: Login


Use Case ID: UC3
3.1 Module Overview:
Here the user provides username and password.
3.2 Inputs to Module:
1. User Name.
2. Password of the user.
3.3 Outputs from Module:

Email will be sent

If authentication (username, password) is successful, then he is presented with admin


page if he is admin and he is presented with user page if he is user.

Table 7.3 Test cases for login details


Use Case

Test case name Condition to be

input

tested

No.
UC3-1

Pre condition

result

Login details

User should fill

Server should be

The fields are

Error message

validation

all the fields

running and

left empty

Fields cannot

website is opened.
UC3-2

Expected

Login details

Username exists

validation

be empty is

Server should be

Enter

running and

username

website is opened. which does

displayed
Error message
Username
does not exist
is displayed

not exist
UC3-3

UC3-4

UC3-5

Login details

If the user has

Server should be

Enter invalid

Error message

validation

entered valid

running and

user name and Invalid

username

website is opened. then click

username is

sign in.

displayed
Error message
Password
field empty is
displayed

Login details

If user has

Server should be

Enter only

validation

entered his

running and

username and

username.

website is opened. no password

Login details

User has entered

Server should be

User enters

Error message

validation

username and

running and

username and

User name

corresponding

website is opened. password

password

and password

which does

does not

not match

match is
displayed

UC3-6

Login details

User has entered

Server should be

User name

Opens the

validation

username and

running and

and password

authentication

corresponding

website is opened. are valid and

password

matching.

page.

You might also like