public void GivenUserTryToEditTheCertificationRecord()
        {
            //Edit  Certification
            Certification certiobj = new Certification();

            certiobj.EditCertification();
        }
Exemplo n.º 2
0
            public void Addcertification()
            {
                Certification CertificObj = new Certification();

                //Navigate to cerification tab
                test = extent.StartTest("Cerification tab clicked");
                CertificObj.NavigateToCertification();

                //Add certification
                test = extent.StartTest("Certification has been added");
                CertificObj.AddCertification();

                //Verify Certification added
                test = extent.StartTest("Verify Certification has been added");
                CertificObj.VerifyAddCertification();

                //Edit Certification
                test = extent.StartTest("Edit Certification ");
                CertificObj.EditCertification();

                //Verify Certification updated
                test = extent.StartTest("Verify Certification has been updated");
                CertificObj.VerifyEditCertification();

                // Certification deleted
                test = extent.StartTest(" Certification has been deleted");
                CertificObj.DeleteCertification();

                //Verify Certification has been deleted
                test = extent.StartTest("Verify Certification has been deleted");
                CertificObj.VerifyDeleteCertification();
            }
            public void EditCertification()
            {
                //Create Extent Report
                test = extent.StartTest("EditCertification");
                //Edit profile
                Certification certiobj = new Certification();

                certiobj.EditCertification();
                certiobj.VerifyEditedCertification();
            }