Example #1
0
        //// [Test]

        public void TC12_HMOrder_DBExports_Verification()
        {
            if (testResult["TC10_HMORDER_Definite"] == "Passed")
            {
                LeanFtTest2 Testpahse1 = new LeanFtTest2();


                try
                {
                    Testpahse1.TC12_HMOrder_DBExports_Verification();
                }
                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();
            }
        }
Example #2
0
        public void TC08_HMORDER_NEWOrderCeation()
        {
            if ((testResult["TC05_Selenium_Castor_Buyer_PDRTO"] == "Passed") && (testResult["TC07_Selenium_SmokeTest_ProductPlan"] == "Passed"))
            {
                LeanFtTest2 Testpahse1 = new LeanFtTest2();


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