Ejemplo n.º 1
0
        public static void clickOnSearchIcon(IWebDriver driver)
        {
            IWebElement sIcon = driver.FindElement(By.XPath("//i[@class=\"search link icon\"]"));

            sIcon.Click();
            CommonTestRsltMethods.SaveScreenshot(driver, "SearchedList");
        }
Ejemplo n.º 2
0
        public static void saveDescription(IWebDriver driver)
        {
            IWebElement save = driver.FindElement(By.XPath("//button[@class=\"ui teal button\" and @type=\"button\"]"));

            save.Click();
            CommonTestRsltMethods.SaveScreenshot(driver, "DescriptionAdded");
        }