public void A11_Section_Management_Enrollment_Report_Drilldown_35325()
 {
     CommonSection.Administer.System.Reporting.ReportConsole();
     _test.Log(Status.Info, "it opens Report Console");
     ReportsConsolePage.SearchText("Classroom Course Enrollment Summary");
     _test.Log(Status.Info, "Search For Classroom Course Enrollment Summary");
     ReportsConsolePage.ClickDisplayResult();
     _test.Log(Status.Info, "Click Classroom Course Enrollment Summary Link");
     ClassroomCourseEnrollmentPage.ClickSelect();
     _test.Log(Status.Info, "Click Select Button");
     Assert.IsTrue(RunReportPage.isOrganizationDisplayed());
     _test.Log(Status.Pass, "Verify Organization is Displayed");
     Assert.IsFalse(RunReportPage.isIncludeSubOrganizationDisplayed());
     _test.Log(Status.Pass, "Verify Select organization is Displayed");
     RunReportPage.RunReportWith("Active", "12/16/2018", "1/16/2018", "Less Than/Equal To", "9", "Less Than/Equal To", "9",
                                 "25", "Default");
     _test.Log(Status.Info, "Fill Data And Click Run Report");
     Assert.IsTrue(MeridianGlobalReportingPage.isDisplayed());
     _test.Log(Status.Pass, "Verify Meridian Global Reporting Page is Displayed ");
     MeridianGlobalReportingPage.ClickDetails();
     _test.Log(Status.Info, "Clicked go button having details selected and opens details page");
     MeridianGlobalReportingPage.ClickUserProgress();
     MeridianGlobalReportingPage.ClickDetails();
     _test.Log(Status.Info, "Clicked go button having details selected and opens details page");
     Assert.IsTrue(DetailsPage.CheckDetailsTabText.EndsWith("Details"));
     DetailsPage.ClickCloseWindowlink();
     _test.Log(Status.Info, "Details page closes");
     Assert.IsTrue(MeridianGlobalReportingPage.Title == "Meridian Global Reporting");
     MeridianGlobalReportingPage.CloseWindow();
     _test.Log(Status.Info, "Closes pdf window");
     Assert.IsTrue(RunReportPage.Title == "Run Report");
     Assert.IsTrue(Driver.focusParentWindow());
 }
        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");
        }