public void TC18_Selenium_Castor_SampleOrder_CounterSample_Creation() { if (testResult["TC10_HMORDER_Definite"] == "Passed") { LeanFtTest1 Testpahse1 = new LeanFtTest1(); try { Testpahse1.TC18_Selenium_Castor_SampleOrder_CounterSample_Creation(); } finally { Testpahse1.TearDown(); } } else { Reporter.ReportEvent(TestContext.CurrentContext.Test.MethodName, "due to fail/Skip in test TC10_HMORDER_Definite and current test depends on that", Status.Warning); Assert.Ignore(); } }