Menu

Usecases

Muhammad Sumair Saqib

USE CASE: LOGIN
PRECONDITION: ** Application should be running and no user should be logged in.
ACTORS:** Admin, Teacher, DB

1- User will enter the user name and password.
2- User will press login button.
3- If password is correct main user panel will be displayed by system.

ALTERNATE PATHS
If username or password is incorrect, an error message will be displayed by system.


USE CASE: LOGOUT
PRECONDITION: Application should be running and user should be logged in.
ACTORS: ADMIN, TEACHER

1- User will press logout button.
2- User will be logged out successfully and login screen will be displayed.


USE CASE: ADD A TEACHER
PRECONDITION: Application should be running and user should not be already registered.
ACTORS: Admin, DB

1- User will enter the name, username, password, type and other personal details.
2- User will press signup button.
3- User will be registered by system and stored in db.

ALTERNATE PATHS
If any field is not filled, an error message will be displayed by system.
If current user is already registered, an error message will be displayed by system.


USE CASE: ADD A QUESTION
PRECONDITION: Application should be running and user should be logged in.
ACTORS: Teacher,DB

1- User will select the section type (mathematics, general knowledge, science etc.)
2- User will enter questions along with their answers.
3- User will then select the add button.

ALTERNATE PATHS
If any field is not filled, an error message will be displayed by system.


USE CASE: MAKE A REPORT
PRECONDITION: Application should be running and user should be logged in.
ACTORS: Teacher, Admin, DB

1- User will select the generate report button.
2- User will select the schools for which he want to generate a report.
3- System will automatically generate and show result.


USE CASE: ADD A SCHOOL
PRECONDITION: Application should be running and user should be logged in.
ACTORS: Teacher, DB

1- User will enter school name.
2- User will enter category (rural or urban).
3- User will press add button and school will be stored in db.


USE CASE: REMOVE A TEACHER
PRECONDITION: Application should be running and user should be logged in.
ACTORS: Admin, DB

1- User will select the manage staff button.
2- User will select users he want to remove.
3- User will press the remove button.
4- System will ask for confirmation.
5- User will select the ok button and teacher will be removed.

USE CASE: ATTEMPT A PAPER
PRECONDITION: Application should be running and user should be logged in.
ACTORS: Student,System,DB

  1. User will enter his name, roll number and school name.
  2. User will answer the questions and press next button.
  3. System will keeping displaying questions.
    4- System will automatically check the answers and show the result at the end.

Related

Wiki: Home

MongoDB Logo MongoDB