/// <summary> /// Verifies the selected tags template option. /// </summary> /// <param name="template">The template.</param> public void VerifySelectedTagsTemplateOption(TagsTemplates template) { HtmlSelect optionsDropdown = this.EM.Classifications.TagsWidgetEditScreen.TagsTemplateDropdown.AssertIsPresent("Tags template dropdown"); Assert.AreEqual(template.ToString(), optionsDropdown.SelectedOption.Value); }
/// <summary> /// Verifies the selected tags template option. /// </summary> /// <param name="template">The template.</param> public void VerifySelectedTagsTemplateOption(TagsTemplates template) { HtmlSelect optionsDropdown = this.EM.Classifications.TagsWidgetEditScreen.TagsTemplateDropdown.AssertIsPresent("Tags template dropdown"); Assert.AreEqual(template.ToString(), optionsDropdown.SelectedOption.Text); }
/// <summary> /// Selects the tags template. /// </summary> /// <param name="template">The template.</param> public void SelectTagsTemplate(TagsTemplates template) { HtmlSelect templateDropdown = this.EM.Classifications.TagsWidgetEditScreen.TagsTemplateDropdown.AssertIsPresent("Tags template dropdown"); templateDropdown.SelectByValue(template.ToString(), true); }
/// <summary> /// Selects the tags template. /// </summary> /// <param name="template">The template.</param> public void SelectTagsTemplate(TagsTemplates template) { HtmlSelect templateDropdown = this.EM.Classifications.TagsWidgetEditScreen.TagsTemplateDropdown.AssertIsPresent("Tags template dropdown"); templateDropdown.SelectByText(template.ToString(), true); }