public void CustomerNormineeName() { NormineeNameElement.SendKeys(_name); RelationshipNameElement.SendKeys(_relationship); LiveThereElement.SendKeys(_timeAtAddress); GenericObjects.GoToNextPage(); }
public void AdminCanLocateAdvisorPayement() { var selectByText = "No"; Browser.SelectWithVisibleText(DropDownListElements, selectByText); GenericObjects.GoToNextPage(); }
public void AdminCanSelectStandingOrder() { var selectByText = "Standing Order"; Browser.SelectWithVisibleText(StandingOrderElement, selectByText); GenericObjects.GoToNextPage(); }
public void InputFurtherMessage(string message) { RequiredInfo.SendKeys(message); GenericObjects.GoToNextPage(); Browser.Wait(TimeSpan.FromSeconds(3)); Browser.CloseOtherWindows("Tenancy Enforcement - Start Dialog"); }
public void BalanceTransferAndMissingPayment() { var selectByText = "Balance Transfers or Missing Payment"; Browser.SelectWithVisibleText(DropDownListElements, selectByText); GenericObjects.GoToNextPage(); }
/// <summary> /// Method overloading. This function is for regression test only /// </summary> /// <param name="sharingRightName"></param> /// <param name="relation"></param> /// <param name="time"></param> public void CustomerNormineeName(string sharingRightName, string relationship, string time) { NormineeNameElement.SendKeys(sharingRightName); RelationshipNameElement.SendKeys(relationship); LiveThereElement.SendKeys(time); GenericObjects.GoToNextPage(); }
public void SwitchBackToTenancyEnforcementWindow(string refNUmber) { Browser.SwitchToNewWindow(); CustomerSharingElement.SendKeys(refNUmber); Browser.SelectWithVisibleText(SafeGuardElement, saguardOption); GenericObjects.GoToNextPage(); }
public void SelectAmendFromTheList() { var amend = "Amend"; Browser.SelectWithVisibleText(DropDownListElements, amend); GenericObjects.GoToNextPage(); }
public void ApplicationForm() { var appForm = "Application Form"; Browser.SelectWithVisibleText(DropDownListElements, appForm); GenericObjects.GoToNextPage(); }
public void PostOfficeOption() { var selectPost = "No - send by post"; Browser.SelectWithVisibleText(PostageElement, selectPost); GenericObjects.GoToNextPage(); }
public void DirectDebitFroTheList() { var directDebit = "Direct Debit"; Browser.SelectWithVisibleText(DropDownListElements, directDebit); GenericObjects.GoToNextPage(); }
public void VoluntarySale() { var voluntarySale = "Voluntary Sale"; Browser.SelectWithVisibleText(VolElement, voluntarySale); GenericObjects.GoToNextPage(); }
public void SelectApplicationChoosenArea() { var option = "No"; Browser.SelectWithVisibleText(OptionElements, option); GenericObjects.GoToNextPage(); }
public void SharingRight() { var yes = "Yes"; Browser.SelectWithVisibleText(CustomerSharingElement, yes); GenericObjects.GoToNextPage(); }
public void SelectContactTypeFromTheOption() { GenericObjects.GoToNextPage(); var newRepair = "New Repair"; Browser.SelectWithVisibleText(NewRepairElement, newRepair); GenericObjects.GoToNextPage(); }
/// <summary> /// Part of regrssion test /// </summary> public void FinishPaymentDialogWindow() { if (DialogTitle.AtDialogWindow) { GenericObjects.GoToNextPage(); CustomerAccountIspreselected(); GenericObjects.GoToNextPage(); DirectDebitFroTheList(); SelectAmendFromTheList(); PaymentAmountOptions(); CustomerServiceCanAdFurherInformation(CustomerInformation.CommentInput); GenericObjects.GoToNextPage(); Browser.CloseOtherWindows("Tenancy Exists"); } }
public void CustomerAmountAndDateOfPayment(string amount, string date) { PaymentElement.SendKeys(amount); DatePickerElement.Click(); foreach (var dateElement in DateElementsData) { if (dateElement.Text.Equals(date)) { dateElement.Click(); break; } } Browser.SelectWithVisibleText(RelationshipNameElement, receipt); GenericObjects.GoToNextPage(); }
public void FinishRightToBuyDialogWindow() { if (DialogTitle.AtDialogWindow) { GenericObjects.GoToNextPage(); SelectNewApplication(); VoluntarySale(); SocialBehaviour(); WarningMessage(CustomerInformation.EligibilityAdviced); SharingRight(); CustomerNormineeName(CustomerInformation.CustomerNorminee, CustomerInformation.Relative, CustomerInformation.TimeAtTheAddress); ApplicationForm(); PostOfficeOption(); InputAddtionalInformation(CustomerInformation.CommentInput); Browser.CloseOtherWindows("Right to Buy - Start Dialog"); } }
//public NeighbourhoodsDialogWindowPage AddRequiredInformationmWith(string v) //{ // return new NeighbourhoodsDialogWindowPage(v); //} public void MessageDisplayCorrectlyAndDialogWindowIsClosed() { var proptMessage = TGPLabel.BusinessEmail.ToString(); GenericObjects.GoToNextPage(); if (PropmptMessageWithEmail.Text != null) { var trueMessage = PropmptMessageWithEmail.Text.Contains(proptMessage); trueMessage = true; } else { string.IsNullOrEmpty(proptMessage); } LiveThereElement.SendKeys(CustomerInformation.CommentInput); Browser.CloseOtherWindows("My Property and Neighbourhood Start Dialog"); }
public void SelectLandLordRefrence() { GenericObjects.ClickNextButtonTwiceToGoToNextPage(); Browser.SelectWithVisibleText(DropDownListElements, optionList); GenericObjects.GoToNextPage(); }
public void CanGoToNextPage() { GenericObjects.GoToNextPage(); }
public void AddFurtherInformation(string comment) { DropDownListElements.SendKeys(comment); GenericObjects.GoToNextPage(); }
// this method is called when to select from the list private void SelectDesireOptionFromTheList(string title) { Browser.SelectWithVisibleText(DropDownListElements, title); GenericObjects.GoToNextPage(); }
public void SocialBehaviour() { RadioElement.Click(); GenericObjects.GoToNextPage(); }
public void CustomerServiceCanAdFurherInformation(string comment) { CommentBox.SendKeys(comment); GenericObjects.GoToNextPage(); }
public void CanClickNextButton() { GenericObjects.GoToNextPage(); }
public void StartDialogByClickNextButton() { GenericObjects.GoToNextPage(); }
public void SelectDomesticsAbuseFromTheList() { GenericObjects.GoToNextPage(); Browser.SelectWithVisibleText(DropDownListElements, domAbuse); GenericObjects.GoToNextPage(); }
public void CanGoToResolutionLink() { GenericObjects.GoToNextPage(); LinkToResolutionPage.Click(); }
public void SelectLandLordRequestForm() { Browser.SelectWithVisibleText(DropDownListElements, landLordRequest); GenericObjects.GoToNextPage(); }