Exemplo n.º 1
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();
            }