OpenQA.Selenium.TextHandlingTest.ShouldGetTextWhichIsAValidJSONObject C# (CSharp) Méthode

ShouldGetTextWhichIsAValidJSONObject() private méthode

private ShouldGetTextWhichIsAValidJSONObject ( ) : void
Résultat void
        public void ShouldGetTextWhichIsAValidJSONObject()
        {
            driver.Url = simpleTestPage;
            IWebElement element = driver.FindElement(By.Id("simpleJsonText"));
            Assert.AreEqual("{a=\"b\", c=1, d=true}", element.Text);
            //assertEquals("{a=\"b\", \"c\"=d, e=true, f=\\123\\\\g\\\\\"\"\"\\\'}", element.getText());
        }