Search in sources :

Example 21 with AppLauncher

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

the class RESTAPITestHelper method navigateToJsonAjaxPage.

public void navigateToJsonAjaxPage() {
    LoginPage loginPage = new AppLauncher(selenium).launchMifos();
    loginPage.loginSuccessfullyUsingDefaultCredentials();
    selenium.open("jsonAjax.ftl");
}
Also used : AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) LoginPage(org.mifos.test.acceptance.framework.login.LoginPage)

Example 22 with AppLauncher

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

the class FundTest method setUp.

@Override
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    appLauncher = new AppLauncher(selenium);
}
Also used : AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 23 with AppLauncher

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

the class ViewOfficeHierarchyTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    appLauncher = new AppLauncher(selenium);
}
Also used : AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 24 with AppLauncher

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

the class ViewOrganizationSettingsTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    appLauncher = new AppLauncher(selenium);
    applicationDatabaseOperation.updateGLIM(0);
    applicationDatabaseOperation.updateLSIM(0);
}
Also used : AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 25 with AppLauncher

use of org.mifos.test.acceptance.framework.AppLauncher 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);
}
Also used : GroupTestHelper(org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper) ClientTestHelper(org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper) NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) CenterTestHelper(org.mifos.test.acceptance.framework.testhelpers.CenterTestHelper) DateTimeUpdaterRemoteTestingService(org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService) AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) HolidayTestHelper(org.mifos.test.acceptance.framework.testhelpers.HolidayTestHelper) LoanTestHelper(org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

AppLauncher (org.mifos.test.acceptance.framework.AppLauncher)35 BeforeMethod (org.testng.annotations.BeforeMethod)22 LoginPage (org.mifos.test.acceptance.framework.login.LoginPage)13 HomePage (org.mifos.test.acceptance.framework.HomePage)10 DateTimeUpdaterRemoteTestingService (org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService)5 LoanTestHelper (org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper)4 NavigationHelper (org.mifos.test.acceptance.framework.testhelpers.NavigationHelper)4 DateTime (org.joda.time.DateTime)2 ClientsAndAccountsHomepage (org.mifos.test.acceptance.framework.ClientsAndAccountsHomepage)2 MifosPage (org.mifos.test.acceptance.framework.MifosPage)2 AdminPage (org.mifos.test.acceptance.framework.admin.AdminPage)2 ClientTestHelper (org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper)2 GroupTestHelper (org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper)2 HolidayTestHelper (org.mifos.test.acceptance.framework.testhelpers.HolidayTestHelper)2 QuestionGroupTestHelper (org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper)2 CreateUserParameters (org.mifos.test.acceptance.framework.user.CreateUserParameters)2 Random (java.util.Random)1 ClientSearchResultsPage (org.mifos.test.acceptance.framework.client.ClientSearchResultsPage)1 QuestionGroup (org.mifos.test.acceptance.framework.client.QuestionGroup)1 RedoLoanDisbursalSearchResultsPage (org.mifos.test.acceptance.framework.loan.RedoLoanDisbursalSearchResultsPage)1