/// <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);
        }
Example #2
0
        /// <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);
        }
Example #4
0
 /// <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);
 }