public void MotoMTAExit() { SetOfficeRegKeys(); UiMap.CustomerCode = Moto.TamMotorSteps(Customer); Moto.CreateNewBusinessPolicy(ExpectedAddress); Moto.SelectPolicyQuote(); Moto.AcceptAndFinishQuote("cash", 2); Moto.MotoMTA(); Moto.MotoMTANoSave(); Moto.CloseAndOpenPolicyList(UiMap.CustomerCode); Moto.HighlightBillingScreen(); Moto.AssertMethod1(); }
public void MotoSaveQuoteWithoutPremium() { SetOfficeRegKeys(); UiMap.CustomerCode = Moto.TamMotorSteps(Customer); Moto.CreateNewBusinessPolicy(ExpectedAddress); Moto.SaveWithoutPremium(); Moto.CloseAndOpenPolicyList(UiMap.CustomerCode); //check premium Moto.HighlightBillingScreen(); Moto.AssertQuoteCostIsZero(); Moto.CancelBillingScreen(); Moto.SelectMenu(); Moto.ClickOkButton(); Moto.AssertCarDetailsCorrect(); Moto.Calculate(); Moto.QuoteResults1(); Moto.PublicCreditCheckOk(); Moto.SelectPolicyQuote(); Moto.ExitEnabled(); Moto.Exit1(); //check premium Moto.HighlightBillingScreen(); Moto.AssertMethod1(); Moto.CancelBillingScreen(); Moto.SelectMenu(); Moto.ClickOkButton(); Moto.AssertCarDetailsCorrect(); Moto.Calculate(); Moto.QuoteResults1(); Moto.PublicCreditCheckOk(); Moto.SelectPolicyQuote(); Moto.PrintQuote(); Moto.CheckAutoPrint(); Moto.DemandsAndNeeds(); Playback.Wait(3000); Moto.CloseDemands(); Moto.AcceptAndFinishQuote("cash", 2); Moto.CloseAndOpenPolicyList(UiMap.CustomerCode); Moto.HighlightBillingScreen(); Moto.AssertMethod1(); }