Fall 2022 - CS619 - 7747 - 25039 - F2202DBFD9

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 26

<Parent Teacher Communication Management System>

Design Document

Version 1.0

Group Id: F2202DBFD9 

Supervisor Name :< Jibran Khan>

1|Page
Revision History

Date Version Description Author


(dd/mm/yyyy)
24/02/2023 1.0 This document contains BC190405610

Introduction, Entity

Relationship Diagram,

Sequence Diagram,

Architecture Design

Diagram, Class Diagram,

Database Design,

Interface Design, Test

Cases

2|Page
Table of Contents

1. Introduction of Design Document 4

2. Entity Relationship Diagram (ERD) 5

3. Sequence Diagrams 6

4. Architecture Design Diagram 12

5. Class Diagram 13

6. Database Design 14

7. Interface Design 15

8. Test Cases 21

3|Page
1. Introduction of Design Document

The purpose of this document is to present a system Design of Parent teacher


communication management system. This document is presented both graphically in
screenshots and in text. Design Document provides documentation which will be
used to aid in project development by providing the details that how the program
should be built.

Scope of the Project

The school management system is a web-based system which


will use as a platform for interaction between student, teachers and parents. While
the main objective of this project is to computerize the paperwork in the system and
automate the work. The computerization is done so that the storage of all the details
regarding students and teachers will be stored in the system which makes system
centralized and the chance of duplication of any data is minimized. While by doing
automation to the system will reduce the time for storing any data in the system.

2. Entity Relationship Diagram (ERD)

ER diagrams use is the most often used for relational database in software engineering.
An ER diagram is a type of flowchart describing how the entities relate with each other
in a system. Entities are represented as rectangles while the attributes as represented
in ellipse and the attributes are the properties of entities. The diamonds are used to
show the relationships between entities. The ER diagram for the project is shown in the
figure below.

4|Page
ER Diagram:

5|Page
3. Sequence Diagrams

A sequence diagram simply depicts interaction between objects in a sequential order


i.e., the order in which these interactions take place. We can also use the terms
event diagrams or event scenarios to refer to a sequence diagram. Sequence

diagrams describe how and in what order the objects in a system function. The
sequence diagrams for the project are shown below:

6|Page
7|Page
8|Page
9|Page
10 | P a g e
11 | P a g e
4. Architecture Design Diagram

12 | P a g e
This section describes the information of flowing characteristics of the software and
maps them into the program structure. It includes information on the transformation
mapping method applied to exhibit distinct boundaries between incoming and outgoing
data, and the data flow diagrams that allocate control input, processing, and output
along three separate modules.

5. Class Diagram

The class diagram is the main building block of object-oriented modeling. It is used


for general conceptual modeling of the structure of the application, and for detailed
modeling translating the models into programming code. Class diagrams can also be
used for data modeling.

13 | P a g e
6. Database Design

Database Design is defined as a collection of steps that help with designing, creating,


implementing, and maintaining a business's data management systems. The main
purpose of designing a database is to produce physical and logical models
of designs for the proposed database system.

14 | P a g e
7. Interface Design
This section describes the internal and external program
interfaces, as well as the design of the human interface. It is based on the information
obtained from the analysis model.

15 | P a g e
16 | P a g e
17 | P a g e
18 | P a g e
19 | P a g e
20 | P a g e
21 | P a g e
8. Test Cases
This section includes a set of conditions or variables under which a
tester will determine whether a system under test satisfies requirements or works
correctly. It includes a plan for testing the project, including test cases, test procedures,
and acceptance criteria.

Test Case TC1_Signup Test Case Parent signup


ID Description
Sr# Prerequisites Sr# Test Data
1 Parent is not 1 Name:
already registered. Username:
Email:
Phone:
Password:
Step# Step Details Expected Results Actual Pass/Fail/Not
Results Executed/Suspended
1 Enter domain URL Home page will be Pass
localhost:3000 opened
2 Click on Parent Parent Signup
Signup link page will be
opened
3 Enter test data 1. Message
and click save appear “You
are
registered
successfully

2. Email will be
sent on
provided id
3. Get Singin
Link in the
message.

Test Case TC2_login Test Case User login to their account.


ID Description
Sr# Prerequisites Sr# Test Data
1 User is already 1 User name:
registered. Password:
Step# Step Details Expected Actual Pass/Fail/Not
Results Results Executed/Suspended
1 Enter the URL of Login page will Pass
the login page. be opened.
2 Enter username, Dashboard will

