예제 #1
0
        protected virtual void OnAdd(string value)
        {
            AssociatedInput.Set(value);

            GetDropDownOption(value);

            Driver.Perform(x => x.SendKeys(Keys.Enter));
        }
예제 #2
0
        protected override void SetValue(string value)
        {
            Click();

            string valueAsString = ConvertValueToString(value);

            AssociatedInput.Set(valueAsString);

            DropDownItems.Items.Count.Should.BeGreater(0);

            Owner.Press(Keys.Enter);
        }