コード例 #1
0
 public void NotFillingAllTheFiledsForTheContactFormFromTheAutomationPage()
 {
     driver.Url     = endavaURL;
     homePage       = new Home(driver);
     automationPage = new Automation(driver);
     homePage.
     OpenMainMenu().
     SelectAutomation();
     automationPage.
     FillFirstName("Sebastian").
     FillLastName("Leal").
     FillEmail("*****@*****.**").
     FillPhoneNumber("555-555").
     FillCompany("Endava").
     FillMessage("Endava RLZ").
     SubmitContanctForm();
     Assert.IsTrue(automationPage.ContactErrorMessage());
     //TODO: Implement a builder with defaults
 }