public void SuccessfullRegistration() { var contactPage = new ContactFormPage(this.driver); User user = AccessExcelData.GetUserTestData("Successfull registration"); contactPage.NavigateTo(); contactPage.FillContactForm(user); contactPage.SendButton.Click(); contactPage.AssertSuccessMessage("Thank you"); }