Ejemplo n.º 1
0
 public void WhenIDeleteSkill()
 {
     skill = new ProfileSkill(driver);
     //start test
     //ExtentReport.test = ExtentReport.extent.StartTest("Delete Skill");
     skill.DeleteSkill();
 }
Ejemplo n.º 2
0
        public void skillProfile()
        {   //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      = "Skills";

                //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
                ProfileSkill addSkill = new ProfileSkill();
                addSkill.addNewSkill();
                addSkill.rowSkillPresent();
            }

            //[AssemblyCleanup]
            //public static void TearDown()
            //{
            //    GlobalDefinitions.driver.Quit();
            //}
        }
 public void WhenIDeleteSkill()
 {
     profileskill = new ProfileSkill(driver);
     profileskill.DeleteSkill();
 }
 public void WhenIEditMySkill()
 {
     profileskill = new ProfileSkill(driver);
     profileskill.UpdateSkill();
 }
 public void WhenIAddSkill()
 {
     profileskill = new ProfileSkill(driver);
     profileskill.AddSkills1();
 }
Ejemplo n.º 6
0
 public SkillDto map(ProfileSkill profileSkill)
 {
     return(map(profileSkill.Skill));
 }