public void GivenHEDProgramIsAlreadyCreatedIfNotThenCreateTheHEDProgram()
 {
     try
     {
         string isProgramAlreadyCreated = DatabaseTools.GetProgram(Enumerations.ProgramInstance.HedCore);
         if (isProgramAlreadyCreated == null || isProgramAlreadyCreated.Equals("False") || isProgramAlreadyCreated.Equals(""))
         {
             GenericTestStep.StepToBrowsedUrlForPegasusUser("HED CS Admin");
             GenericTestStep.StepToLoggedIntoTheCourseSpaceAsHedCSAdmin();
             GenericTestStep.StepToItShouldShowTheManageProgramsPage();
             GenericTestStep.StepToClickTheCreateNewProgramLink();
             GenericTestStep.StepToCreateHedProgram();
             GenericTestStep.StepToItShouldDisplaySuccessfulMessage("Program created successfully.");
         }
     }
     catch (Exception e)
     {
         GenericHelper.Logs(e.ToString(), "FAILED");
         Assert.Fail(e.ToString());
     }
 }