Package test.boundary

Class ChangeStudentPasswordTest

java.lang.Object
test.boundary.ChangeStudentPasswordTest

public class ChangeStudentPasswordTest extends Object
This class is responsible for testing the functionality of changing a student's password through the ChangeAccountPassword interface.
  • Constructor Details

    • ChangeStudentPasswordTest

      public ChangeStudentPasswordTest()
  • Method Details

    • main

      public static void main(String[] args) throws ModelAlreadyExistsException, PageBackException
      The main method of this class is responsible for executing the test case of changing a student's password. It creates a new student, registers the student with the system, and then attempts to change their password. Upon completion, the user is redirected to the login page.
      Parameters:
      args - command line arguments
      Throws:
      ModelAlreadyExistsException - if the model already exists
      PageBackException - if the user decides to go back to the previous page