Пример #1
0
        public ScTextBox SetText(string value)
        {
            try
            {
                Logger.Debug($"Setting {value} to {ControlLabel}");
                ControlElement.Clear();
                ControlElement.SendKeys(value);
            }
            catch (Exception e)
            {
                var msg = $"Unable to set value to {ControlLabel} in {ControlPanelLabel}";
                Logger.Error(msg);
                throw new ScContentEditorException(msg, e);
            }

            return(this);
        }