Exemple #1
0
            public void SaveValidSkill()
            {
                // Creates a toggle for the given test, adds all log events under it
                test = extent.StartTest("Save a valid skill");

                // ShareSkill object and save a valid skill
                ShareSkill obj = new ShareSkill();

                obj.SaveValidSkill();

                // Verify if add the skill successfully and navigate to ListingManagement
                Assert.IsNotNull(GlobalDefinitions.driver.FindElement(By.XPath("//h2[contains(text(),'Manage Listings')]")));
            }