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(); }
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; }