Beispiel #1
0
        public void GivenUserEntersAllRequiredPersonalDetails()
        {
            CreateAccoutPage cap = new CreateAccoutPage(Driver);

            ut.EnterTextInElement(cap.FirstName, TestConstants.FirstName);
            ut.EnterTextInElement(cap.LastName, TestConstants.LastName);
            ut.EnterTextInElement(cap.Password, TestConstants.Password);
            ut.EnterTextInElement(cap.Address, TestConstants.Address);
            ut.EnterTextInElement(cap.City, TestConstants.City);
            ut.DropdownSelect(cap.State, TestConstants.State);
            ut.EnterTextInElement(cap.Zip, TestConstants.Zip);
            ut.EnterTextInElement(cap.Mphone, TestConstants.MPhone);
            ut.EnterTextInElement(cap.Alias, TestConstants.Alias);
            string fullName = TestConstants.FirstName + " " + TestConstants.LastName;

            ScenarioContext.Current.Add(TestConstants.FullName, fullName);
        }
Beispiel #2
0
        public void WhenSubmitsTheSignUpForm()
        {
            CreateAccoutPage regbtn = new CreateAccoutPage(Driver);

            ut.ClickOnElement(regbtn.Regbtn);
        }