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