public void Create(string currentState, string nextState, StateTransitionVersionIncrementAction versionIncrementAction = StateTransitionVersionIncrementAction.None, string description = "") { BtnNew.Click(); var popup = new ProjectStateTransitionPropertiesPopup(); popup.SwitchTo(); popup.FillPropertiesPopup(currentState, nextState, versionIncrementAction, description); popup.SwitchBackToParent(); }
public void Edit(string currentState, string nextState, StateTransitionVersionIncrementAction versionIncrementAction = StateTransitionVersionIncrementAction.None, string description = "", int rowIndex = -1, bool getLastRow = false) { var row = new StateTransitionTableRowValues(rowIndex, getLastRow); row.LnkCurrentState.Click(); var popup = new ProjectStateTransitionPropertiesPopup(); popup.SwitchTo(); popup.FillPropertiesPopup(currentState, nextState, versionIncrementAction, description); popup.SwitchBackToParent(); }