public void _04_UserDetailsDeleteQue()
        {
            ExtentReport.test = ExtentReport.extent.StartTest("User Details Form - Delete Questions");
            _03_HomePage HP = new _03_HomePage(_driver);

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

            SysConPage.LinkSystemForms();
            SysConPage.LinkUserDetails();
            _06_UserDetailsFormPage UserForm = new _06_UserDetailsFormPage(_driver);

            UserForm.DeleteQuestion("UserDetailsFormData", "DeleteQuestions");
            Logger.log.Info("Successfully Deleted added Questions from User Details Form'");
            ExtentReport.test.Log(LogStatus.Pass, "Successfully Deleted added Questions from User Details Form'");
        }
        public void _03_UserDetailsEditGlobalQue()
        {
            ExtentReport.test = ExtentReport.extent.StartTest("User Details Form - Edit Questions");
            _03_HomePage HP = new _03_HomePage(_driver);

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

            SysConPage.LinkSystemForms();
            SysConPage.LinkUserDetails();
            _06_UserDetailsFormPage UserForm = new _06_UserDetailsFormPage(_driver);

            UserForm.EditQuestion("UserDetailsFormData", "EditQuestions");
            Logger.log.Info("'User Details Form' questions edited successfully");
            ExtentReport.test.Log(LogStatus.Pass, "'User Details Form' questions edited successfully");
        }
        public void _02_UserDetailsGlobalQue()
        {
            ExtentReport.test = ExtentReport.extent.StartTest("User Details Form - Add Global Questions");
            _03_HomePage HP = new _03_HomePage(_driver);

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

            SysConPage.LinkSystemForms();
            SysConPage.LinkUserDetails();
            _06_UserDetailsFormPage UserForm = new _06_UserDetailsFormPage(_driver);

            UserForm.AddGlobalQuestion("UserDetailsFormData", "AddGlobalQuestiontoStep");
            Logger.log.Info("Global Questions added successfully to 'User Details Form'");
            ExtentReport.test.Log(LogStatus.Pass, "Global Questions added successfully to 'User Details Form'");
        }
        public void _05_UserDetailsPreview()
        {
            ExtentReport.test = ExtentReport.extent.StartTest("User Details Form - Preview");
            _03_HomePage HP = new _03_HomePage(_driver);

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

            SysConPage.LinkSystemForms();
            SysConPage.LinkUserDetails();
            _06_UserDetailsFormPage UserForm = new _06_UserDetailsFormPage(_driver);

            UserForm.PreviewUserDetailsForm();
            Logger.log.Info("'User Details Form' Preview Completed Successfully");
            ExtentReport.test.Log(LogStatus.Pass, "'User Details Form' Preview Completed Successfully");
        }
예제 #5
0
        public void _02_Edit_PositionDetailsForm()
        {
            ExtentReport.test = ExtentReport.extent.StartTest("Edit Position Details Form");
            _03_HomePage HP = new _03_HomePage(_driver);

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

            SysConPage.LinkSystemForms();
            SysConPage.LinkPositionDetails();
            _07_PositionDetailsFormPage Pdf = new _07_PositionDetailsFormPage(_driver);

            Pdf.Edit_PositionDetailsForm();
            Logger.log.Info("'Position Details Form' Edit and Delete Operation completed successfully");
            ExtentReport.test.Log(LogStatus.Pass, "'Position Details Form' Edit and Delete Operation completed successfully");
        }
예제 #6
0
        public void _01_Create_PositionDetailsForm()
        {
            ExtentReport.test = ExtentReport.extent.StartTest("Position Details Form - Add Steps, Local & Global Questions");
            _03_HomePage HP = new _03_HomePage(_driver);

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

            SysConPage.LinkSystemForms();
            SysConPage.LinkPositionDetails();
            _05_FormTemplateCreationPage FormTempCreaPage = new _05_FormTemplateCreationPage(_driver);

            FormTempCreaPage.CreateMultipleSteps(_driver, "PositionDetailsFormData", "PositionDetailsSteps", "Execute");
            FormTempCreaPage.AddQuestionToStep(_driver, "PositionDetailsFormData", "AddQuestiontoStep");
            FormTempCreaPage.AddGlobalQuestionToStep(_driver, "PositionDetailsFormData", "AddGlobalQuestiontoStep");
            Logger.log.Info("'Position Details Form' is successfully created Steps, Local and Global Questions");
            ExtentReport.test.Log(LogStatus.Pass, "'Position Details Form' is successfully created Steps, Local and Global Questions");
        }