22 | P a g e
password and click be shown.
on the login button.

Test Case TC3_AddUser Test Case Admin add the user.


ID Description
Sr# Prerequisites Sr# Test Data
1 User is not already 1 Name:
registered in the User name:
system. Email:
Phone:
Password:
Role:
Step# Step Details Expected Actual Pass/Fail/Not
Results Results Executed/Suspended
1 Admin click on the Users list will be Pass
Users that is shown.
displayed on the
dashboard.
2 Click on the Add New user
user button. template will be
shown.
3 Enter the test case The user will be
data and click save created in the
button. users list.

Test Case TC4_EditUser Test Case Edit the user information.


ID Description
Sr# Prerequisites Sr# Test Data
1 User must be 1
registered in the
system.
Step# Step Details Expected Actual Pass/Fail/Not
Results Results Executed/Suspended
1 Click on the users Users list will be Pass
list. shown.
2 Click on the edit User
icon that is shown information
in the action details will be
column. displayed.
3 Edit phone no, role User
and click on the information
update button. updated
successfully.
23 | P a g e
Test Case TC5_DeleteUser Test Case Delete the user information from
ID Description the system.
Sr# Prerequisites Sr# Test Data
1 User must be 1
registered in the
system.
Step# Step Details Expected Actual Pass/Fail/Not
Results Results Executed/Suspended
1 Click on the users Users list will be Pass
list. shown.
2 Click on the delete Delete warning
icon that is shown screen will be
in the action displayed.
column.
3 Click on the delete User
button which is successfully
displayed on the deleted from the
warning screen. list.

Test Case TC6_ParentProfile Test Case Parent enter their complete


ID Description profile information.
Sr# Prerequisites Sr# Test Data
1 Parent must be 1 Name:
logged in. Email:
CNIC:
Photo:
Phone no:
Emergency contact
no:
Address:
Qualification:
Occupation:

Step# Step Details Expected Actual Pass/Fail/Not


Results Results Executed/Suspended
1 Click on the photo Parent profile Pass
icon that is will be
displayed on the top displayed.
right corner.
2 Click on my profile Complete profile
button. template will be
shown.
3 Enter the test data Parent profile

24 | P a g e
and click on the information will
save button. be saved.

Test Case TC7_TeacherProfile Test Case Teacher enters their complete


ID Description profile information.
Sr# Prerequisites Sr# Test Data
1 Teacher must be 1 Name:
logged in. Email:
CNIC:
Photo:
Phone no:
Address:
Qualification:
Handling Courses:

Step# Step Details Expected Actual Pass/Fail/Not


Results Results Executed/Suspended
1 Click on the photo Profile will be Pass
icon that is displayed.
displayed on the top
right corner.
2 Click on my profile Complete profile
button. template will be
shown.
3 Enter the test data Profile
and click on the information will
save button. be saved.

Test Case TC8_UsersList Test Case Admin manage the users list.
ID Description
Sr# Prerequisites Sr# Test Data
1 Users must be 1 User name:
registered in the Role:
system.
Step# Step Details Expected Actual Pass/Fail/Not
Results Results Executed/Suspended
1 First login to the Home page will Pass
system. be displayed.
2 Click on the Users User list will be
that is displayed on shown.
the dashboard.

Test Case TC9_Permission Test Case Admin assign different


ID Description permissions to roles.
25 | P a g e
Sr# Prerequisites Sr# Test Data
1 Different roles are 1 Role:
registered in the Permissions:
system.
Step# Step Details Expected Actual Pass/Fail/Not
Results Results Executed/Suspended
1 Click on the Roles Permissions Pass
permission. screen will be
displayed.
2 Click on the role All roles will be
from roles displayed.
dropdown.
3 Select the role from Permission will
the dropdown and successfully be
then check assigned to the
permissions and role.
click on the save
button.

Test Case TC10_EditPermissio Test Case Edit permissions of the roles.


ID n Description
Sr# Prerequisites Sr# Test Data
1 Different roles are 1 Permissions:
registered in the
system.
Step# Step Details Expected Actual Pass/Fail/Not
Results Results Executed/Suspended
1 Click on the edit Edit Pass
button. Permissions
screen will be
displayed.
2 Click on the role from All roles will be
roles dropdown. displayed.
3 Select the role from Permission will
the dropdown and successfully be
then check assigned to the
permissions and click role.
on the save button.

26 | P a g e

You might also like