public void A09_Content_Usage_Report_Progress_Status_35346() { CommonSection.Administer.System.Reporting.ReportConsole(); ReportsConsolePage.SearchText("Content Usage"); // Search for the Survey Report Assert.IsTrue(ReportsConsolePage.DisplayResult >= 1); // Verify the report is displayed in Results ReportsConsolePage.ClickContentUsageTitle(); _test.Log(Status.Info, "Clicked Content Usage Title"); DetailsPage.ClickSelect(); _test.Log(Status.Info, "Clicked Select"); Assert.IsTrue(RunReportPage.isOrganizationDisplayed()); Assert.IsTrue(RunReportPage.isCotentActivityDisplay()); RunReportPage.ProgessStatusDropdown.SelectProgressStatus("Completed"); 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.VerifyContentUsageReportlevelColumns()); _test.Log(Status.Info, "Verify some Content Usage rreport colums are display in report"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyContentUsageReportsDisplay()); _test.Log(Status.Info, "Verify some Content Report are display into result grid"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyCompletdColumnValue() > 0); _test.Log(Status.Info, "Verify Completed column value is more than 0"); MeridianGlobalReportingPage.CloseWindow(); _test.Log(Status.Info, "Closes pdf window"); RunReportPage.ProgessStatusDropdown.SelectProgressStatus("No Progress"); 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.VerifyCompletdColumnValue() == 0); _test.Log(Status.Info, "Verify Completed column value is 0"); MeridianGlobalReportingPage.CloseWindow(); }
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_63777_Managers_Report_Training_Assignment_Exemptions_User_Manager() { Driver.focusParentWindow(); _test.Log(Status.Info, "Closes pdf window"); CommonSection.Logout(); LoginPage.LoginAs("usermanager").WithPassword("").Login(); _test.Log(Status.Info, "Login as user Manager"); CommonSection.Administer.System.Reporting.ReportConsole(); ReportsConsolePage.SearchText("Manager's Report - Training Assignment Exemptions"); // Search for the Survey Report Assert.IsTrue(ReportsConsolePage.DisplayResult >= 1); // Verify the report is displayed in Results ReportsConsolePage.ClickManagersReportTrainingAssignmentExemptionsTitle(); // SearchReportTitle("Manager's Report: Training Assignment"); _test.Log(Status.Info, "Clicked Manager's Report - Training Assignment Exemptions Title"); DetailsPage.ClickSelect(); _test.Log(Status.Info, "Clicked Select"); Assert.IsTrue(RunReportPage.isManagersReport_TrainingAssignmentsExemptionsLabeldisplay()); Assert.IsTrue(RunReportPage.isExemptionTypeTypedisplay()); 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.VerifyManagersReportTrainingAssignmentsExemptionslevelColumns()); _test.Log(Status.Pass, "Verify some Managers Report_Training Assignment Exeptions 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"); }
public void P20_1_z07_My_Training_Progress_Report_24843() { //Assert.IsTrue(true); //as it is running as part of smoke test. CommonSection.Administer.System.Reporting.ReportConsole(); _test.Log(Status.Info, "opened reports console from kview"); ReportsConsolePage.SearchText("My"); _test.Log(Status.Info, "Searched My"); Assert.IsTrue(ReportsConsolePage.DisplayResult > 1);//checks results display more than 1 ReportsConsolePage.ClickMyTrainingProgress(); _test.Log(Status.Info, "Clicked My Training Progress"); DetailsPage.ClickSelect(); _test.Log(Status.Info, "Clicked Select"); RunReportPage.ClickRunReport(); _test.Log(Status.Info, "CLicked Run report"); // Assert.IsTrue(MeridianGlobalReportingPage.Displays>1); MeridianGlobalReportingPage.ClickDetails(); _test.Log(Status.Info, "Clicked go button having details selected and opens details page"); //Assert.IsTrue(DetailsPage.CheckDetailsTabText.EndsWith("Details"));//retrieves the text from details tab DetailsPage.ClickCloseWindowlink(); _test.Log(Status.Info, "Details page closes"); Assert.IsTrue(MeridianGlobalReportingPage.Title == "Meridian Global Reporting"); // RunReportPage.ClickRunReport(); Assert.IsTrue(MeridianGlobalReportingPage.Displays > 1); DetailsPage.ClickExporttoPDF(); _test.Log(Status.Info, "CLick export to pdf"); Assert.IsTrue(MyTrainingProgressPDFPage.Title.EndsWith("My_Training_Progress.pdf")); // MyTrainingProgressPDFPage.ClickBrowsertabX(); // Assert.IsTrue(DetailsPage.Displays>1); //MeridianGlobalReportingPage.CloseWindow(); Assert.IsTrue(Driver.focusParentWindow()); _test.Log(Status.Info, "Closes pdf window"); Assert.IsTrue(RunReportPage.Title == "Run Report"); // Assert.IsTrue(Driver.focusParentWindow()); CommonSection.Avatar.Reports(); _test.Log(Status.Info, "open reports from KI"); ReportsPage.MyTrainingProgress.ClickRunReport(); _test.Log(Status.Info, "opens run report page from KI"); ReportsPage.ReportCriteriaModal.ClickRunReport(); _test.Log(Status.Info, "click run report from KI"); MeridianGlobalReportingPage.ClickDetails(); _test.Log(Status.Info, "click the go button having details option displayed"); string restext = DetailsPage.CheckDetailsTabText; StringAssert.EndsWith("Details", restext); DetailsPage.ClickCloseWindowlink(); _test.Log(Status.Info, "closed the details page "); Assert.IsTrue(MeridianGlobalReportingPage.Title == "Meridian Global Reporting"); // RunReportPage.ClickRunReport(); Assert.IsTrue(MeridianGlobalReportingPage.Displays > 1); DetailsPage.ClickExporttoPDF(); _test.Log(Status.Info, "CLick export to pdf"); Assert.IsTrue(MyTrainingProgressPDFPage.Title.EndsWith("My_Training_Progress.pdf")); MeridianGlobalReportingPage.CloseWindow(); _test.Log(Status.Info, "CLose window meridian global reporting page"); StringAssert.AreEqualIgnoringCase(RunReportPage.Title, "Reports"); }
public void A10_Content_Usage_Report_Grouping_35345() { CommonSection.Administer.System.Reporting.ReportConsole(); ReportsConsolePage.SearchText("Content Usage"); // Search for the Survey Report Assert.IsTrue(ReportsConsolePage.DisplayResult >= 1); // Verify the report is displayed in Results ReportsConsolePage.ClickContentUsageTitle(); _test.Log(Status.Info, "Clicked Content Usage Title"); DetailsPage.ClickSelect(); _test.Log(Status.Info, "Clicked Select"); Assert.IsTrue(RunReportPage.isOrganizationDisplayed()); Assert.IsTrue(RunReportPage.isCotentActivityDisplay()); 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.VerifyContentUsageReportlevelColumns()); _test.Log(Status.Info, "Verify some Content Usage rreport colums are display in report"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyContentUsageReportsDisplay()); _test.Log(Status.Info, "Verify some Content Report are display into result grid"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyCompletdColumnValue() >= 0); _test.Log(Status.Info, "Verify Completed column value is more than 0"); MeridianGlobalReportingPage.Table.ClickSettingImg(); MeridianGlobalReportingPage.Table.ClickGroup(); MeridianGlobalReportingPage.Table.SelectGroupingColumn("Version Number"); MeridianGlobalReportingPage.Table.ClickAdd(); Assert.IsTrue(MeridianGlobalReportingPage.VerifyContentUsageReportsinGroup()); _test.Log(Status.Info, "Verify some Content Report are display into groups"); Assert.IsTrue(MeridianGlobalReportingPage.VerifyCompletdColumnValue() >= 0); _test.Log(Status.Info, "Verify Completed column value is more than 0"); MeridianGlobalReportingPage.Table.ClickAdd(); Assert.IsTrue(MeridianGlobalReportingPage.verifyerrormessage("This column is already grouped.")); MeridianGlobalReportingPage.CloseWindow(); _test.Log(Status.Info, "Closes pdf window"); }