public void FillFormTest() { _contactForm.Fill(Contact.DEFAULT_CONTACT); IList <string> filledFilds = _contactForm.GetFormValue(); new Check().CollectionEquals(filledFilds, Contact.DEFAULT_CONTACT.ToList()); }
public ContactForm FillContactForm(string department, string firstName, string lastName, string company, string jobTitle, string level, string email, string phone, string country, string subject) { var form = new ContactForm(_driver); form.Fill(department, firstName, lastName, company, jobTitle, level, email, phone, country, subject); return(form); }