Esempio n. 1
0
        //[Test()]
        public void GoogleTest()
        {
            Browser firefox = new FireFox();

            firefox.GoTo("http://www.google.com");
            firefox.TextField(Find.ByName("q")).Value = "WatiN";
            firefox.Button(Find.ByName("btnG")).Click();
            Assert.IsTrue(firefox.ContainsText("WatiN"));

            firefox.Close();
        }