public void WhenIClickSubmit()
        {
            SurveyPage personalPage = ScenarioContext.Current.Get <SurveyPage>("CurrentPage");
            SurveyPage surveypage   = personalPage.ClickOnSurveySubmitButton();

            ScenarioContext.Current.Set(surveypage, "CurrentPage");
        }
        public void WhenIClickOnTheSurveyLink()
        {
            HomePage   personalPage = ScenarioContext.Current.Get <HomePage>("CurrentPage");
            SurveyPage surveyPage   = personalPage.ClickOnSurveyLink();

            ScenarioContext.Current.Set(surveyPage, "CurrentPage");
        }
        public void GivenIAmOnTheSurveyPage()
        {
            SurveyPage surveypage = new SurveyPage(driver);

            surveypage.Navigate();


            ScenarioContext.Current.Set(surveypage, "CurrentPage");
        }
        public void ThenIAmOnTheSurveyPage()
        {
            SurveyPage surveyPage = ScenarioContext.Current.Get <SurveyPage>("CurrentPage");

            Assert.AreEqual("http://localhost:55601/Home/GoToSurvey", driver.Url);
        }