use of org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper in project head by mifos.
the class GroupTest method setUp.
@Override
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
appLauncher = new AppLauncher(selenium);
navigationHelper = new NavigationHelper(selenium);
random = new Random();
groupTestHelper = new GroupTestHelper(selenium);
questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
}
use of org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper in project head by mifos.
the class CenterMeetingTest method prepareGroupForTest.
private void prepareGroupForTest() {
GroupTestHelper groupHelper = new GroupTestHelper(selenium);
CreateGroupEntryPage.CreateGroupSubmitParameters groupParams = new CreateGroupEntryPage.CreateGroupSubmitParameters();
groupName = StringUtil.getRandomString(8);
groupParams.setGroupName(groupName);
groupParams.setRecruitedBy(firstName + " " + lastName);
groupHelper.createNewGroup(centerName, groupParams);
groupHelper.activateGroup(groupName);
new NavigationHelper(selenium).navigateToHomePage();
}
use of org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper in project head by mifos.
the class CenterTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
centerTestHelper = new CenterTestHelper(selenium);
questionTestHelper = new QuestionGroupTestHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
groupTestHelper = new GroupTestHelper(selenium);
new InitializeApplicationRemoteTestingService().reinitializeApplication(selenium);
}
use of org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper in project head by mifos.
the class ClientTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
navigationHelper = new NavigationHelper(selenium);
propertiesHelper = new CustomPropertiesHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
groupTestHelper = new GroupTestHelper(selenium);
savingsAccountHelper = new SavingsAccountHelper(selenium);
savingsProductHelper = new SavingsProductHelper(selenium);
DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
targetTime = new DateTime(2009, 7, 11, 12, 0, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
TestDataSetup dataSetup = new TestDataSetup(selenium, applicationDatabaseOperation);
feeTestHelper = new FeeTestHelper(dataSetup, navigationHelper);
loanTestHelper = new LoanTestHelper(selenium);
}
use of org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper in project head by mifos.
the class AdditionalHolidayTest 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);
appLauncher = new AppLauncher(selenium);
holidayTestHelper = new HolidayTestHelper(selenium);
centerTestHelper = new CenterTestHelper(selenium);
groupTestHelper = new GroupTestHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
loanTestHelper = new LoanTestHelper(selenium);
navigationHelper = new NavigationHelper(selenium);
}
Aggregations