public void MeetInOffice(IWebDriver driver, HRBlock.CTF.UI.Web.IWait wait, UrlString url) { url.Name = "https://hrbcomlnp.hrblock.com/tax-offices/office-tax-preparation/"; var pom = driver.Pom <HelpMeChooseToolPOM>(); driver.GoToUrl(); driver.Action.Click(pom.HelpMeChoose); driver.Action.Click(pom.ProDoesAll); driver.Action.Click(pom.ContinueBtn); driver.Action.Click(pom.MeetInPerson); driver.Action.Click(pom.HowMuchHelpContinueBtn); wait.UntilVisible(pom.ValidateButton); driver.Action.GetUrl().Expect.String.Equals(url.Name); }
public void PremiumAndBusinessTaxSoftware(IWebDriver driver, HRBlock.CTF.UI.Web.IWait wait, UrlString url) { var pom = driver.Pom <TaxSoftwarePOM>(); driver.GoToUrl(); url.Name = "https://hrbcomlnp.hrblock.com/tax-software/premium-small-business-tax-software/"; driver.Action.Click(pom.HelpMeChoose); driver.Action.Click(pom.OwnABusiness); driver.Action.Click(pom.ContinueBtn); wait.UntilVisible(pom.ValidateButton); driver.Action.GetUrl().Expect.String.Equals(url.Name); }
public void SelfEmployedAssist(IWebDriver driver, HRBlock.CTF.UI.Web.IWait wait, UrlString url) { var pom = driver.Pom <HelpMeChooseToolPOM>(); driver.GoToUrl(); url.Name = "https://hrbcomlnp.hrblock.com/online-tax-filing/self-employed-online-assist-tax-filing/"; driver.Action.Click(pom.HelpMeChoose); driver.Action.Click(pom.HelpFromPro); driver.Action.Click(pom.ContinueBtn); driver.Action.Click(pom.SelfEmployed); driver.Action.Click(pom.EmploymentStatusContinueBtn); driver.Action.Click(pom.YesBusinessExpense); driver.Action.Click(pom.BusinessExpenseContinueBtn); wait.UntilVisible(pom.ValidateButton); driver.Action.GetUrl().Expect.String.Equals(url.Name); }
public void PremiumOnlineAssist(IWebDriver driver, HRBlock.CTF.UI.Web.IWait wait, UrlString url) { var pom = driver.Pom <HelpMeChooseToolPOM>(); driver.GoToUrl(); url.Name = "https://hrbcomlnp.hrblock.com/online-tax-filing/premium-online-assist-tax-filing/"; driver.Action.Click(pom.HelpMeChoose); driver.Action.Click(pom.MeetInPerson); driver.Action.Click(pom.ContinueBtn); driver.Action.Click(pom.Student); driver.Action.Click(pom.EmploymentStatusContinueBtn); driver.Action.Click(pom.YesEarnedIncome); driver.Action.Click(pom.EarnedIncomeContinueBtn); wait.UntilVisible(pom.ValidateButton); driver.Action.GetUrl().Expect.String.Equals(url.Name); }
public void DeluxeWithState(IWebDriver driver, HRBlock.CTF.UI.Web.IWait wait, UrlString url) { var pom = driver.Pom <TaxSoftwarePOM>(); url.Name = "https://hrbcomlnp.hrblock.com/tax-software/deluxe-tax-software/"; driver.GoToUrl(); driver.Action.Click(pom.HelpMeChoose); driver.Action.Click(pom.Retired); driver.Action.Click(pom.ContinueBtn); driver.Action.Click(pom.YesItemizedDeductions); driver.Action.Click(pom.ItemizedDeductionsContinueBtn); driver.Action.Click(pom.YesFileStateTaxes); driver.Action.Click(pom.FileStateTaxesContinueBtn); wait.UntilVisible(pom.ValidateButton); driver.Action.GetUrl().Expect.String.Equals(url.Name); }
public void FileWithTaxProVirtually(IWebDriver driver, HRBlock.CTF.UI.Web.IWait wait, UrlString url) { url.Name = "https://hrbcomlnp.hrblock.com/tax-offices/virtual-tax-preparation/"; var pom = driver.Pom <HelpMeChooseToolPOM>(); driver.GoToUrl(); driver.Action.Click(pom.HelpMeChoose); driver.Action.Click(pom.ProDoesAll); driver.Action.Click(pom.ContinueBtn); wait.UntilVisible(pom.MeetVirtually, 8, 1000); driver.Action.Click(pom.MeetVirtually); driver.Action.Click(pom.HowMuchHelpContinueBtn); driver.Action.Click(pom.IWantToSendInDocs); driver.Action.Click(pom.SendDocsContinueBtn); wait.UntilVisible(pom.ValidateButton); driver.Action.GetUrl().Expect.String.Equals(url.Name); }
//[DependsOn(typeof(HelpMeChoose), nameof(MeetInOffice))] public void FreeOnline(IWebDriver driver, HRBlock.CTF.UI.Web.IWait wait, UrlString url) { var pom = driver.Pom <HelpMeChooseToolPOM>(); url.Name = "https://hrbcomlnp.hrblock.com/online-tax-filing/free-online-tax-filing/"; driver.GoToUrl(); driver.Action.Click(pom.HelpMeChoose); wait.UntilVisible(pom.DoOwnTaxes); driver.Action.Click(pom.DoOwnTaxes); driver.Action.Click(pom.ContinueBtn); driver.Action.Click(pom.Student); driver.Action.Click(pom.HelpContinueBtn); driver.Action.Click(pom.NoEarnedIncome); driver.Action.Click(pom.EarnedIncomeContinueBtn); driver.Action.Click(pom.NoHSA); driver.Action.Click(pom.HSAContinueBtn); wait.UntilVisible(pom.ValidateButton); driver.Action.GetUrl().Expect.String.Equals(url.Name); }
public void FileWithTaxProDropOff(IWebDriver driver, HRBlock.CTF.UI.Web.IWait wait, UrlString url) { var pom = driver.Pom <HelpMeChooseToolPOM>(); driver.GoToUrl(); url.Name = "https://hrbcomlnp.hrblock.com/tax-offices/drop-off/"; driver.Action.Click(pom.HelpMeChoose); driver.Action.Click(pom.ProDoesAll); driver.Action.Click(pom.ContinueBtn); driver.Action.Click(pom.MeetVirtually); driver.Action.Click(pom.HowMuchHelpContinueBtn); driver.Action.Click(pom.BringToLocalOffice); driver.Action.Click(pom.SendDocsContinueBtn); wait.UntilVisible(pom.ValidateButton); driver.Action.GetUrl().Expect.String.Equals(url.Name); }
public void DeluxeOnlineFreelanceWorker(IWebDriver driver, HRBlock.CTF.UI.Web.IWait wait, UrlString url) { var pom = driver.Pom <HelpMeChooseToolPOM>(); url.Name = "https://hrbcomlnp.hrblock.com/online-tax-filing/deluxe-online-tax-filing/"; driver.GoToUrl(); driver.Action.Click(pom.HelpMeChoose); driver.Action.Click(pom.DoOwnTaxes); driver.Action.Click(pom.ContinueBtn); driver.Action.Click(pom.ContractAndFreelance); driver.Action.Click(pom.EmploymentStatusContinueBtn); driver.Action.Click(pom.NoEarnedIncome); driver.Action.Click(pom.EarnedIncomeContinueBtn); wait.UntilVisible(pom.ValidateButton); driver.Action.GetUrl().Expect.String.Equals(url.Name); }