public void Other()
        {
            CommonSection.SearchCatalog("");
            _test.Log(Status.Info, "do blank catalog search");
            //CommonSection.Learn.Home();
            HomePage.ClickAboutLink();
            _test.Log(Status.Info, "CLick about link");
            Assert.IsTrue(HomePage.ClickModalX());
            Assert.IsTrue(HomePage.Title == "Search Results");


            CommonSection.Administer.System.SystemAdministration.SystemCertificate("Certificates");
            _test.Log(Status.Info, "opens certificate page");
            Assert.IsTrue(SystemCertificatePage.Title == "System Certificate");
            SystemCertificatePage.Preview("Default");
            _test.Log(Status.Info, "CLick default button");
            Assert.IsTrue(CertificatePage.VerifyFileDownload("\\Certificate.pdf"));
            Assert.IsTrue(SystemCertificatePage.Title == "System Certificate");
            // CommonSection.Avatar.Logout();
            // Assert.IsTrue(LoginPage.Title=="Login");
            //foreach (Process Proc in (from p in Process.GetProcesses()
            //                          where p.ProcessName == "chromedriver" ||p.ProcessName=="chrome"
            //                          select p))
            //{
            //    // "Kill" the process
            //    Proc.Kill();
            //}
        }
Example #2
0
 public void View_System_Certificate_35597()
 {
     CommonSection.Administer.System.SystemAdministration.SystemCertificate("Certificates");
     _test.Log(Status.Info, "opens certificate page");
     Assert.IsTrue(SystemCertificatePage.Title == "System Certificate");
     SystemCertificatePage.Preview("Default");
     _test.Log(Status.Info, "CLick default button");
     Assert.IsTrue(CertificatePage.VerifyFileDownload("\\Certificate.pdf"));
     Assert.IsTrue(SystemCertificatePage.Title == "System Certificate");
 }
        public void Other()
        {
            CommonSection.SearchCatalog("");
            _test.Log(Status.Info, "do blank catalog search");
            //CommonSection.Learn.Home();
            HomePage.ClickAboutLink();
            _test.Log(Status.Info, "CLick about link");
            Assert.IsTrue(HomePage.ClickModalX());
            Assert.IsTrue(HomePage.Title == "Search Results");


            CommonSection.Administer.System.SystemAdministration.SystemCertificate("Certificates");
            _test.Log(Status.Info, "opens certificate page");
            Assert.IsTrue(SystemCertificatePage.Title == "System Certificate");
            SystemCertificatePage.Preview("Default");
            _test.Log(Status.Info, "CLick default button");
            Assert.IsTrue(CertificatePage.VerifyFileDownload("\\Certificate.pdf"));
            Assert.IsTrue(SystemCertificatePage.Title == "System Certificate");
        }