Esempio n. 1
0
        public void AddPropertyCriteria(string property, string value, int rowIndex = -1, bool getLastRow = false)
        {
            var row = new StateTransitionTableRowValues(rowIndex, getLastRow);

            row.LnkPropertiesCriteria.Click();
            var popup = new EvaluateProperties();

            popup.SwitchTo();
            popup.AddTransitionCriterion(property, value);
            popup.SwitchBackToParent();
        }
Esempio n. 2
0
        public IEnumerable <String> GetPropertyCriteria(int rowIndex = -1, bool getLastRow = false)
        {
            var row = new StateTransitionTableRowValues(rowIndex, getLastRow);

            row.LnkPropertiesCriteria.Click();
            var popup = new EvaluateProperties();

            popup.SwitchTo();
            var returnValue = popup.SelCriteriaBox.GetOptionsText();

            popup.BtnSave.Click();
            popup.SwitchBackToParent();
            return(returnValue);
        }
 public IEnumerable<String> GetPropertyCriteria(int rowIndex = -1, bool getLastRow = false)
 {
     var row = new StateTransitionTableRowValues(rowIndex, getLastRow);
     row.LnkPropertiesCriteria.Click();
     var popup = new EvaluateProperties();
     popup.SwitchTo();
     var returnValue = popup.SelCriteriaBox.GetOptionsText();
     popup.BtnSave.Click();
     popup.SwitchBackToParent();
     return returnValue;
 }
 public void AddPropertyCriteria(string property, string value, int rowIndex = -1, bool getLastRow = false)
 {
     var row = new StateTransitionTableRowValues(rowIndex, getLastRow);
     row.LnkPropertiesCriteria.Click();
     var popup = new EvaluateProperties();
     popup.SwitchTo();
     popup.AddTransitionCriterion(property, value);
     popup.SwitchBackToParent();
 }