use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class NoDBUnitAdditionalHolidayTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
loanTestHelper = new LoanTestHelper(selenium);
navigationHelper = new NavigationHelper(selenium);
appLauncher = new AppLauncher(selenium);
}
use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class LoanTestHelper method navigateToLoanAccountPage.
public LoanAccountPage navigateToLoanAccountPage(CreateLoanAccountSearchParameters searchParams) {
String searchString = searchParams.getSearchString();
LoginPage loginPage = new AppLauncher(selenium).launchMifos().logout();
loginPage.verifyPage();
HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
homePage.verifyPage();
SearchResultsPage searchResultsPage = homePage.search(searchString);
return searchResultsPage.navigateToLoanAccountDetailPage(searchString);
}
use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class LoanTestHelper method navigateToCreateLoanAccountSearchPage.
private CreateLoanAccountSearchPage navigateToCreateLoanAccountSearchPage() {
LoginPage loginPage = new AppLauncher(selenium).launchMifos().logout();
loginPage.verifyPage();
HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
homePage.verifyPage();
ClientsAndAccountsHomepage clientsAndAccountsPage = homePage.navigateToClientsAndAccountsUsingHeaderTab();
return clientsAndAccountsPage.navigateToCreateLoanAccountUsingLeftMenu();
}
use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class QuestionGroupTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
officeHelper = new OfficeHelper(selenium);
appLauncher = new AppLauncher(selenium);
loanTestHelper = new LoanTestHelper(selenium);
questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
questionGroupInstancesOfClient = new HashMap<Integer, QuestionGroup>();
qgTitle1 = "QuestionGroup1";
qgTitle2 = "QuestionGroup2";
qgTitle3 = "QuestionGroup3";
qgTitle4 = "QuestionGroup4";
qTitle1 = "Question1";
qTitle2 = "Question2";
qTitle3 = "Question3";
qTitle4 = "Question4";
qTitle5 = "Question5";
QUESTIONS.put("TextQuestionTest", CreateQuestionParameters.TYPE_FREE_TEXT);
QUESTIONS.put("DateQuestionTest", CreateQuestionParameters.TYPE_DATE);
QUESTIONS.put("NumberQuestionTest", CreateQuestionParameters.TYPE_NUMBER);
QUESTIONS.put("MultiSelectQuestionTest", CreateQuestionParameters.TYPE_MULTI_SELECT);
QUESTIONS.put("SingleSelectQuestionTest", CreateQuestionParameters.TYPE_SINGLE_SELECT);
QUESTIONS.put("SmartSelectQuestionTest", CreateQuestionParameters.TYPE_SMART_SELECT);
}
use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class QuestionTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
appLauncher = new AppLauncher(selenium);
title = "Title " + System.currentTimeMillis();
types = Arrays.asList(FREE_TEXT, DATE, NUMBER, SINGLE_SELECT, MULTI_SELECT, "Smart Select");
createQuestionParameters = new CreateQuestionParameters();
adminPage = getAdminPage();
}
Aggregations