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)); }
internal void SelectAdultEducationOption() { FormCompletionHelper.SelectCheckBox2(AdultEducationBudget); }
internal void CheckAdultEducationOption() { FormCompletionHelper.IsObjectSelected(AdultEducationBudget); }
internal void SelectAdvancedLearnerOption() { FormCompletionHelper.SelectCheckBox2(AdvancedLearnerLoan); }
internal void ClickAdultEducationOption() { FormCompletionHelper.ClickElement(AdultEducationBudget); }
internal void EnterWhereNext(string strData) { FormCompletionHelper.EnterText(WhereNextText, strData); }
internal void EnterHowYouWillBeAssessed(string strData) { FormCompletionHelper.EnterText(HowAssessedText, strData); }
internal void EnterWhatYouWillNeedToBring(string strData) { FormCompletionHelper.EnterText(WhatYouNeedText, strData); }
internal FindACoursePage ClickSearch() { FormCompletionHelper.ClickElement(searchBtn); return(new FindACoursePage(webDriver)); }
public MYSTCHomePage(ScenarioContext context) : base(context) { _context = context; _formHelper = context.Get <FormCompletionHelper>(); }
internal FindACoursePage ClickContactAdvisor(string contactLink) { FormCompletionHelper.ClickElement(advisorLnk); return(new FindACoursePage(webDriver)); }
public AddVenueSelectAddressPage EnterVenueName(String name) { FormCompletionHelper.EnterTextWithoutClearing(venueName, name); return(new AddVenueSelectAddressPage(webDriver)); }
public ViewAllLiveVenuesPage ClickContinue() { FormCompletionHelper.ClickElement(continueButton); return(new ViewAllLiveVenuesPage(webDriver)); }
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); }
public AddVenueSelectAddressPage ClickChange() { FormCompletionHelper.ClickElement(clickChange); return(new AddVenueSelectAddressPage(webDriver)); }
//Actions private void SelectSkillArea(String dropdownValue) { FormCompletionHelper.SelectFromDropDownByText(SkillAreaDropdown, dropdownValue); // ScenarioContext.Current["_provisionGapTypeOfPlacement"] = dropdownValue; }
public AddVenueSelectAddressPage ClickContinue() { FormCompletionHelper.ClickElement(continueButton); return(new AddVenueSelectAddressPage(webDriver)); }
private void ClearPostcode() { FormCompletionHelper.ClearText(PostcodeField); }
internal FindACoursePage EnterCourseNameWithoutClearing(String courseTxt) { FormCompletionHelper.EnterTextWithoutClearing(courseName, courseTxt); return(new FindACoursePage(webDriver)); }
private void SelectNoSuitableProviders() { FormCompletionHelper.ClickElement(ReportProvisionGapLink); }
internal FindACoursePage EnterLocation(String locationTxt) { FormCompletionHelper.EnterText(location, locationTxt); return(new FindACoursePage(webDriver)); }
private void ClickContinue() { FormCompletionHelper.ClickElement(ContinueButton); }
internal void EnterEntryRequirements(string strData) { FormCompletionHelper.EnterText(EntryReqText, strData); }