public TestcaseScope() { this.Constraints.Add(ActivityConstraints.HasParentType <Activity, TestcaseReportScope>(Resources.ParentScope_ValidationMessage + " " + Resources.TestcaseReportScope)); Body = new ActivityAction <Testcase> { Argument = new DelegateInArgument <Testcase>(TestcaseContainerPropertyTag), Handler = new Sequence { DisplayName = "Do" } }; }
public LogTestStatus() { this.Constraints.Add(ActivityConstraints.HasParentType <Activity, TestcaseScope>(Resources.ParentScope_ValidationMessage + " " + Resources.TestcaseScope)); }