Example #1
0
 internal void EnterHowYouWillLearn(string strData)
 {
     FormCompletionHelper.EnterText(HowYouWillLearnText, strData);
 }
        /*private void SelectPostcodeRadius(String dropdownValue)
         * {
         *  FormCompletionHelper.SelectFromDropDownByText(PostcodeRadius, dropdownValue);
         *  ScenarioContext.Current["_provisionGapPostcodeRadius"] = dropdownValue;
         * }*/

        private void ClickSearchAgain()
        {
            FormCompletionHelper.ClickElement(SearchAgainButton);
        }
 private void SelectProviders()
 {
     FormCompletionHelper.ClickElement(Provider1Checkbox);
     ProviderResultsHelper.SetProviderNames(providerName1);
 }
 public void VerifyInvalidPostcodeError(string ExpectedErrorMessage)
 {
     FormCompletionHelper.VerifyText(ActualInvalidPostcodeError, ExpectedErrorMessage);
 }
 private void EnterPostcode(string postcode)
 {
     FormCompletionHelper.EnterText(PostcodeField, postcode);
     ScenarioContext.Current["_provisionGapPostcode"] = postcode;
 }
 public AddVenueEditNamePage ChangeName()
 {
     FormCompletionHelper.ClickElement(changeNameLink);
     return(new AddVenueEditNamePage(webDriver));
 }
 public AddVenueEditAddressPage EditAddress()
 {
     FormCompletionHelper.ClickElement(changeAddressLink);
     return(new AddVenueEditAddressPage(webDriver));
 }
Example #8
0
 internal void SelectAdultEducationOption()
 {
     FormCompletionHelper.SelectCheckBox2(AdultEducationBudget);
 }
Example #9
0
 internal void CheckAdultEducationOption()
 {
     FormCompletionHelper.IsObjectSelected(AdultEducationBudget);
 }
Example #10
0
 internal void SelectAdvancedLearnerOption()
 {
     FormCompletionHelper.SelectCheckBox2(AdvancedLearnerLoan);
 }
Example #11
0
 internal void ClickAdultEducationOption()
 {
     FormCompletionHelper.ClickElement(AdultEducationBudget);
 }
Example #12
0
 internal void EnterWhereNext(string strData)
 {
     FormCompletionHelper.EnterText(WhereNextText, strData);
 }
Example #13
0
 internal void EnterHowYouWillBeAssessed(string strData)
 {
     FormCompletionHelper.EnterText(HowAssessedText, strData);
 }
Example #14
0
 internal void EnterWhatYouWillNeedToBring(string strData)
 {
     FormCompletionHelper.EnterText(WhatYouNeedText, strData);
 }
Example #15
0
 internal FindACoursePage ClickSearch()
 {
     FormCompletionHelper.ClickElement(searchBtn);
     return(new FindACoursePage(webDriver));
 }
 public MYSTCHomePage(ScenarioContext context) : base(context)
 {
     _context    = context;
     _formHelper = context.Get <FormCompletionHelper>();
 }
Example #17
0
 internal FindACoursePage ClickContactAdvisor(string contactLink)
 {
     FormCompletionHelper.ClickElement(advisorLnk);
     return(new FindACoursePage(webDriver));
 }
Example #18
0
 public AddVenueSelectAddressPage EnterVenueName(String name)
 {
     FormCompletionHelper.EnterTextWithoutClearing(venueName, name);
     return(new AddVenueSelectAddressPage(webDriver));
 }
 public ViewAllLiveVenuesPage ClickContinue()
 {
     FormCompletionHelper.ClickElement(continueButton);
     return(new ViewAllLiveVenuesPage(webDriver));
 }
Example #20
0
 public AddVenueSelectAddressPage selectAddress(string address)
 {
     PageInteractionHelper.WaitForPageToLoad(10);
     FormCompletionHelper.SelectFromDropDownByText(webDriver.FindElement(By.XPath(".//*[@id='PostcodeId']")), address);
     return(new AddVenueSelectAddressPage(webDriver));
 }
        /*public void VerifySearchRadius(String SearchRadius)
         * {
         *  //String expSearchRadius = (String)ScenarioContext.Current["_provisionGapPostcodeRadius"];
         *  String expSearchRadius = SearchRadius;
         *  PageInteractionHelper.VerifyText(ActualSearchRadiusDisplayed, expSearchRadius);
         * }    */

        public void VerifyProviderNotSelectedError(string ExpectedErrorMessage)
        {
            FormCompletionHelper.VerifyText(ActualNoProviderSelectedError, ExpectedErrorMessage);
        }
Example #22
0
 public AddVenueSelectAddressPage ClickChange()
 {
     FormCompletionHelper.ClickElement(clickChange);
     return(new AddVenueSelectAddressPage(webDriver));
 }
 //Actions
 private void SelectSkillArea(String dropdownValue)
 {
     FormCompletionHelper.SelectFromDropDownByText(SkillAreaDropdown, dropdownValue);
     // ScenarioContext.Current["_provisionGapTypeOfPlacement"] = dropdownValue;
 }
Example #24
0
 public AddVenueSelectAddressPage ClickContinue()
 {
     FormCompletionHelper.ClickElement(continueButton);
     return(new AddVenueSelectAddressPage(webDriver));
 }
 private void ClearPostcode()
 {
     FormCompletionHelper.ClearText(PostcodeField);
 }
Example #26
0
 internal FindACoursePage EnterCourseNameWithoutClearing(String courseTxt)
 {
     FormCompletionHelper.EnterTextWithoutClearing(courseName, courseTxt);
     return(new FindACoursePage(webDriver));
 }
 private void SelectNoSuitableProviders()
 {
     FormCompletionHelper.ClickElement(ReportProvisionGapLink);
 }
Example #28
0
 internal FindACoursePage EnterLocation(String locationTxt)
 {
     FormCompletionHelper.EnterText(location, locationTxt);
     return(new FindACoursePage(webDriver));
 }
 private void ClickContinue()
 {
     FormCompletionHelper.ClickElement(ContinueButton);
 }
Example #30
0
 internal void EnterEntryRequirements(string strData)
 {
     FormCompletionHelper.EnterText(EntryReqText, strData);
 }