Beispiel #1
0
 public void a04_Recertification_Admin_chooses_when_recertification_starts_58098()
 {
     CommonSection.CreateLink.Certifications();
     _test.Log(Status.Info, "Click create>certification");
     CertificationPage.FillTitle(CertificatrTitle + "TC57970");
     _test.Log(Status.Info, "Fill title");
     CertificationPage.DoesthisCertificationexpire("Yes");
     Assert.IsTrue(CertificationPage.isthisarecurringcertificationLeveldisplay());
     CertificationPage.isthisarecurringcertification("Yes");
     Assert.IsTrue(CertificationPage.isWhendoestheCertificationgointoeffectLevelDisplay()); //AC1
     Assert.IsTrue(CertificatePage.isUponrecertificationcontentcompletionDisplay());        //AC2
     Assert.IsTrue(CertificatePage.isWhenpreviousCertificationexpiresDisplay());            //AC3
     //Assert.IsTrue(CertificatePage.isUponrecertificationcontentcompletionSelected()); //AC4
     _test.Log(Status.Pass, "Is Upon recertification content completion Selected");
     TC10877_1 = true;
 }
Beispiel #2
0
 public void P20_1_a03_As_an_Admin_I_want_to_set_when_a_learner_can_begin_recertification_and_whether_they_can_complete_after_expiration_58197()
 {
     CommonSection.Logout();
     LoginPage.LoginAs("").WithPassword("").Login();
     CommonSection.CreateLink.Certifications();
     _test.Log(Status.Info, "Click create>certification");
     CertificationPage.FillTitle(CertificatrTitle + "TC57970");
     _test.Log(Status.Info, "Fill title");
     CertificationPage.DoesthisCertificationexpire("Yes");
     Assert.IsTrue(CertificationPage.isthisarecurringcertificationLeveldisplay());
     CertificationPage.isthisarecurringcertification("Yes");
     Assert.IsTrue(CertificationPage.isWhenistherecertificationperiodLevelDisplay()); //AC1
     CertificationPage.Whenistherecertificationperiod.Setbeforeexpiration();
     Assert.IsTrue(CertificationPage.isCertificationperiodfieldsDisplay());           //AC2
     CertificationPage.Whenistherecertificationperiod.Brfore("15");
     CertificationPage.Whenistherecertificationperiod.SetEndsAs("Set period");
     CertificationPage.Whenistherecertificationperiod.After("15");
     CertificationPage.ClickCreateCertification();
     _test.Log(Status.Info, "Click create");
     Assert.IsTrue(ContentDetailsPage.Summary.VerifyRecertificationIntervaldays("15 Days")); //AC3
     TC10877 = true;
 }