Exemplo n.º 1
0
        public void TC03_Selenium_Castor_Merch_PublishToTillHandover()
        {
            if (testResult["TC01_Selenium_Castor_ProductDevelopmentandPublish"] == "Passed")
            {
                LeanFtTest1 Testpahse1 = new LeanFtTest1();

                try
                {
                    Testpahse1.TC03_Selenium_Castor_Merch_PublishToTillHandover();
                }
                finally
                {
                    Testpahse1.TearDown();
                }
            }
            else
            {
                Reporter.ReportEvent(TestContext.CurrentContext.Test.MethodName, "due to fail/Skip in test TC01_Selenium_Castor_ProductDevelopmentandPublish and current test depends on that", Status.Warning);
                Assert.Ignore();
            }
        }