コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }
        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();
        }
        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();
        }