// [FindsBy(How = How.XPath, Using = "/html/body/div[1]/div/div/div/main/section[2]/form/fieldset/button")] // private IWebElement _continueButtonXPath; public void FillOutYourBusinessPage(int howLongVal, string setAnnualTurnover, string fundingPurpose, string businessCustomers) { HowLongTrading.SetTradingTime(howLongVal); AnnualTurnover.setAnnualTurnover(setAnnualTurnover); NeedForFinance.SelectFundingPurpose(fundingPurpose); BusinessCustomers.SetBusinessCustomer(businessCustomers); _continueButton.Click(); }
public void FillOutYourBusinessPage(string legalEntity, string companyPostcode, int howLongVal, string setAnnualTurnover, string fundingPurpose, string businessCustomers) { LegalEntity.SetLegalEntity(legalEntity); CompanyAddress.EnterAutoAddress(companyPostcode); HowLongTrading.SetTradingTime(howLongVal); NeedForFinance.SelectFundingPurpose(fundingPurpose); AnnualTurnover.setAnnualTurnover(setAnnualTurnover); BusinessCustomers.SetBusinessCustomer(businessCustomers); _continueButton.Click(); }