Esempio n. 1
0
        public void ChooseTextFieldItem(string fieldName, string fieldValue)
        {
            var control = new WebDriverDropDownTextBoxEditText(Driver, Waiter, "dropDownTextBox editText");

            control.SelectValue(fieldName.ToLower());

            var textField = new WebDriverTextField(Driver, Waiter, "div.armcontrol#clone" + _cloneNumber + " input[type='text']", true);

            _cloneNumber++;

            textField.SetValue(fieldValue);
        }
Esempio n. 2
0
        public void ChooseTomorrow(string fieldName)
        {
            var control = new WebDriverDropDownTextBoxEditText(Driver, Waiter, "dropDownTextBox editText");

            control.SelectValue(fieldName.ToLower());

            var dateField = new WebDriverDatePicker(Driver, Waiter, "div.armcontrol#clone" + _cloneNumber, true);

            _cloneNumber++;

            dateField.SetTomorrow();
        }
Esempio n. 3
0
        public void ChooseDropdownItem(string fieldName, string fieldValue)
        {
            var control = new WebDriverDropDownTextBoxEditText(Driver, Waiter, "dropDownTextBox editText");

            control.SelectValue(fieldName.ToLower());

            var dropDown = new WebDriverDropDown(Driver, Waiter, "div.armcontrol#clone" + _cloneNumber + " select", true);

            _cloneNumber++;

            dropDown.SetValue(fieldValue);
        }