示例#1
0
      public void SearchPositive(string name)
      {
          var page = new JournalMainPage();

          page.NavigateHere(name);
          page.SearchBox.SendKeys("health");
          page.SearchButton.Click();
      }
示例#2
0
      public void SearchNegative(string name)
      {
          var page = new JournalMainPage();

          page.NavigateHere(name);
          page.SearchBox.SendKeys("zxcvbnm,");
          page.SearchButton.Click();
          Assert.True(page.GetResult() == "0 results");
      }