public void Lock() { AttachToProcess(Processes.Encompass, 5); //MI_FeeImport.Initialize().btn_ImportFee_Click(); Thread.Sleep(2000); // EncompassDialog.Initialize().btn_OK_Click(); Thread.Sleep(2000); GenworthMortgageInsuranceRequest.Initialize().btn_Cancel_Click(); OB_ProductandPricing.OpenFrom_MainMenu().lstbx_Provider_Select("Optimal Blue - Enhanced").btn_Submit_Click(); OB_Login .Initialize() .txt_LoginName_SendKeys("stg_testlo_direct") .txt_Password_SendKeys("12345") .chk_SaveLoginInformation_Check(true) .chk_UpdateUpfrontMIdataforFHAloans_Check(true) .btn_Continue_Click(); OB_ProductSearch.Initialize().btn_Submit_Click(); Thread.Sleep(10000); OB_LockForm .Initialize() .btn_RequestLock_Click(); OB_PricingImportEncompassUpdate .Initialize() .btn_Close_Click(); // OB_LockRequestDialog.Initialize().btn_ExitLoan_Click(); }
public void _02_OptimalBluePricing() { AttachToProcess(Processes.Encompass, 5); #region Floating Product and Pricing OB_ProductandPricing.OpenFrom_MainMenu().lstbx_Provider_Select("Optimal Blue - Enhanced").btn_Submit_Click(); OB_Login.Initialize().txt_LoginName_SendKeys(OBLogin).txt_Password_SendKeys(OBPassword).chk_SaveLoginInformation_Check(true).btn_Continue_Click(); OB_ProductSearch.Initialize().btn_Submit_Click(); OB_SearchResults.Initialize().SelectLoanProgram_Click(LoanProgram); Thread.Sleep(10000); OB_LockForm.Initialize().btn_UpdateEncompass_Click(); Thread.Sleep(10000); OB_PricingImportEncompassUpdate.Initialize().btn_Close_Click(); #endregion #region Locked Product and Pricing //OB_ProductandPricing.OpenFrom_MainMenu().lstbx_Provider_Select("Optimal Blue - Enhanced").btn_Submit_Click(); //OB_Login.Initialize().txt_LoginName_SendKeys(OBLogin).txt_Password_SendKeys(OBPassword).chk_SaveLoginInformation_Check(true).btn_Continue_Click(); //OB_ProductSearch.Initialize().btn_Submit_Click(); OB_SearchResults.Initialize().SelectLoanProgram_Click(LoanProgram); Thread.Sleep(10000); OB_LockForm.Initialize().btn_RequestLock_Click(); Thread.Sleep(10000); OB_PricingImportEncompassUpdate.Initialize().btn_Close_Click(); //OB_LockRequestDialog.Initialize().btn_ExitLoan_Click(); //Thread.Sleep(20000); Pipeline.Initialize().Pipeline_SelectCurrentLoan(LoanNumber); #endregion }