public void tc_63785_Organization_Report_Training_Assignment_Periods_by_Content_Item_Organization_Manager() { Driver.focusParentWindow(); _test.Log(Status.Info, "Closes pdf window"); CommonSection.Administer.System.Reporting.ReportConsole(); ReportsConsolePage.SearchText("Organization Report - Training Assignment Periods by Content Item"); // Search for the Survey Report Assert.IsTrue(ReportsConsolePage.DisplayResult >= 1); // Verify the report is displayed in Results ReportsConsolePage.ClickSearchReportTitle("Organization Report - Training Assignment Periods by Content Item"); _test.Log(Status.Info, "Clicked Organization Report - Training Assignment Periods by Content Item Title"); DetailsPage.ClickSelect(); _test.Log(Status.Info, "Clicked Select"); RunReportPage.CLickSearchButton(); RunReportPage.SelectFirstresultandClickSelect(); Assert.IsTrue(RunReportPage.isOrganizationReport_TrainingAssignmentPeriodbyContentItemLabeldisplay()); Assert.IsTrue(RunReportPage.isComplestionStatusDisplay()); Assert.IsTrue(RunReportPage.Organization.isdisplay("Sample Organization 1")); Assert.IsTrue(RunReportPage.Organization.isSelectble("Sample Organization 1")); _test.Log(Status.Info, "Verify use can select only Sample Organization 1"); RunReportPage.ClickRunReport(); _test.Log(Status.Info, "CLicked Run report"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyPageComponents("Print", "SaveNew", "ViewLayouts", "Refresh", "CloseWindow", "ExportToExcel", "ExportToPDF", "ExportToXML", "ExportToCSV")); _test.Log(Status.Pass, "Verify all menus like print, close windows, export to pdf, export tot excel are displaying"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyOrgReportTrainingAssignmenPeriodbyContentItemlevelColumns()); _test.Log(Status.Pass, "Verify some Organization Report_Training Assignment period by Content item level columns are display in report"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyOrgName("Sample Organization 1")); _test.Log(Status.Pass, "Verify Sample Org 1 is display in report header"); MeridianGlobalReportingPage.ClickTabileEditicon(); MeridianGlobalReportingPage.CustomizeTable.SelectLoginId(); Assert.IsTrue(MeridianGlobalReportingPage.verifyLoginidAddedtoreportTable()); _test.Log(Status.Pass, "Verify new column added into result grid"); }
public void tc_24975_Domain_Report_Training_Assignment_Periods_by_User_Admin() { Driver.focusParentWindow(); _test.Log(Status.Info, "Closes pdf window"); CommonSection.Administer.System.Reporting.ReportConsole(); ReportsConsolePage.SearchText("Domain Report - Training Assignment Periods by User"); // Search for the Survey Report Assert.IsTrue(ReportsConsolePage.DisplayResult >= 1); // Verify the report is displayed in Results ReportsConsolePage.ClickSearchReportTitle("Domain Report - Training Assignment Periods by User"); _test.Log(Status.Info, "Clicked Domain Report - Training Assignment Periods by User Title"); DetailsPage.ClickSelect(); _test.Log(Status.Info, "Clicked Select"); RunReportPage.CLickSearchButton(); RunReportPage.SelectFirstresultandClickSelect(); Assert.IsTrue(RunReportPage.isDomainReport_TrainingAssignmentPeriodbyUserLabeldisplay()); Assert.IsTrue(RunReportPage.isComplestionStatusDisplay()); RunReportPage.ClickRunReport(); _test.Log(Status.Info, "CLicked Run report"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyPageComponents("Print", "SaveNew", "ViewLayouts", "Refresh", "CloseWindow", "ExportToExcel", "ExportToPDF", "ExportToXML", "ExportToCSV")); _test.Log(Status.Pass, "Verify all menus like print, close windows, export to pdf, export tot excel are displaying"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyDomainReportTrainingAssignmenPeriodbyUsertlevelColumns()); _test.Log(Status.Pass, "Verify some Domain Report_Training Assignment period by User level columns are display in report"); MeridianGlobalReportingPage.ClickTabileEditicon(); MeridianGlobalReportingPage.CustomizeTable.SelectContentActivity(); Assert.IsTrue(MeridianGlobalReportingPage.verifyContentActivityAddedtoreportTable()); _test.Log(Status.Pass, "Verify new column added into result grid"); }
public void tc_63659_Managers_Report_Training_Assignment_Report_Manager() { Driver.focusParentWindow(); _test.Log(Status.Info, "Closes pdf window"); CommonSection.Logout(); LoginPage.LoginAs("srreportmanager").WithPassword("").Login(); _test.Log(Status.Info, "Login as Report Manager"); CommonSection.Administer.System.Reporting.ReportConsole(); ReportsConsolePage.SearchText("Domain Report - Training Assignments"); // Search for the Survey Report Assert.IsTrue(ReportsConsolePage.DisplayResult >= 1); // Verify the report is displayed in Results ReportsConsolePage.ClickSearchReportTitle("Domain Report - Training Assignments"); _test.Log(Status.Info, "Clicked Domain Report - Training Assignments Title"); DetailsPage.ClickSelect(); _test.Log(Status.Info, "Clicked Select"); Assert.IsTrue(RunReportPage.isDomainReport_TrainingAssignmentsLabeldisplay()); Assert.IsTrue(RunReportPage.isComplestionStatusDisplay()); RunReportPage.ClickRunReport(); _test.Log(Status.Info, "CLicked Run report"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyPageComponents("Print", "SaveNew", "ViewLayouts", "Refresh", "CloseWindow", "ExportToExcel", "ExportToPDF", "ExportToXML", "ExportToCSV")); _test.Log(Status.Pass, "Verify all menus like print, close windows, export to pdf, export tot excel are displaying"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyDomainReportTrainingAssignmenstlevelColumns()); _test.Log(Status.Pass, "Verify some Domain Report_Training Assignment level columns are display in report"); MeridianGlobalReportingPage.ClickTabileEditicon(); MeridianGlobalReportingPage.CustomizeTable.SelectLoginId(); Assert.IsTrue(MeridianGlobalReportingPage.verifyLoginidAddedtoreportTable()); _test.Log(Status.Pass, "Verify new column added into result grid"); }