public void SelectPayBy(PaymentMethodManager.PaymentMethod selection) { UIUtil.DefaultProvider.WaitForDisplayAndClick(string.Format("//input[@value='{0}']", entryByMethod[selection]), LocateBy.XPath); }
/// <summary> /// This covers the payments which do not require additional data: cash, wire transfer, event, paypal. /// </summary> public void EditPaymentMethod(PaymentMethodManager.PaymentMethod selection) { OpenPaymentMethod(); this.PaymentMethodMgr.SelectPayBy(selection); this.PaymentMethodMgr.SaveAndClose(); SelectAttendeeInfoWindow(); UIUtil.DefaultProvider.RefreshPage(); }