public void ApplyMemberShip_For_Discovery() { RunStep(HomePage.GoToPage, "membership", "Goto MemeberShip Page"); RunStep(() => { AgreementsPage.GetMadatoryText().Should().NotBeNullOrEmpty(); AgreementsPage.VerifyLinks("E-Sign Agreement"); AgreementsPage.GetMadatoryText().Should().BeNullOrEmpty(); AgreementsPage.VerifyLinks("Membership Agreement"); }, "Verify Required E-sign Agreement", true, false); RunStep(AgreementsPage.GetStarted, "Click GetStarted Button"); RunStep(ProductsPage.Discovey, "Choose Account"); RunStep(ApplicantsPage.PopulateData, true, true, true, false, "Populate Fields On Applicants page"); RunStep(ReviewPage.Review, "ReviewPage"); RunStep(ReviewPage.CheckAllAndContinue, "Check All Checbox and Continue"); RunStep <string>(FundingPage.Payment, null, "Enter Payment Details"); RunStep(VerificationPage.AnswersForTheGivenQuestions, "Answer For Question"); RunStep(ConfirmationPage.VeriyfConfirmation, "Verify Confirmation Message"); }
public void ApplyMemberShip_For_Enrichment_Youth() { RunStep(HomePage.GoToPage, "membership", "Goto MemeberShip Page"); RunStep(() => { AgreementsPage.VerifyLinks("Terms And Conditions"); AgreementsPage.VerifyLinks("E-Sign Agreement"); AgreementsPage.VerifyLinks("Truth Insaving Certificates"); AgreementsPage.VerifyLinks("Truth Insaving Shares"); }, "Verify All HyperLinks are working", true, false); RunStep(AgreementsPage.GetStarted, "Click GetStarted Button"); RunStep(SelectionPage.SelectAccountType, "YOUTH", "Select Youth Account Type"); RunStep(ProductsPage.RandomSelection, "Choose Account"); RunStep(ApplicantsPage.PopulateData, false, false, true, true, "Populate Fields On Applicants page"); RunStep(ReviewPage.CheckAllAndContinue, "Check All Checbox and Continue"); RunStep <string>(FundingPage.Payment, null, "Enter Credit Card Details"); RunStep(VerificationPage.AnswersForTheGivenQuestions, "Answer For Question"); RunStep(ConfirmationPage.VeriyfConfirmation, "Verify Confirmation Message"); }