Skip to content
Parneet Gill edited this page Feb 18, 2022 · 31 revisions

1.1 Introduction

The Bulldog Roadmap is a web page that allows users to create a roadmap for their graduation. Users will be able to create an account. They can pick the number of years they want to graduate in, the courses they will like to take, and the times they prefer to take classes during a specific semester. They can save their roadmap and view it later. Bulldog Roadmap will also have a calendar page, that will provide the users with information about each semester that includes holidays, start and end date of the semester, final exam dates, consultation days, and other important information. They will also have the ability to view course ratings and make friends list. There will be a course information page where users can search for classes that are offered in a specific semester.

1.2 Test Cases

Login

Test Case 1: Check the outcome of login with the right username and password

  1. Test Steps:
  • Go to site
  • Enter User name
  • Enter password
  • Click Submit button
  1. Test Data
  • User name
  • Password
  1. Expected result
  • The user should log in successfully

Test Case 2: Check the outcome of login with the wrong user or password

  1. Test Steps:
  • Go to site
  • Enter invalid user name or password
  • Click Submit button
  1. Test Data
  • User name
  • Password
  1. Expected result

*User should not be able to log in

Test Case 4: Check outcome when the username is empty and the login button is pressed

  1. Test Steps:
  • Go to site
  • Click Submit button
  1. Test Data
  • User name
  • Password
  1. Expected result

*User should not be able to log in

Create a new account

Test Case 1: Check the response when a user enters a valid email address

  1. Test Steps:
  • Enter valid email address
  • Enter password that meets minimum requirements
  • Enter user information like name, major
  1. Test Data
  • User name
  • Password
  • Email address
  • Major
  1. Expected result

*It should successfully create an account for the user

Test Case 2: User already registered

  1. Test Steps
  • Enter existing email address
  • Enter a password that meets the requirement
  • Enter user information like name, major
  1. Test Data
  • User name
  • Password
  • Email address
  • Major
  1. Expected result
  • It should return with a message saying that the user already exists.

View Profile/Main Menu/Personal Account

Test Case 1: Check the result of the model with no major selected

  1. Test Steps:
  • Go to site
  • Ensure no major is selected
  • Select option to view the main menu
  • Click Submit button
  1. Test Data
  • N/A
  1. Expected result
  • Not to update major section

Search Class

Test Case 1: Check results of entering a valid class number

  1. Test Steps:
  • Enter the valid class number
  • Click submit button
  1. Test Data
  • Class Number
  1. Expected result
  • User should be able to view class

Test Case 2: Check results of entering an invalid class number

  1. Test Steps:
  • Enter the valid class number
  • Click submit button
  1. Test Data
  • Class Number
  1. Expected result
  • User should be able to view class

Test Case 3: Check conditions when filtering for classes 3. Expected Result

  • User should be to view classes of choice

View Class Information

Test Case 1: Check class name if it matched with the provided information

  1. Test Steps:
  • Enter class name
  • Enter information of the class
  • Click Submit button
  1. Test Data
  • Information inputted by the user
  1. Expected result
  • Input data should match with systems class names

Test Case 2: Check the class schedule if it matched with the provided information

  1. Test Steps:
  • Submit class schedule
  1. Test Data:
  • Class schedule
  1. Expected Results
  • Professor should match to information user entered

Test Case 3: Check professor’s name if it matched with the provided information

  1. Test Steps:
  • Submit class schedule
  1. Test Data:
  • Professor Name
  1. Expected Results
  • Professor should match to information user entered.

Test Case 4: Check term available if it matched with the provided information

  1. Test Steps:
  • Submit class schedule
  1. Test Data:
  • Term Month and Year
  1. Expected Results
  • Information on term data should be displayed with the information provided by the user.

Create Roadmap

Test Case 1: Check response on clicking button to view roadmap (4-5 year plan)

  1. Test Steps:
  • Enter valid major
  1. Click submit button
  • Test data:
  • Major
  • Number of years
  1. Expected results:
  • Return a number year roadmap plan for that major with random electives

Test Case 2: Check the response when valid classes are selected

  1. Test Steps:
  • Pick a major
  • Select classes(electives that you want to take)
  • Pick the number of years you want to finish your degree in
  1. Test data:
  • Major
  • Electives
  • number of years
  1. Expected results:
  • Returns a number year roadmap for selected major with selected electives

Test Case 3: Check the response when invalid classes for the selected semester are selected

  1. Test Steps:
  • Pick a major
  • Select classes for each semester
  • Select class not offered during the semester
  • Click submit button
  1. Test Data
  • Classes of offered semester
  1. Expected Results:
  • User should not be able to add class to the schedule

Test Case 4: Check the outcome of selecting classes not required in major/minor

  1. Test Steps:
  • Select a class outside of the required major/minor
  • Click submit button
  1. Test Data
  • Classes
  1. Expected Results:
  • Not able to add classes, must send request

Catalog Parser (Admin function)

Test Case 1: Check response when non-pdf file is uploaded

  1. Test Steps:
  • Login with an admin account
  • Navigate to the courses upload page
  • Select dummy non-pdf file
  • Click ‘submit’
  1. Test Data:
  • Non-pdf file
  1. Expected Result:
  • No data is changed
  • Returns message to the user to upload a pdf file

Test Case 2: Check the response when a pdf file in the wrong format is uploaded

  1. Test Steps:
  • Login with an admin account
  • Navigate to the courses upload page
  • Select dummy pdf file
  • Click ‘submit’
  1. Test Data:
  • Dummy pdf file (in wrong course format)
  1. Expected Result:
  • No data is changed
  • Returns message to the user that pdf file is not incorrect format

Test Case 3: Check the response when a pdf file in the correct format is uploaded and database is empty

  1. Test Steps:
  • Login with an admin account
  • Ensure no courses are already loaded into a database with the course search feature
  • Navigate to the courses upload page
  • Select correctly formatted pdf file (course catalog)
  • Click ‘submit’
  1. Test Data:
  • Empty database
  • Correct pdf file (course catalog)
  1. Expected Result:
  • Inputs new course information parsed from pdf
  • Returns success message to user

Test Case 4: Check the response when a pdf file in the correct format is uploaded and database is not empty

  1. Test Steps:
  • Login with an admin account
  • Ensure courses are already loaded into a database with the course search feature
  • Navigate to the courses upload page Select correctly formatted pdf file (course catalog)
  • Click ‘submit’
  1. Test Data:
  • Previously loaded database
  • Correct pdf file (course catalog)
  1. Expected Result:
  • Overrides data with new course information parsed from pdf
  • Returns success message to the user
  • Returns database overwritten message to the user.

Create a new account

Test Case 1: Check the response when a user enters valid email address

  1. Test steps:
  • Enter valid email address
  • Enter the password that meets minimum requirements
  • Enter user information like name, major
  1. Data needed to perform testing
  • User name
  • Email address
  • Password
  • Major
  1. Expected result
  • It should successfully create an account for the user

Test case 2: User already registered

  1. Test steps:
  • Enter existing email address
  • Enter the password that meets the requirement
  • Enter user information like name, major
  1. Data needed:
  • User name
  • Email address
  • Password *Major
  1. Expected result:
  • It should return with a message saying that the user already exists.
Clone this wiki locally