public void GivenTheContactFormIsCompleted(Table contactFormDetails) { foreach (var detail in contactFormDetails.Rows) { contactFormPage.EnterFirstName(detail["FirstName"]); contactFormPage.EnterLastName(detail["LastName"]); contactFormPage.EnterCountry(detail["Country"]); contactFormPage.EnterSubject(detail["Subject"]); } }