public void Create_PreApplicationFormTemplate()
        {
            ExtentReport.test = ExtentReport.extent.StartTest("Create Pre Application Form Template");
            _03_HomePage HP = new _03_HomePage(_driver);

            HP.SystemHeader();
            SystemConfirgPage SysConPage = new SystemConfirgPage(_driver);

            SysConPage.LinkFormTemplates();
            _05_FormTemplatePage FormTempPage = new _05_FormTemplatePage(_driver);

            FormTempPage.AddNewFormTemplate();
            _05_FormTemplateCreationPage FormTempCreaPage = new _05_FormTemplateCreationPage(_driver);
            ArrayList list = FormTempCreaPage.GetFormDetails("FormTemplatesData", "FormTemplate", "FormType", "Pre Application Form");

            BaseMethods.DdlSelectByText(FormTempCreaPage.FormType(), list[0].ToString());
            FormTempCreaPage.FormName(list[1].ToString());
            BaseMethods.DdlSelectByText(FormTempCreaPage.FormStatus(), list[2].ToString());
            FormTempCreaPage.SaveFormTemplate();
            ExtentReport.test.Log(LogStatus.Pass, "Pre Application Form Template is Created");
            FormTempCreaPage.CreateMultipleSteps(_driver, "FormTemplatesData", "FormTemplateSteps", "FormType");
            FormTempCreaPage.AddQuestionToStep(_driver, "FormTemplatesData", "AddQuestiontoStep");
            FormTempCreaPage.AddGlobalQuestionToStep(_driver, "FormTemplatesData", "AddGlobalQuestiontoStep");
            BaseMethods.DdlSelectByText(FormTempCreaPage.FormStatus(), list[2].ToString());
            FormTempCreaPage.SaveFormTemplate();
            Logger.log.Info("Pre Application Form Template is Created with Steps and Local Questions and Global Questions");
            ExtentReport.test.Log(LogStatus.Pass, "Pre Application Form Template is Created with Steps and Local Questions and Global Questions");
        }
        public void Edit_Delete_Assessment_FormTemplate()
        {
            ExtentReport.test = ExtentReport.extent.StartTest("Edit And Delete Assessment Form Template");
            _03_HomePage HP = new _03_HomePage(_driver);

            HP.SystemHeader();
            SystemConfirgPage SysConPage = new SystemConfirgPage(_driver);

            SysConPage.LinkFormTemplates();
            _05_FormTemplatePage FormTempPage = new _05_FormTemplatePage(_driver);

            FormTempPage.AddNewFormTemplate();
            _05_FormTemplateCreationPage FormTempCreaPage = new _05_FormTemplateCreationPage(_driver);
            ArrayList list = FormTempCreaPage.GetFormDetails("FormTemplatesData", "FormTemplate", "FormType", "Assessment Form");

            BaseMethods.DdlSelectByText(FormTempCreaPage.FormType(), list[0].ToString());
            FormTempCreaPage.FormName(list[1].ToString());
            BaseMethods.DdlSelectByText(FormTempCreaPage.FormStatus(), list[2].ToString());
            FormTempCreaPage.SaveFormTemplate();
            ExtentReport.test.Log(LogStatus.Pass, "Assessment Form Template is Created");
            FormTempCreaPage.CreateMultipleSteps(_driver, "FormTemplatesData", "FormTemplateSteps", "FormType");
            FormTempCreaPage.Edit_AddQuestionToStep(_driver);
            FormTempCreaPage.Edit_Delete_FormTemplate(_driver);
            Logger.log.Info("Assessment Form Template is Edited and Deleted");
            ExtentReport.test.Log(LogStatus.Pass, "Assessment Form Template is Edited and Deleted");
        }