Ejemplo n.º 1
0
        public void GivenLoggingInAsDMBAndLoadingPipelineManager_WhenTableHeaders_ThenItReturnsTrueForItsExsistance()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            WebObjectFunctions Handler = new WebObjectFunctions();

            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderLoan_Label, "Loan#"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderBanker_Label, "Banker"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderLeadSource_Label, "Lead Source"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderLeadStatus_Label, "Lead Status"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderName_Label, "Name"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderCredit_Label, "Credit"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderState_Label, "State label"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderTZ_Label, "TZ"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderAge_Label, "Age"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderLTV_Label, "LTV"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderLTV_Label, "Purpose"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderLTV_Label, "Loan Amount"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderLTV_Label, "Loan Program"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderLastATC_Label, "Last ATC"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderLTV_Label, "Next Appointment"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderNotes_Label, "Notes"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderHot_Label, "Hot"));
            Assert.IsTrue(Handler.ValidatateWebElementTextDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardHeaderMarketingHotReason_Label, "Marketing Hot Reason"));
        }
Ejemplo n.º 2
0
        public void GivenLoggingInAsDMBAndLoadingPipelineManager_WhenQLCopyright_ThenITReturnsTrueForItsExsistance()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
        }
Ejemplo n.º 3
0
        public void GivenLogginAsDMB_WhenCheckingTablePiginate_ThenMoreThanHundredsLeadsAndNextButtonWillBeShowsUp()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.NavigateToFooterTablePiginate();
        }
Ejemplo n.º 4
0
        public void GivenLoggingAsDMB_WhenClickingOpenPipeLineInNewTab_ThenConfirmTheNewTabShowsUp()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.NavigateToPipeLineManagerNewTab();
        }
Ejemplo n.º 5
0
        public void GivenLoginasRVP_WhenClickedOnLinkToEmailInPM_ThenConfirmEmailPageAppear()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["RVPUserName"].ToString(), testContext.Properties["RVPPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            loan.ClickEmailPipeLineManager(2);
        }
Ejemplo n.º 6
0
        public void GivenLoginasRVP_WhenClickOnQTextIcon_ThenConfirmQtextPopupIsDisplayed()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["RVPUserName"].ToString(), testContext.Properties["RVPPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            loan.ClickQTextPipeLineManager(2);
        }
Ejemplo n.º 7
0
        public void GivenLoggingAsDMB_WhenClickHasAppointmentNoFilter_ThenConfirmRecordFoundunderPipelineManager()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.VerifyFilterYesOrNo(15);
        }
Ejemplo n.º 8
0
        public void GivenLoginAsRVP_WhenVerifyRVPIsAbleToCallClientOutOfPM_ThenItReturnsTrueForItsSuccess()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["RVPUserName"].ToString(), testContext.Properties["RVPPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            loan.DialCallPipeLineManager(2);
        }
Ejemplo n.º 9
0
        public void GivenLoggingAsDMB_WhenSortByHot_ThenConfirmHotColumnIsSorted()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.VerifySortedColumn(16);
        }
Ejemplo n.º 10
0
        public void GivenLoggingAsDMB_WhenClickPALNoFilter_ThenConfirmNo9610CriticalUnderDashBoardWorkStation()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.VerifyFilterYesOrNo(3);
        }
Ejemplo n.º 11
0
        public void GivenLoggingAsDMB_WhenClickPALYesFilter_ThenConfirm9610CriticalUnderDashBoardWorkStation()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.VerifyFilterCritical(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardPALYes_CheckBox, testContext.Properties["PALCritical9610"].ToString(), testContext.Properties["FilterTypeYes"].ToString());
        }
Ejemplo n.º 12
0
        public void GivenLoggingAsDMB_WhenClickCalledTodayNoFilter_ThenConfirmNoLastCalledAreListedUnderPipelineManagerLastATCColumn()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.VerifyFilterYesOrNo(14);
        }
Ejemplo n.º 13
0
        public void GivenLoginAsDMB_WhenDMBAbleToUpdateHotReason_ThenConfirmTheCriticalOnWorkStation()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.AccessParticularHotForDMBCell(2, 17);
            loan.ConfirmHotReasonAreSavedInParticularLoan(testContext.Properties["DMBHotReason"].ToString());
        }
Ejemplo n.º 14
0
        public void GivenLoginAsDMB_WhenDMBAbleToUncheckTheHotreasonCheckboxBesideDMB_ThenConfirmTheCriticalOnWorkStation()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.UnCheckHotReasonForCell(2, 17, 2);
            loan.ConfirmHotReasonAreUnCheckedInParticularLoan(testContext.Properties["DMBHotReasonUnCheck"].ToString());
        }
