Example #1
0
 public void FormPageMustContainsCorrectContent()
 {
     Assert.True(formPage.IsHelloInputPresent(), "The Input box is not visible!");
     Assert.True(formPage.IsSubmitButtonPresent(), "The Submit button is not visible!");
     Assert.True(formPage.GetNumberOfInputFields() == 1, "There is more than one input box!");
     Assert.True(formPage.GetNumberOfSubmitButtons() == 1, "There is more than one Submit button!");
     formPage.driver.Close();
 }