public EditWorkItemPage EditTitle(string title)
        {
            var uiTitle = new HtmlEdit(browser);

            uiTitle.SearchProperties.Add(HtmlControl.PropertyNames.Id, EditWorkItemPageConst.EDIT_TITLE_TEXTBOX_ID);
            uiTitle.Find();
            uiTitle.SetProperty(HtmlEdit.PropertyNames.Text, title);

            return(this);
        }
Пример #2
0
        public AddWorkItemPage InsertTitle(string title)
        {
            var uiTitle = new HtmlEdit(browser);

            uiTitle.SearchProperties.Add(HtmlControl.PropertyNames.Id, AddWorkItemPageConst.ADD_TITLE_TEXTBOX_ID);
            uiTitle.Find();
            Keyboard.SendKeys(uiTitle, title);

            return(this);
        }