/// <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(); }
/// <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(); }
/// <summary> /// Select external url option /// </summary> public void SelectExternalUrlOption() { HtmlInputRadioButton selectExternalUrl = EM.Card.CardEditScreen.ExternalURLRadioButton.AssertIsPresent("External url"); selectExternalUrl.ScrollToVisible(); selectExternalUrl.Focus(); selectExternalUrl.MouseClick(); }