Skip to content

Test Cases

Omri Naor edited this page Jul 14, 2024 · 8 revisions
Test ID Test Description Pre Condition Test Steps Test Data (inputs) Expected Result Actual Results Pass/Fail
TST001 Verify Fill Questionnaire Functionality Guests can access the questionnaire
  1. Actor completes the questionnaire
  2. Actor submits the questionnaire
Responses to the questionnaire with different ranges: < 19 (easy), 20-32 (medium), 33-60 (hard) System calculates and presents the score System calculates and presents the score Pass
TST002 Verify Save Questionnaire Results Users must be logged in to save results
  1. Actor logs in
  2. Actor completes the questionnaire
  3. Actor submits the questionnaire
  4. Actor opts to save results
Responses to the questionnaire with different ranges: < 19 (easy), 20-32 (medium), 33-60 (hard) System calculates, presents the score, and saves the results to the user's account System calculates, presents the score, and saves the results to the user's account Pass
TST003 Verify Login Functionality Users must have valid login credentials
  1. Actor submits login credentials
Email: [email protected], Password: Aa123456 System validates credentials and grants access System validates credentials and grants access Pass
TST004 Verify Login with Invalid Credentials Handling Users must have an existing account
  1. Actor submits invalid login credentials
Email: [email protected], Password: סיסמאבעבריתהיאלאתקינה System displays an error message indicating incorrect credentials System displays an error message indicating incorrect credentials Pass
TST005 Verify View Questionnaire History User is logged in and has completed and saved at least one questionnaire
  1. User accesses "Questionnaire History" section
N/A System displays a list of completed questionnaires with scores System displays a list of completed questionnaires with scores Pass
TST006 Verify Reset Password Functionality Users must have an existing account and access to their registered email address
  1. User requests password reset
  2. User receives reset link
  3. User follows link
  4. User sets a new password
Registered email: [email protected], New Password: NewPassword System updates the password and confirms the change System updates the password and confirms the change Pass
TST007 Verify Manage Users Functionality Admin must be logged in with admin privileges
  1. Admin accesses the user management interface
  2. Admin selects to edit or delete a user account
  3. Admin performs the action
User account details System confirms the action and updates the user account accordingly System confirms the action and updates the user account accordingly Pass
TST008 Verify Manage Posts Functionality Admin must be logged in with access to content management system
  1. Admin navigates to post management
  2. Admin chooses to create/edit/delete a post
  3. Admin performs the action
Post details System confirms the action and updates the post accordingly System confirms the action and updates the post accordingly Pass
TST009 Verify Register (Sign Up) Functionality Guests must have access to the website
  1. Guest clicks "Sign Up"
  2. Guest fills registration form
  3. Guest submits form
Name, Email, Password, etc. System creates account and confirms registration System creates account and confirms registration Pass
TST010 Verify Manage Questionnaires Functionality Admin must be logged in with sufficient privileges
  1. Admin accesses questionnaire management
  2. Admin chooses to create/edit/delete an item from the questionnaire
  3. Admin performs the action
Questionnaire details System confirms the action and updates the questionnaire accordingly System confirms the action and updates the questionnaire accordingly Pass
TST011 Verify Generate Statistical Reports Admin must be logged in with administrative privileges
  1. Admin logs in
  2. Admin navigates to "Statistical Analysis"
  3. Admin selects to generate reports
  4. Admin configures report parameters
Date range System processes data and generates statistical reports System processes data and generates statistical reports Pass
TST012 Verify Unauthorized User Cannot Access Admin Management User is logged in with regular user privileges
  1. User attempts to access admin management interface
N/A System denies access and displays the login page System denies access and displays the login page Pass

Clone this wiki locally