public override bool Verify()
 {
     return(PageInteractionHelper.VerifyPageHeading(this.GetPageHeading(), PAGE_TITLE));
 }
コード例 #2
0
 public NationalProviderCapabilityPage ErrorDisplayed(string errorMsg)
 {
     PageInteractionHelper.WaitForElementToBePresent(ErrorMsg);
     PageInteractionHelper.IsElementDisplayed(ErrorMsg);
     return(new NationalProviderCapabilityPage(webDriver));
 }
コード例 #3
0
 public ConfirmDetailsPage ContinueYes()
 {
     FormCompletionHelper.ClickElement(ContinueBtn);
     PageInteractionHelper.WaitForPageToLoad();
     return(new ConfirmDetailsPage(webDriver));
 }
コード例 #4
0
 internal void VerifyErrorMessageDisplayed(string expectedError)
 {
     PageInteractionHelper.VerifyText(actualErrorMessage, expectedError);
 }
コード例 #5
0
 protected override bool SelfVerify()
 {
     PageInteractionHelper.WaitForPageToLoad();
     return(PageInteractionHelper.VerifyPageHeading(this.GetPageHeading(), PAGE_TITLE));
 }
コード例 #6
0
 internal void ValidateSpacesData(string newCourseName)
 {
     PageInteractionHelper.OpenAccordians(QualChevron);
     PageInteractionHelper.OpenAccordians(CourseChevron);
     PageInteractionHelper.VerifyCourseRunValue(CourseRunNameText, newCourseName);
 }
コード例 #7
0
 internal void ClickCourseName()
 {
     PageInteractionHelper.OpenAccordians(CourseChevron);
 }
 public ClassroomAndEmployerDeliveryOptionPage ClickAddAnother()
 {
     FormCompletionHelper.ClickElement(AddAnother);
     PageInteractionHelper.WaitForPageToLoad();
     return(new ClassroomAndEmployerDeliveryOptionPage(webDriver));
 }
コード例 #9
0
 public SearchApprenticeshipPage ResultsReturned()
 {
     PageInteractionHelper.WaitForPageToLoad();
     FormCompletionHelper.VerifyElementPresent(resultReturned);
     return(new SearchApprenticeshipPage(webDriver));
 }
 public ClassroomAndEmployerDeliveryOptionPage SelectFirstLocation()
 {
     FormCompletionHelper.SelectFromDropDownByIndex(webDriver.FindElement(location), 1);
     PageInteractionHelper.WaitForPageToLoad();
     return(new ClassroomAndEmployerDeliveryOptionPage(webDriver));
 }
 public ClassroomAndEmployerDeliveryOptionPage EnterRadius(string radius)
 {
     FormCompletionHelper.EnterText(webDriver.FindElement(Radius), radius);
     PageInteractionHelper.WaitForPageToLoad();
     return(new ClassroomAndEmployerDeliveryOptionPage(webDriver));
 }
コード例 #12
0
 public AddVenueConfirmAddressPage(IWebDriver webDriver) : base(webDriver)
 {
     PageInteractionHelper.WaitForPageToLoad();
     SelfVerify();
 }
コード例 #13
0
 public override bool Verify()
 {
     return(PageInteractionHelper.VerifyPageHeading(Heading.Text, PageTitle));
 }
コード例 #14
0
 public AppPublishedPage ClickPublish()
 {
     FormCompletionHelper.ClickElement(publishBtn);
     PageInteractionHelper.WaitForPageToLoad();
     return(new AppPublishedPage(webDriver));
 }
コード例 #15
0
 internal void ValidateLengthMessage(string errMessage)
 {
     PageInteractionHelper.VerifyText(InvLengthMessage, errMessage);
 }
 internal void ClickAddNewVenueLink()
 {
     FormCompletionHelper.ClickElement(AddNewVenueLink);
     PageInteractionHelper.WaitForPageToLoad();
 }
コード例 #17
0
 internal void ValidateErrorMessage(string errMessage)
 {
     PageInteractionHelper.VerifyText(CourseNameErrMessage, errMessage);
 }
 internal void SaveData()
 {
     FormCompletionHelper.ClickElement(Save);
     PageInteractionHelper.WaitForPageToLoad();
 }
コード例 #19
0
 internal void ClickQual()
 {
     PageInteractionHelper.OpenAccordians(QualChevron);
 }
 internal void CheckEditLink()
 {
     //PageInteractionHelper.VerifyText(webDriver.FindElement(By.XPath(VENUE_DATA)).Text, "Edit");
     PageInteractionHelper.IsElementPresent(EditLink);
 }
コード例 #21
0
 internal void EditCourseRun()
 {
     PageInteractionHelper.WaitForPageToLoad();
     FormCompletionHelper.ClickElement(CourseRunEditLink);
     PageInteractionHelper.WaitForPageToLoad();
 }
 public void CheckAddVenueButton()
 {
     PageInteractionHelper.VerifyElementPresent(By.XPath(ADD_VENUE_BUTTON));
 }
 //Assertions
 public bool VerifyNumberOfPLacementsIsVisibile()
 {
     return(PageInteractionHelper.IsElementDisplayed(PlacementsField));
 }
 internal void VenueAddedBanner()
 {
     PageInteractionHelper.IsElementDisplayed(venueBanner);
 }
コード例 #25
0
 public NationalProviderCapabilityPage clickNo()
 {
     FormCompletionHelper.ClickElement(No);
     PageInteractionHelper.WaitForPageToLoad();
     return(new NationalProviderCapabilityPage(webDriver));
 }
 internal void VenueAdded(string venueName)
 {
     PageInteractionHelper.IsElementDisplayed(firstRecord);
     FormCompletionHelper.VerifyText(firstRecord, venueName);
 }
コード例 #27
0
 public NationalProviderCapabilityPage ContinueError()
 {
     FormCompletionHelper.ClickElement(ContinueBtn);
     PageInteractionHelper.WaitForPageToLoad();
     return(new NationalProviderCapabilityPage(webDriver));
 }
 internal void VenueEdited(string venueName)
 {
     PageInteractionHelper.IsElementDisplayed(firstVenue);
     FormCompletionHelper.VerifyText(firstVenue, venueName);
 }
コード例 #29
0
 public EmployerBasedDeliveryPage ContinueNo()
 {
     FormCompletionHelper.ClickElement(ContinueBtn);
     PageInteractionHelper.WaitForPageToLoad();
     return(new EmployerBasedDeliveryPage(webDriver));
 }
 public bool VerifyOrganisationNameHasValue()
 {
     return(PageInteractionHelper.VerifyHasValue(_organisationName));
 }