public void WebTest_Selenium_CustomerCreate_PageObject_Example_Test() { //ARRANGE var customerPage = _applicationUnderTest.NavigateToCustomerCreate(); //ACT customerPage.SetNameText("Some Name"); customerPage.ClickSubmit(); //ASSERT Assert.IsTrue(customerPage.IsCurrentPage()); Assert.IsFalse(_applicationUnderTest.ShowsValidationError("Name")); Assert.IsTrue(_applicationUnderTest.ShowsValidationError("EmailAddress")); Assert.IsTrue(_applicationUnderTest.ShowsRequiredFieldValidationError(Labels.EmailAddress)); }