OpenQA.Selenium.ElementAttributeTest.ShouldGetNumericAtribute C# (CSharp) Méthode

ShouldGetNumericAtribute() private méthode

private ShouldGetNumericAtribute ( ) : void
Résultat void
        public void ShouldGetNumericAtribute()
        {
            driver.Url = formsPage;
            IWebElement element = driver.FindElement(By.Id("withText"));
            Assert.AreEqual("5", element.GetAttribute("rows"));
        }