/// <summary> /// Adds a Step to the testcase /// </summary> /// <param name="step">the Step to add</param> /// <param name="target">the target for the step</param> public void AddStep(UiaDistributedStep step, UiaDistributedStepTarget target) { AddStep(step, target, false); }
/// <summary> /// Adds a Step to the testcase /// </summary> /// <param name="step">the Step to add</param> /// <param name="target">the target for the step</param> /// <param name="alwaysRun">true if the step should run even if other steps before it fail, otherwise, false</param> public void AddStep(UiaDistributedStep step, UiaDistributedStepTarget target, bool alwaysRun) { stepInfos.Add(new UiaDistributedStepInfo(step, target, alwaysRun)); }
internal UiaDistributedStepInfo(UiaDistributedStep step, UiaDistributedStepTarget target, bool alwaysRun) { this.step = step; this.target = target; this.alwaysRun = alwaysRun; }