Ejemplo n.º 15
0
        public void GivenLoginAsDMB_WhenVerifyTheDMBAbleToUpdateNotes_ThenConfirmTheCriticalOnWorkStation()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["DMBUsername"].ToString(), testContext.Properties["DMBPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.AccessParticularCell(1, 16, testContext.Properties["NotesData"].ToString());
            loan.ConfirmNotesAreSavedInParticularLoan("QA");
        }
Ejemplo n.º 16
0
        public void GivenLoggingAsDMB_WhenClickProgramYesFilter_ThenConfirmProgramsAreListedUnderPipelineManagerLoanProgramColumn()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            dashBoardPipeLineManager.VerifyFilterYesOrNo(13);
            dashBoardPipeLineManager.VerifyFilterCritical(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardProgramYes_CheckBox, testContext.Properties["Critical8020"].ToString(), testContext.Properties["FilterTypeNo"].ToString());
        }
Ejemplo n.º 17
0
        public void GivenLoggingAsDMB_WhenClickCreditPulledNoFilter_ThenConfirmNo8020CriticalOnWorkStation()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);

            dashBoardPipeLineManager.VerifyFilterCritical(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardCreditPulledNo_CheckBox, testContext.Properties["Critical8020"].ToString(), testContext.Properties["FilterTypeNo"].ToString());
        }
Ejemplo n.º 18
0
        public void PipeLineManagerNotesAddition_AddNotesInTheBankerPipeLineManager_ConfirmNotesAreAddedToTheClientWorkStation()
        {
            AdminLoginPage login = new AdminLoginPage(Driver.Instance);

            login.LoadLOLAHomePage(testContext.Properties["webAppTestUrl"].ToString());
            login.LOLALogin("QABANKER1", "Jul@2017");
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager();

            dashBoardPipeLineManager.NavigateToPipeLineManager();
            dashBoardPipeLineManager.AccessParticularCell(2, 15);
            Loan loan = new Loan();

            loan.ConfirmNotesAreSavedInParticularLoan("QA");
        }
Ejemplo n.º 19
0
        public void GivenLoggingInAsDMBAndLoadingPipelineManager_WhenVerifyButtonForExportCSV_ThenItReturnsTrueForItsExsistance()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            WebObjectFunctions Handler = new WebObjectFunctions();

            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardExportCSV_Button));
        }
Ejemplo n.º 20
0
        public void CTI()
        {
            AdminLoginPage login = new AdminLoginPage(Driver.Instance);

            login.LoadLOLAHomePage(testContext.Properties["webAppTestUrl"].ToString());
            login.LOLALogin("QABANKER1", "Jul@2017");
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager();

            dashBoardPipeLineManager.NavigateToPipeLineManager();
            Loan loan = new Loan();

            loan.AccessParticularCell(2, 15);
            loan.ConfirmCTIAddress(6);
        }
Ejemplo n.º 21
0
        public void GivenLoggingAsDMB_WhenClickCreditPulledYesFilter_TheConfirm8020CriticalOnWorkStation()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            string critical = ConfigurationManager.AppSettings["Critical"];

            Console.WriteLine(" Teh critical is0" + critical);
            dashBoardPipeLineManager.VerifyFilterCritical(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardCreditPulledYes_CheckBox, critical, testContext.Properties["FilterTypeYes"].ToString());
        }
Ejemplo n.º 22
0
        public void GivenLoggingAsDMBAndLoadingPipelineManager_WhenTheLoanNumberColumnHasPhoneTextAndEmailImage_ThenItReturnsTrueForItsExsistance()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            WebObjectFunctions Handler = new WebObjectFunctions();

            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardLoanNumber_Link));
            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardPhone_Image));
            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardQText_Image));
            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardEmail_Image));
        }
Ejemplo n.º 23
0
        public void GivenLoggingInAsDMBAndLoadingPipelineManager_WhenVerifyDropDownsForRVPDMBBanker_ThenItConfirmsDropDownItems()
        {
            AdminLoginPage login = new AdminLoginPage(driver);

            login.LoadLOLAHomePage(driver, testContext.Properties["LOLAUrl"].ToString());
            DashBoardPipeLineManager dashBoardPipeLineManager = new DashBoardPipeLineManager(driver);
            Loan loan = new Loan(driver);

            login.LOLALogin(driver, testContext.Properties["BankerUserName"].ToString(), testContext.Properties["BankerPassword"].ToString());
            dashBoardPipeLineManager.NavigateToPipeLineManager(driver);
            WebObjectFunctions Handler = new WebObjectFunctions();

            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardRVP_DropDown));
            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardDMB_DropDown));
            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardBanker_DropDown));
            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardRVP_Label));
            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardDMP_Label));
            Assert.IsTrue(Handler.ValidatateWebElementDisplayed(dashBoardPipeLineManager.LOLAClientClientProfilePipeLineManagerDashBoardBanker_Label));
        }