public void AddNotification(string toProperty, string subjectLine)
 {
     BtnAdd.Click();
     var emailPopup = new EmailConfiguration();
     emailPopup.SwitchTo();
     var propertiesPopup = new SelectPropertyModalPopup(SelectPropertyPopup.AllowMultiSelect.Yes);
     propertiesPopup.SelectProperty(toProperty, emailPopup.BtnAddProperty);
     emailPopup.TxtSubject.Value = subjectLine;
     emailPopup.BtnOk.Click();
     emailPopup.SwitchBackToParent();
 }
        public void AddNotification(string toProperty, string subjectLine)
        {
            BtnAdd.Click();
            var emailPopup = new EmailConfiguration();

            emailPopup.SwitchTo();
            var propertiesPopup = new SelectPropertyModalPopup(SelectPropertyPopup.AllowMultiSelect.Yes);

            propertiesPopup.SelectProperty(toProperty, emailPopup.BtnAddProperty);
            emailPopup.TxtSubject.Value = subjectLine;
            emailPopup.BtnOk.Click();
            emailPopup.SwitchBackToParent();
        }
Exemplo n.º 3
0
        public void SelectProperty(string name)
        {
            var popup = new SelectPropertyModalPopup();

            popup.SelectProperty(name, BtnSelectProperty);
        }
 public void SelectProperty(string name)
 {
     var popup = new SelectPropertyModalPopup();
     popup.SelectProperty(name, BtnSelectProperty);
 }