public void tc_24975_Domain_Report_Training_Assignments_by_Content_Item_Admin() { Driver.focusParentWindow(); _test.Log(Status.Info, "Closes pdf window"); CommonSection.Administer.System.Reporting.ReportConsole(); ReportsConsolePage.SearchText("Domain Report - Training Assignments by Content Item"); // Search for the Survey Report Assert.IsTrue(ReportsConsolePage.DisplayResult >= 1); // Verify the report is displayed in Results ReportsConsolePage.ClickSearchReportTitle("Domain Report - Training Assignments by Content Item"); _test.Log(Status.Info, "Clicked Domain Report - Training Assignments by Content Item Title"); DetailsPage.ClickSelect(); _test.Log(Status.Info, "Clicked Select"); RunReportPage.CLickSearchButton(); RunReportPage.SelectFirstresultandClickSelect(); Assert.IsTrue(RunReportPage.isDomainReport_TrainingAssignmentsbyContentItemLabeldisplay()); 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.VerifyDomainReportTrainingAssignmenbyContentItemlevelColumns()); _test.Log(Status.Pass, "Verify some Domain Report_Training Assignment by Content Item 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"); }
public void tc_63679_Organization_Report_Training_Assignments_by_User_Org_Manager() { Driver.focusParentWindow(); _test.Log(Status.Info, "Closes pdf window"); CommonSection.Administer.System.Reporting.ReportConsole(); ReportsConsolePage.SearchText("Organization Report - Training Assignments by User"); // Search for the Survey Report Assert.IsTrue(ReportsConsolePage.DisplayResult >= 1); // Verify the report is displayed in Results ReportsConsolePage.ClickSearchReportTitle("Organization Report - Training Assignments by User"); _test.Log(Status.Info, "Clicked Organization Report - Training Assignments by Content Item Title"); DetailsPage.ClickSelect(); _test.Log(Status.Info, "Clicked Select"); RunReportPage.CLickSearchButton(); RunReportPage.SelectFirstresultandClickSelect(); Assert.IsTrue(RunReportPage.isOrganizationReport_TrainingAssignmentsbyUserLabeldisplay()); 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.VerifyOrganizationReportTrainingAssignmenstbyUserlevelColumns()); _test.Log(Status.Pass, "Verify some Organization Report_Training Assignment by User 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.SelectContentActivity(); Assert.IsTrue(MeridianGlobalReportingPage.verifyContentActivityAddedtoreportTable()); _test.Log(Status.Pass, "Verify new column added into result grid"); }