コード例 #1
0
        /// <summary>
        /// Selects radio button from multiplechoice field
        /// </summary>
        public void SelectRadioButton(string choice)
        {
            HtmlInputRadioButton checkbox = ActiveBrowser.Find.ByExpression <HtmlInputRadioButton>("tagname=input", "data-sf-role=multiple-choice-field-input", "value=" + choice);

            checkbox.MouseClick();
            ActiveBrowser.WaitUntilReady();
        }
コード例 #2
0
        /// <summary>
        /// Selects the other RadioButton.
        /// </summary>
        public void SelectOtherRadioButton()
        {
            HtmlInputRadioButton checkbox = ActiveBrowser.Find.ByExpression <HtmlInputRadioButton>("tagname=input", "data-sf-multiple-choice-role=other-choice-radio");

            checkbox.MouseClick();
            ActiveBrowser.WaitUntilReady();
        }
コード例 #3
0
        /// <summary>
        /// Select external url option
        /// </summary>
        public void SelectExternalUrlOption()
        {
            HtmlInputRadioButton selectExternalUrl = EM.Card.CardEditScreen.ExternalURLRadioButton.AssertIsPresent("External url");

            selectExternalUrl.ScrollToVisible();
            selectExternalUrl.Focus();
            selectExternalUrl.MouseClick();
        }