Пример #1
0
        //#####################################################################################
        //	Production Issue: 3432/01 6/21 Missing Transaction Tr5
        //	1.	Add a PUR pro customer to the order.
        //	2.	Trade SKU 112321
        //	3.	Trade SKU 954010
        //	4.	Trade SKU 109523
        //	5.	Trade SKU 954013
        //	6.	Trade SKU 109536
        //	7.	Trade SKU 103080
        //	8.	Trade SKU 107399
        //	9.	Purchase SKU 109386
        //	10.	Purchase SKU 101820
        //	11.	Pre-Order SKU 113170, with a deposit of $9.92
        //	12.	Pay the rest with cash.
        //#####################################################################################
        private void Issue_3432_01()
        {
            FnProductionIssueFunctions ProductionIssueFunctions = new FnProductionIssueFunctions();
            fnWriteToLogFile           WriteToLogFile           = new fnWriteToLogFile();

            RanorexRepository repo = new RanorexRepository();

            Global.LogText = " Start Issue_3432_01";
            WriteToLogFile.Run();

            ProductionIssueFunctions.SpecialStartTransaction();

            Global.SpecialCustomerPhoneNumber = "8175551133";
            ProductionIssueFunctions.SpecialEnterCustomer();

            Global.NumberSpecialTrades = 7;
            Global.SpecialTrades[1]    = "112321";
            Global.SpecialTrades[2]    = "954010";
            Global.SpecialTrades[3]    = "109523";
            Global.SpecialTrades[4]    = "954013";
            Global.SpecialTrades[5]    = "109536";
            Global.SpecialTrades[6]    = "103080";
            Global.SpecialTrades[7]    = "107399";
            ProductionIssueFunctions.SpecialEnterTradess();

            Global.NumberSpecialSKUs     = 3;
            Global.SpecialSKUs[1]        = "109386";
            Global.SpecialSKUs[2]        = "101820";
            Global.SpecialInitialDeposit = "9.92";
            Global.SpecialSKUs[3]        = "108274";       // Pre-Order item
            ProductionIssueFunctions.SpecialPurchaseSKUs();

            Global.SpecialCheckingOut   = false;
            Global.PayWithMethod        = "Cash";
            Global.SpecialPayThisAmount = "All";
            ProductionIssueFunctions.SpecialPreCheckOut();

            ProductionIssueFunctions.SpecialCheckForCodeF4Alert();

            repo.RetechLoginView.TxtPassword.PressKeys("{Escape}"); // initial sign on screen

            Global.LogText = " End Issue_3432_01";
            WriteToLogFile.Run();

            if (Directory.Exists(Global.MiniDumpDirectory))
            {
                Environment.Exit(0);
            }
        }
Пример #2
0
        //#####################################################################################
        //	Production Issue: 1705/01 9/13 Access Lock Bug
        //	1.	Add SKU 930586 to the order.
        //	2.	Add a PUR pro customer to the order.
        //	3.	Pay $10.00 with cash.
        //	4.	Pay the rest with debit.
        //#####################################################################################
        private void Issue_1705_01()
        {
            FnProductionIssueFunctions ProductionIssueFunctions = new FnProductionIssueFunctions();
            fnWriteToLogFile           WriteToLogFile           = new fnWriteToLogFile();

            RanorexRepository repo = new RanorexRepository();

            Global.LogText = " Start Issue_1705_01";
            WriteToLogFile.Run();

            ProductionIssueFunctions.SpecialStartTransaction();

            Global.NumberSpecialSKUs = 1;
            Global.SpecialSKUs[1]    = "930586";
            ProductionIssueFunctions.SpecialPurchaseSKUs();

            Global.SpecialCustomerPhoneNumber = "8175551133";
            ProductionIssueFunctions.SpecialEnterCustomer();

            Global.SpecialCheckingOut   = false;
            Global.PayWithMethod        = "Cash";
            Global.SpecialPayThisAmount = "10.00";
            ProductionIssueFunctions.SpecialPreCheckOut();

            Global.SpecialCheckingOut   = true;
            Global.PayWithMethod        = "Credit";
            Global.SpecialPayThisAmount = "All";
            ProductionIssueFunctions.SpecialPreCheckOut();

            ProductionIssueFunctions.SpecialCheckForCodeF4Alert();

            repo.RetechLoginView.TxtPassword.PressKeys("{Escape}"); // initial sign on screen

            Global.LogText = " End Issue_1705_01";
            WriteToLogFile.Run();

            if (Directory.Exists(Global.MiniDumpDirectory))
            {
                Environment.Exit(0);
            }
        }