Esempio n. 1
0
        public void Test()
        {
            var googleSearchPage = new GooglePageEl(Driver);

            googleSearchPage.SubmitSearchQuery("trygfonden");
            Assert.IsTrue(googleSearchPage
                          .CheckIfFirstSearchResultIsCorrect("TrygFonden vil skabe tryghed i Danmark."));
        }
Esempio n. 2
0
        public void Test()
        {
            var googleSearchPage = new GooglePageEl(Driver);

            Assert.Multiple(() =>
            {
                Assert.AreEqual("Google", googleSearchPage.GetPageTitle());
                Assert.True(googleSearchPage.SearchField.Displayed);
            });
        }