public void AppendCopyOfTestCaseSampleProjectTest() { TestCasesRoot tcr = new TestCasesRoot(); tcr.CreateSampleProject(); TestUtils.CheckTestCasesAndConditionsAndActions(tcr); int testCasesCount = tcr.TestCases.Count; for (int tcIdx = 0; tcIdx < testCasesCount; tcIdx++) { TestCase newTestCase = tcr.InsertTestCase(); TestCase templateTestCase = tcr.TestCases[tcIdx]; tcr.CopyTestCaseSettings(templateTestCase, newTestCase); } // create and save the sample project string savePath = Path.Combine(TestSupport.CreatedFilesDirectory, "SimpleProject.dtc"); tcr.Save(savePath); ProcessStartInfo info = new ProcessStartInfo(@"C:\Program Files (x86)\Notepad++\notepad++.exe", savePath); Process.Start(info); for (int tcIdx = 0; tcIdx < testCasesCount; tcIdx++) { CompareTestCases(tcr, tcIdx, tcIdx + testCasesCount); } }