Esempio n. 1
0
        public void MotoMTAtoMTA()
        {
            SetOfficeRegKeys();
            UiMap.CustomerCode = Moto.TamMotorSteps(Customer);
            Moto.CreateNewBusinessPolicy(ExpectedAddress);
            Moto.SelectPolicyQuote();
            Moto.AcceptAndFinishQuote("cash", 2);
            Moto.MotoMTA();
            Moto.MotoMTAParams.CostOfVehicle = "2500";
            Moto.MotoMTAAccept();
            Moto.MtaEffectiveDate("13/10/12");
            Moto.MotoMTAConfirmDate();
            Moto.CoverDateBackCheck();
            Moto.EtamOk(true);
            string coverDate = "MotoMTAtoMTA_" + Moto.MtaEffectiveDate();

            Moto.MotoMTAConfirmDate();
            Moto.MotoMTAConfirmPolicy("mta");
            Playback.Wait(5000);
            Moto.MotoMTAOpenQuote();

            Moto.MotoMTACheckNewValueExpectedValues.UIItemEditText = "2500";
            Moto.MotoMTACheckNewValue(true, coverDate);
            Moto.MotoExitMTA();
        }