use of org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper in project head by mifos.
the class AddFamilyDetailsTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
propertiesHelper = new CustomPropertiesHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
propertiesHelper.setAreFamilyDetailsRequired(true);
}
use of org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper in project head by mifos.
the class QuestionGroupSavingsAccountTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
savingsAccountHelper = new SavingsAccountHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
}
use of org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper in project head by mifos.
the class PPITest method setUp.
@Override
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
DateTime targetTime = new DateTime(2009, 11, 7, 10, 0, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
}
use of org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper in project head by mifos.
the class GuarantyCoreTest method setUp.
@Override
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
loanTestHelper = new LoanTestHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
customPropertiesHelper = new CustomPropertiesHelper(selenium);
customPropertiesHelper.setNewGroupLoanWithMembers(true);
}
use of org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper 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);
}
Aggregations