Exemplo n.º 1
0
 internal void VerifyTextInSearchBar(string expectedTest)
 {
     try
     {
         GoogleHomePage googleHomePage  = new GoogleHomePage(_webDriver);
         string         textInSearchBar = googleHomePage.GetTextInInput();
         AssertionProvider.EqualsHardAssert(expectedTest, textInSearchBar, "the text in the search bar is not the expected");
     }
     catch (Exception ex)
     {
         AssertionProvider.FailTest(ex.Message);
     }
 }