Search in sources :

Example 31 with AppLauncher

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

the class ViewReportCategoriesTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@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 32 with AppLauncher

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

the class ViewReportsTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@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 33 with AppLauncher

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

the class RESTAPITestHelper method navigateToJsonAjaxPageAsLoanOfficer.

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

Example 34 with AppLauncher

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

the class SearchAccountTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod(alwaysRun = true)
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 35 with AppLauncher

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

the class SearchCustomerTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    appLauncher = new AppLauncher(selenium);
    initRemote.dataLoadAndCacheRefresh(dbUnitUtilities, "acceptance_small_001_dbunit.xml", dataSource, selenium);
}
Also used : AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) 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