//Class constructor public SinglePaymentSteps() { //Create all the page objects required by the test theDashboardPage = new DashboardPage(Driver.driver); theNewOrExistingInvestorPage = new NewOrExistingInvestorPage(Driver.driver); theNewInvestorDetailsPage = new NewInvestorDetailsPage(Driver.driver); theInvestorNationalityPage = new InvestorNationalityPage(Driver.driver); theInvestmentFundsPage = new InvestmentFundsPage(Driver.driver); theSingleChargePage = new SingleSetupChargePage(Driver.driver); theSinglePaymentPage = new SinglePaymentPage(Driver.driver); theOngoingChargePage = new OngoingChargePage(Driver.driver); theCVIInvestorPage = new CVIInvestorPage(Driver.driver); theCVIInvestor2Page = new CVIInvestor2ndPage(Driver.driver); theAdviserDeclarationPage = new AdviserDeclarationPage(Driver.driver); theInvestorDeclarationChoicePage = new InvestorDeclarationChoicePage(Driver.driver); theApplicationSummaryPage = new ApplicationSummaryPage(Driver.driver); theNextStepsPage = new NextStepsPage(Driver.driver); }