Exemplo n.º 1
0
        //  [Test]
        public void TC29_Selenium_OFULogin()
        {
            LeanFtTest1 TestPhase = new LeanFtTest1();

            try
            {
                TestPhase.TC29_Selenium_OFULogin();
            }
            finally
            {
                TestPhase.TearDown();
            }
        }
Exemplo n.º 2
0
        public void TC23_3_Selenium_VerifyCITStatus()
        {
            LeanFtTest1 TestPhase = new LeanFtTest1();

            try
            {
                TestPhase.TC23_3_Selenium_VerifyCITStatus();
            }
            finally
            {
                TestPhase.TearDown();
            }
        }
Exemplo n.º 3
0
        public void TC23_4_Selenium_VerifyTagsPTAndITPush()
        {
            LeanFtTest1 TestPhase = new LeanFtTest1();

            try
            {
                TestPhase.TC23_4_Selenium_VerifyTagsPTAndITPush();
            }
            finally
            {
                TestPhase.TearDown();
            }
        }
Exemplo n.º 4
0
        public void TC01_Selenium_Castor_ProductDevelopmentandPublish()
        {
            LeanFtTest1 Testpahse1 = new LeanFtTest1();;

            try
            {
                Testpahse1.TC01_Selenium_Castor_ProductDevelopmentandPublish();
            }
            finally
            {
                Testpahse1.TearDown();
            }
        }
Exemplo n.º 5
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();
            }
        }
Exemplo n.º 6
0
        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();
            }
        }
Exemplo n.º 7
0
        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();
            }
        }
Exemplo n.º 8
0
        public void TC23_2_Selenium_ICCExports_Merch_MChart()
        {
            if (testResult["TC23_2_Selenium_Castor_Merch_MChart"] == "Passed")
            {
                LeanFtTest1 Testpahse1 = new LeanFtTest1();


                try
                {
                    Testpahse1.TC23_2_Selenium_SmokeTest_MchartICCexportsVerification();
                }
                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();
            }
        }
Exemplo n.º 9
0
        public void TC24_Selenium_ICCExports_CountryCertificates()
        {
            if (testResult["TC23_Selenium_Castor_AssignKoreaCertificate"] == "Passed")
            {
                LeanFtTest1 Testpahse1 = new LeanFtTest1();


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


                try
                {
                    Testpahse1.TC22_Selenium_Castor_SampleOrder_SampleReportgeneration();
                }
                finally
                {
                    Testpahse1.TearDown();
                }
            }
            else
            {
                Reporter.ReportEvent(TestContext.CurrentContext.Test.MethodName, "due to fail/Skip in test TC21_Selenium_Castor_SampleOrder_LabTest and current test depends on that", Status.Warning);
                Assert.Ignore();
            }
        }
Exemplo n.º 11
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();
            }
        }
Exemplo n.º 12
0
        public void TC17_Selenium_SmokeTest_CapacityBooking_CastorExports_Verification()
        {
            if (testResult["TC16_Selenium_Castor_CapacityBooking"] == "Passed")
            {
                LeanFtTest1 Testpahse1 = new LeanFtTest1();


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


                try
                {
                    Testpahse1.TC15_Selenium_SmokeTest_HMORder_OrderedProductSpecification_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();
            }
        }