Esempio n. 1
0
 public void Setup()
 {
     Initialize();
     Driver.Navigate().GoToUrl("http://google.com");
     _googleSearchPage = new GoogleSearchPage(Driver);
     _word             = GoogleSearchFactory.Create();
 }
Esempio n. 2
0
        public void SeleniumSearch()
        {
            //Act
            _action = GoogleSearchFactory.Create();
            _googlePage.ActionsForm(_action);

            //Assert
            var actualTitle = Driver.Title;

            Assert.AreEqual("SeleniumHQ Browser Automation", actualTitle);
        }