public SignUpPage Enter_adminCode(string adminCode)
        {
            TextBoxWebControl adminCodeWebControl = new TextBoxWebControl(driver, enter_adminCode, findByName);

            adminCodeWebControl.EnterText(adminCode);
            return(this);
        }
        public LoginPage Enter_password(string password)
        {
            TextBoxWebControl passwordTextBoxControl = new TextBoxWebControl(driver, textBox_password, findById);

            passwordTextBoxControl.EnterText(password);
            return(this);
        }
        public SignUpPage Enter_lastName(string lastName)
        {
            TextBoxWebControl lastNameWebControl = new TextBoxWebControl(driver, enter_lastName, findByName);

            lastNameWebControl.EnterText(lastName);
            return(this);
        }
        public SignUpPage Enter_email(string email)
        {
            TextBoxWebControl emailWebControl = new TextBoxWebControl(driver, enter_email, findByName);

            emailWebControl.EnterText(email);
            return(this);
        }
        public SignUpPage Enter_password(string password)
        {
            TextBoxWebControl passwordWebControl = new TextBoxWebControl(driver, enter_passWord, findByName);

            passwordWebControl.EnterText(password);
            return(this);
        }
        public SignUpPage Enter_firstName(string firstName)
        {
            TextBoxWebControl firstNameWebControl = new TextBoxWebControl(driver, enter_firstName, findByName);

            firstNameWebControl.EnterText(firstName);
            return(this);
        }
Ejemplo n.º 7
0
        public HomePage Enter_searchBox(string searchName)
        {
            TextBoxWebControl searchBoxWebControl = new TextBoxWebControl(driver, textBox_search, findByName);

            searchBoxWebControl.EnterText(searchName);
            return(this);
        }
        public SignUpPage Enter_userName(string userName)
        {
            TextBoxWebControl userNameWebControl = new TextBoxWebControl(driver, enter_userName, findByName);

            userNameWebControl.EnterText(userName);
            return(this);
        }
        public LoginPage Enter_username(string userName)
        {
            TextBoxWebControl userNameTextBoxControl = new TextBoxWebControl(driver, textBox_userName, findById);

            userNameTextBoxControl.EnterText(userName);
            return(this);
        }
        public BalancePage Enter_updateCredit(string credit)
        {
            TextBoxWebControl updatecreditWebControl = new TextBoxWebControl(driver, textBox_updateCredit, findByName);

            if (credit != "")
            {
                updatecreditWebControl.ClearTextField();
                updatecreditWebControl.EnterText(credit);
            }
            return(this);
        }
        public StudentPage Enter_insuranceFee(string insuranceFee)
        {
            TextBoxWebControl insuranceFeeWebControl = new TextBoxWebControl(driver, textBox_InsuranceFee, findByName);

            if (insuranceFee != "")
            {
                insuranceFeeWebControl.ClearTextField();
                insuranceFeeWebControl.EnterText(insuranceFee);
            }
            return(this);
        }
Ejemplo n.º 12
0
        public CommentPage Enter_commentTitle(string title)
        {
            TextBoxWebControl commentTitleWebControl = new TextBoxWebControl(driver, textBox_commentTitle, findByName);

            if (title != "")
            {
                commentTitleWebControl.ClearTextField();
                commentTitleWebControl.EnterText(title);
            }
            return(this);
        }
        public BalancePage Enter_updateTuition(string tuition)
        {
            TextBoxWebControl updateTutition = new TextBoxWebControl(driver, textBox_updateTuition, findByName, 2);

            if (tuition != "")
            {
                updateTutition.ClearTextField();
                updateTutition.EnterText(tuition);
            }
            return(this);
        }
        public StudentPage Enter_numberOfCredit(string credit)
        {
            TextBoxWebControl numberOfCreditWebControl = new TextBoxWebControl(driver, textBox_numberOfCredit, findByName);

            if (credit != "")
            {
                numberOfCreditWebControl.ClearTextField();
                numberOfCreditWebControl.EnterText(credit);
            }
            return(this);
        }
        public StudentPage Enter_tuitionFee(string tuition)
        {
            TextBoxWebControl tuitionFeeWebControl = new TextBoxWebControl(driver, textBox_tuitionFee, findByName);

            if (tuition != "")
            {
                tuitionFeeWebControl.ClearTextField();
                tuitionFeeWebControl.EnterText(tuition);
            }
            return(this);
        }
        public StudentPage Enter_dob(string dob)
        {
            TextBoxWebControl dobWebControl = new TextBoxWebControl(driver, textBox_dob, findByName);

            if (dob != "")
            {
                dobWebControl.ClearTextField();
                dobWebControl.EnterText(dob);
            }
            return(this);
        }
        public StudentPage Enter_lastName(string lastName)
        {
            TextBoxWebControl lastNameWebControl = new TextBoxWebControl(driver, textBox_lastName, findByName);

            if (lastName != "")
            {
                lastNameWebControl.ClearTextField();
                lastNameWebControl.EnterText(lastName);
            }
            return(this);
        }
        public StudentPage Enter_firstName(string firstName)
        {
            TextBoxWebControl firstNameWebControl = new TextBoxWebControl(driver, textBox_firstName, findByName);

            if (firstName != "")
            {
                firstNameWebControl.ClearTextField();
                firstNameWebControl.EnterText(firstName);
            }
            return(this);
        }
Ejemplo n.º 19
0
        public CommentPage Enter_commentContent(string content)
        {
            TextBoxWebControl commentContentWebControl = new TextBoxWebControl(driver, textBox_commentContent, findByName);

            if (content != "")
            {
                commentContentWebControl.ClearTextField();
                commentContentWebControl.EnterText(content);
            }
            return(this);
        }
        public BalancePage Enter_updateAfterSchoolFee(string afterSchoolFee)
        {
            TextBoxWebControl afterSchoolFeeWebControl = new TextBoxWebControl(driver, textBox_updateAfterSchoolFee, findByName);

            if (afterSchoolFee != "")
            {
                afterSchoolFeeWebControl.ClearTextField();
                afterSchoolFeeWebControl.EnterText(afterSchoolFee);
            }
            return(this);
        }
        public BalancePage Enter_updateLunchFee(string lunchFee)
        {
            TextBoxWebControl updateLunchFeeWebControl = new TextBoxWebControl(driver, textBox_updateLunchFee, findByName);

            if (lunchFee != "")
            {
                updateLunchFeeWebControl.ClearTextField();
                updateLunchFeeWebControl.EnterText(lunchFee);
            }
            return(this);
        }
        public StudentPage Enter_afterSchoolProgramFee(string afterSchoolProgramFee)
        {
            TextBoxWebControl afterSchoolProgameFeeWebControl = new TextBoxWebControl(driver, textBox_afterSchoolFee, findByName);

            if (afterSchoolProgramFee != "")
            {
                afterSchoolProgameFeeWebControl.ClearTextField();
                afterSchoolProgameFeeWebControl.EnterText(afterSchoolProgramFee);
            }
            return(this);
        }