Esempio 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"));
        }
 public void GetAllValueForClientOne(IWebDriver driver)
 {
     freshStart     = new FreshStartHome(driver);
     commonhelper   = new WebObjectFunctions(driver);
     newEnroll      = new NewEnrollClient(driver);
     myPipeline     = new MyPipeline(driver);
     apiHelper      = new CommonAPIHelper(driver);
     pipelineSearch = new PipelineSearch(driver);
     //secondClientDetails = new Panorama_SecondClientDetails(driver);
     newEnroll.NavigateToFreshStartHome(driver, ConfigurationManager.AppSettings["FreshStartUrl"]);
     newEnroll.EnterLoanNumber(driver, ConfigurationManager.AppSettings["LoanNumber"]);
     newEnroll.NavigateToClientOption(driver);
     newEnroll.SelectFirstClient(driver);
     valueFirstName          = freshStart.FreshStartFirstName_TextBox.GetAttribute("value");
     valueLastName           = freshStart.FreshStartLastName_TextBox.GetAttribute("value");
     valueEmail              = freshStart.FreshStartEmail_TextBox.GetAttribute("value");
     valuePhone              = freshStart.FreshStartPhone_TextBox.GetAttribute("value");
     valueClientOneFirstName = freshStart.FreshStartClientInfoClientOneFirstName_TextBox.GetAttribute("value");
     valueClientOneLastName  = freshStart.FreshStartClientInfoClientOneLastName_TextBox.GetAttribute("value");
     valueClientOnePhone     = freshStart.FreshStartClientInfoClientOneHomePhone_TextBox.GetAttribute("value");
     valueClientOneEmail     = freshStart.FreshStartClientInfoClientOneEmail_TextBox.GetAttribute("value");
     valuePropertyAddress    = freshStart.FreshStartPropertyAddress_TextBox.GetAttribute("value");
     valuePropertyCity       = freshStart.FreshStartPropertyCity_TextBox.GetAttribute("value");
     substringValue          = valuePropertyAddress.Substring(0, 11);
 }
Esempio n. 3
0
        public static void Init(TestContext context)
        {
            testContext    = context;
            driver         = Driver.Initialize(testContext.Properties["BrowserIEName"].ToString());
            freshStart     = new FreshStartHome(driver);
            commonhelper   = new WebObjectFunctions(driver);
            newEnroll      = new NewEnrollClient(driver);
            myPipeline     = new MyPipeline(driver);
            apiHelper      = new CommonAPIHelper(driver);
            pipelineSearch = new PipelineSearch(driver);
            string freshStartUrl = ConfigurationManager.AppSettings["FreshStartUrl"];

            newEnroll.NavigateToFreshStartHome(driver, freshStartUrl);
            Assert.IsTrue(commonhelper.ValidatateWebElementDisplayed(newEnroll.newEnroll_Subheading));
            Assert.IsTrue(commonhelper.ValidatateWebElementTextDisplayed(newEnroll.newEnroll_Subheading, ConfigurationManager.AppSettings["NewEnrollText"]));
            Assert.IsTrue(commonhelper.ValidatateWebElementDisplayed(newEnroll.newEnrollLoanNumber_Label));
            Assert.IsTrue(commonhelper.ValidatateWebElementTextDisplayed(newEnroll.newEnrollLoanNumber_Label, ConfigurationManager.AppSettings["LoanNumberText"]));
            Assert.IsTrue(commonhelper.ValidatateWebElementDisplayed(newEnroll.newEnrollLoanNumber_TextBox));
            Assert.IsTrue(commonhelper.ValidatateWebElementAttributeCheck(newEnroll.newEnrollLoanNumber_TextBox, ConfigurationManager.AppSettings["MaxLengthTenText"]));
            Assert.IsTrue(commonhelper.ValidatateWebElementAttributeCheck(newEnroll.newEnrollLoanNumber_TextBox, ConfigurationManager.AppSettings["NgPatternText"]));
            Assert.IsTrue(commonhelper.ValidatateWebElementAttributeCheck(newEnroll.newEnrollEntroll_Button, ConfigurationManager.AppSettings["DisabledText"]));
            newEnroll.EnterLoanNumber(driver, ConfigurationManager.AppSettings["LoanNumber"]);
            Assert.IsTrue(commonhelper.ValidatateWebRemovedElementAttributeCheck(newEnroll.newEnrollEntroll_Button, ConfigurationManager.AppSettings["DisabledText"]));
            newEnroll.NavigateToClientOption(driver);
            newEnroll.SelectFirstClient(driver);
        }
Esempio n. 4
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));
        }
 public static void Init(TestContext context)
 {
     testContext    = context;
     driver         = Driver.Initialize(testContext.Properties["BrowserChromeName"].ToString());
     freshStart     = new FreshStartHome(driver);
     commonhelper   = new WebObjectFunctions(driver);
     newEnroll      = new NewEnrollClient(driver);
     myPipeline     = new MyPipeline(driver);
     apiHelper      = new CommonAPIHelper(driver);
     pipelineSearch = new PipelineSearch(driver);
     freshStartUrl  = ConfigurationManager.AppSettings["FreshStartUrl"];
     freshStart.NavigateToFreshStartHome(driver, freshStartUrl);
     freshStart.NavigateToMyPipelineHome(driver);
 }
Esempio n. 6
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));
        }
        public void GetAllValueForClientTwo(IWebDriver driver)
        {
            freshStart     = new FreshStartHome(driver);
            commonhelper   = new WebObjectFunctions(driver);
            newEnroll      = new NewEnrollClient(driver);
            myPipeline     = new MyPipeline(driver);
            apiHelper      = new CommonAPIHelper(driver);
            pipelineSearch = new PipelineSearch(driver);
            string freshStartUrl = ConfigurationManager.AppSettings["FreshStartUrl"];

            newEnroll.NavigateToNewClient(driver, ConfigurationManager.AppSettings["LoanForTwo"]);
            newEnroll.NavigateToClientOption(driver);
            newEnroll.SelectMutipleClient(driver);
            value = freshStart.FreshStartClientInfoClientTwoEmail_TextBox.GetAttribute("value");
            valueClientTwoFirstName = freshStart.FreshStartClientInfoClientTwoFirstName_TextBox.GetAttribute("value");
            valueClientTwoLastName  = freshStart.FreshStartClientInfoClientTwoLastName_TextBox.GetAttribute("value");
        }
Esempio n. 8
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));
        }
 public static void Init(TestContext context)
 {
     testContext           = context;
     driver                = Driver.Initialize(testContext.Properties["BrowserIEName"].ToString());
     freshStart            = new FreshStartHome(driver);
     commonhelper          = new WebObjectFunctions(driver);
     newEnroll             = new NewEnrollClient(driver);
     myPipeline            = new MyPipeline(driver);
     apiHelper             = new CommonAPIHelper(driver);
     pipelineSearch        = new PipelineSearch(driver);
     clientSummarryApi     = new ClientSummaryAutoFill(driver);
     clientSummaryValue    = new ClientSummaryAutoFill(driver);
     clientSummarryApiOne  = new ClientSummaryAutoFill(driver);
     clientSummaryValueOne = new ClientSummaryAutoFill(driver);
     ApiUtilityFunction    = new APIUtilityFunctions(driver);
     clientSummaryValueOne.GetAllValueForClientOne(driver);
     clientSummarryApiOne.GetAllAPIForClientOne(driver);
     clientSummaryValue.GetAllValueForClientTwo(driver);
     clientSummarryApi.GetAllAPIForClientTwo(driver);
 }