public void TC11_Selenium_PPlan_Definite_Colorvalidation() { if (testResult["TC10_HMORDER_Definite"] == "Passed") { LeanFtTest1 Testpahse1 = new LeanFtTest1(); try { Testpahse1.TC11_Selenium_PPlan_Definite_Colorvalidation(); } 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(); } }