Example #1
0
        public static SearchPage LaunchSearchScenerio(IWebDriver driver, string sex, int age)
        {
            var moduleZeroPage   = TestScenarioPart.ModuleZero(driver);
            var demographicsPage = TestScenarioPart.Demographics(moduleZeroPage);

            return(TestScenarioPart.Search(demographicsPage, sex, age));
        }
Example #2
0
        public static QuestionPage LaunchTriageScenerio(IWebDriver driver, string pathwayTopic, string sex, int age)
        {
            var moduleZeroPage   = TestScenarioPart.ModuleZero(driver);
            var demographicsPage = TestScenarioPart.Demographics(moduleZeroPage);
            var searchPage       = TestScenarioPart.Search(demographicsPage, sex, age);

            return(TestScenarioPart.Question(searchPage, pathwayTopic));
        }