Search in sources :

Example 16 with QuestionGroupTestHelper

use of org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper in project head by mifos.

the class QuestionGroupLoanAccountTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
    super.setUp();
    questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
    loanTestHelper = new LoanTestHelper(selenium);
    loanProductTestHelper = new LoanProductTestHelper(selenium);
    DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
    DateTime targetTime = new DateTime(2011, 2, 24, 15, 0, 0, 0);
    dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
}
Also used : QuestionGroupTestHelper(org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper) LoanProductTestHelper(org.mifos.test.acceptance.loanproduct.LoanProductTestHelper) DateTimeUpdaterRemoteTestingService(org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService) LoanTestHelper(org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper) DateTime(org.joda.time.DateTime) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 17 with QuestionGroupTestHelper

use of org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper in project head by mifos.

the class PersonnelTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
    super.setUp();
    navigationHelper = new NavigationHelper(selenium);
    userHelper = new UserHelper(selenium);
    questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
}
Also used : QuestionGroupTestHelper(org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper) NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) UserHelper(org.mifos.test.acceptance.framework.testhelpers.UserHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

QuestionGroupTestHelper (org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper)17 BeforeMethod (org.testng.annotations.BeforeMethod)13 NavigationHelper (org.mifos.test.acceptance.framework.testhelpers.NavigationHelper)6 ClientTestHelper (org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper)5 LoanTestHelper (org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper)5 DateTime (org.joda.time.DateTime)4 DateTimeUpdaterRemoteTestingService (org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService)4 QuestionResponseParameters (org.mifos.test.acceptance.framework.loan.QuestionResponseParameters)3 QuestionResponsePage (org.mifos.test.acceptance.framework.questionnaire.QuestionResponsePage)3 GroupTestHelper (org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper)3 SavingsAccountHelper (org.mifos.test.acceptance.framework.testhelpers.SavingsAccountHelper)3 Test (org.testng.annotations.Test)3 ArrayList (java.util.ArrayList)2 Random (java.util.Random)2 FeeTestHelper (org.mifos.test.acceptance.admin.FeeTestHelper)2 AppLauncher (org.mifos.test.acceptance.framework.AppLauncher)2 CreateGroupSubmitParameters (org.mifos.test.acceptance.framework.group.CreateGroupEntryPage.CreateGroupSubmitParameters)2 GroupViewDetailsPage (org.mifos.test.acceptance.framework.group.GroupViewDetailsPage)2 CreateQuestionParameters (org.mifos.test.acceptance.framework.questionnaire.CreateQuestionParameters)2 ViewQuestionResponseDetailPage (org.mifos.test.acceptance.framework.questionnaire.ViewQuestionResponseDetailPage)2