Esempio n. 1
0
        public void FillFormTest()
        {
            _contactForm.Fill(Contact.DEFAULT_CONTACT);
            IList <string> filledFilds = _contactForm.GetFormValue();

            new Check().CollectionEquals(filledFilds, Contact.DEFAULT_CONTACT.ToList());
        }
Esempio n. 2
0
        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);
        }