Esempio n. 1
0
        public ExecutionResult Execute(WebTestHelper helper)
        {
            var driver = helper.Driver;

            var app = new CreateHIPPApplication();

            APHPHomePage loginPage = new APHPHomePage(driver);

            driver.Url = "https://10.3.29.100:44305";
            driver.Manage().Window.Maximize();
            WorkerPortalLandingPage landingPage = new WorkerPortalLandingPage(driver);
            HIPPSearchPage          hIPPSearch  = new HIPPSearchPage(driver);


            loginPage.LoginPage("bryar.h.wrkr", "Password123");
            landingPage.HippApplicationSearch();

            return(hIPPSearch.BeginNewHIPPApplication.Displayed ? ExecutionResult.Passed : ExecutionResult.Failed);
        }
        public ExecutionResult Execute(WebTestHelper helper)
        {
            var driver = helper.Driver;


            APHPHomePage loginPage = new APHPHomePage(driver);

            driver.Url = "https://10.3.29.100:44305";
            driver.Manage().Window.Maximize();
            WorkerPortalLandingPage landingPage = new WorkerPortalLandingPage(driver);
            HIPPSearchPage          hIPPSearch  = new HIPPSearchPage(driver);
            CreateHIPPApplication   app         = new CreateHIPPApplication();

            loginPage.LoginPage("bryar.h.wrkr", "Password123");
            landingPage.HippApplicationSearch();
            hIPPSearch.ClickBeginNewApp();
            app.SubmitHIPPCaseSubmissionUltimate(driver, false);

            return(ExecutionResult.Passed);
        }