Exemplo n.º 1
0
        public void TC20_Selenium_Castor_SampleOrder_RegisterSample()
        {
            if ((testResult["TC18_Selenium_Castor_SampleOrder_CounterSample_Creation"] == "Passed") || (testResult["TC19_Selenium_Castor_SampleOrder_ProductionSample_Creation"] == "Passed"))
            {
                LeanFtTest1 Testpahse1 = new LeanFtTest1();


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