Exemplo 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);
        }
Exemplo 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();
        }
Exemplo 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);
        }