public static void CreateANewSpecification_VarYr()

        {
            ManageSpecificationPage managespecficationpage  = new ManageSpecificationPage();
            CreateSpecificationPage createspecificationpage = new CreateSpecificationPage();
            CreateCalculationPage   createcalculationpage   = new CreateCalculationPage();
            HomePage homepage = new HomePage();

            string newname         = "Test Spec Name ";
            string descriptiontext = "This is a Description for: ";
            string fundingStreams  = "all";

            NavigateTo.CreatetheSpecfication();
            Assert.IsNotNull(createcalculationpage.CalculationName);
            Thread.Sleep(2000);
            var randomSpecName = newname + TestDataUtils.RandomString(6);

            ScenarioContext.Current["SpecificationName"] = randomSpecName;

            createspecificationpage.SpecName.SendKeys(randomSpecName);
            createspecificationpage.SpecDescription.SendKeys(descriptiontext + randomSpecName);
            var selectYear = createspecificationpage.SpecFundingPeriod;

            var    specYear      = ScenarioContext.Current["SpecificationYear"];
            string specAcYear    = specYear.ToString();
            var    selectElement = new SelectElement(selectYear);

            selectElement.SelectByValue(specAcYear);
            //createspecificationpage.FundingStream.Click();
            //createspecificationpage.FundingStream.SendKeys(OpenQA.Selenium.Keys.Enter);
            Actions.CreateSpecificationChooseAllFundingStreams(fundingStreams);
            Thread.Sleep(2000);
            createspecificationpage.SaveSpecification.Click();
            Thread.Sleep(2000);

            homepage.Header.Click();
            Thread.Sleep(2000);
            homepage.ManagetheSpecification.Click();
            Thread.Sleep(2000);

            var    specName    = ScenarioContext.Current["SpecificationName"];
            string specCreated = specName.ToString();

            Console.WriteLine(specCreated + " has been created successfully");
            Driver._driver.FindElement(By.LinkText(specCreated)).Click();
            Thread.Sleep(1000);
        }