public void PayeSchemeRemoved() { PayeSchemesPage payeschemespage = new PayeSchemesPage(Driver); string payeremoved = payeschemespage.PayeSchemeRemoved.Text; payeremoved.Contains("You've removed"); }
public void AddPayeScheme(string companyNumber) { ViewAccount(); AccountHomePage accounthomepage = new AccountHomePage(Driver); accounthomepage.PAYELink.Click(); PayeSchemesPage payeschemespage = new PayeSchemesPage(Driver); payeschemespage.AddPayeButton.Click(); payeschemespage.AddPayeDraft.Click(); payeschemespage.ContinuePaye.Click(); HMRCLoginPage hmrcpage = new HMRCLoginPage(Driver); LoginHmrcCredentials(); GrantAuthority(); //LoadTempPage(); HMRCResponsePage hmrcresponsepage = new HMRCResponsePage(Driver); hmrcresponsepage.AuthoriseButton.Click(); PayeSchemesPage payeschemepage = new PayeSchemesPage(Driver); payeschemepage.ChooseExistingCompany.Click(); hmrcresponsepage.AuthoriseButton.Click(); hmrcresponsepage.AuthoriseButton.Click(); //HMRCResponsePage hmrcresponsepage = new HMRCResponsePage(Driver); }
public void PayeSchemeAdded() { PayeSchemesPage payeschemepage = new PayeSchemesPage(Driver); string payeadded = payeschemepage.PayeSchemeRemoved.Text; payeadded.Contains("has been added to your account"); }
public void ViewExistingPayeSchemes() { ViewAccount(); AccountHomePage accounthomepage = new AccountHomePage(Driver); accounthomepage.PAYELink.Click(); PayeSchemesPage payeschemespage = new PayeSchemesPage(Driver); string existingpayeeschemes = payeschemespage.ListOfPaye.Text; existingpayeeschemes.Contains("111/AA00001 OPTISOURCE TECHNOLOGY SOLUTIONS LIMITED"); }
public void RemovePayeScheme() { ViewAccount(); AccountHomePage accounthomepage = new AccountHomePage(Driver); accounthomepage.PAYELink.Click(); PayeSchemesPage payeschemespage = new PayeSchemesPage(Driver); payeschemespage.RemoveScheme.Click(); payeschemespage.ConfirmRemoval.Click(); payeschemespage.ContinueRemoval.Click(); }