コード例 #1
0
 internal void SelectSettingsRadioBtn(string preference)
 {
     ElementLocatorExtensions.Scrollup();
     ElementLocatorExtensions.GetElementXpath(paymentPreferences, preference).ClickButton();
     Assert.IsTrue(ElementLocatorExtensions.GetElementXpath(paymentPreferences, preference).GetElementValueByAttribute("class").Contains("checked"), "radio button is not selected.");
 }