Example #1
0
 public void IsSubmitButtonPresent()
 {
     SeleniumMethods.GoToWebsite(_driver, SeleniumParameters.USFormURL);
     if (SeleniumMethodsCheckElement.IsElementPresentXPath(_driver, SeleniumParametersElementsPaths.SubmitButtonXPath) == false)
     {
         Assert.Fail();
     }
 }
Example #2
0
 public void IsLastNameInputPresent()
 {
     SeleniumMethods.GoToWebsite(_driver, SeleniumParameters.USFormURL);
     if (SeleniumMethodsCheckElement.IsElementPresentXPath(_driver, SeleniumParametersElementsPaths.LastNameInputBoxXPath) == false)
     {
         Assert.Fail();
     }
 }