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_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_63787_Organization_Report_Training_Assignments_by_Content_Item_Org_Manager()
 {
     Driver.focusParentWindow();
     _test.Log(Status.Info, "Closes pdf window");
     CommonSection.Logout();
     LoginPage.LoginAs("sampleorgmanager").WithPassword("").Login();
     _test.Log(Status.Info, "Login as Org Manager");
     CommonSection.Administer.System.Reporting.ReportConsole();
     ReportsConsolePage.SearchText("Organization 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("Organization Report - Training Assignments by Content Item");
     _test.Log(Status.Info, "Clicked Organization Report - Training Assignments by Content Item Title");
     DetailsPage.ClickSelect();
     _test.Log(Status.Info, "Clicked Select");
     Assert.IsTrue(RunReportPage.isOrganizationReport_TrainingAssignmentsbyContentItemLabeldisplay());
     RunReportPage.CLickSearchButton();
     RunReportPage.SelectFirstresultandClickSelect();
     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.VerifyOrganizationReportTrainingAssignmenstbyContentItemlevelColumns());
     _test.Log(Status.Pass, "Verify some Organization Report_Training Assignment 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");
 }