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 _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 _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 _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"); }