public void certificateProfile()
        {   //using Chrome
            using (GlobalDefinitions.driver = new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)))
            //Using Firefox
            //using (GlobalDefinitions.driver = new FirefoxDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)))
            {
                string ProfileMenuOption = "Profile";
                string addNewOption      = "Certifications";

                //sign in
                SignIn newSignIn = new SignIn();
                newSignIn.LoginSteps();

                //MenuOption to Click
                ClickMenu clickMenu = new ClickMenu();
                clickMenu.clickMenuOptions(ProfileMenuOption);

                //click on options Language, Skills, Education, Certifications
                clickMenu.clickSubMenuOptions(addNewOption);

                //click on Add New button
                ProfileOptions addNewButton = new ProfileOptions();
                addNewButton.clickAddNew(addNewOption);

                //add and verify Skill
                ProfileCertification addCertification = new ProfileCertification();
                addCertification.addNewCertification();
                addCertification.rowCertificatePresent();
            }
        }
 public void WhenIDeleteCertification()
 {
     certification = new ProfileCertification(driver);
     certification.DeleteCertification();
 }
 public void WhenIUpdateCertification()
 {
     certification = new ProfileCertification(driver);
     certification.UpdateCertification();
 }
 public void WhenIAddCertification()
 {
     certification = new ProfileCertification(driver);
     certification.AddCertification();
 }
예제 #5
0
 public void WhenIEditMyCertification()
 {
     profilecertification = new ProfileCertification(driver);
     profilecertification.UpdateCertification();
 }