Search in sources :

Example 11 with AppLauncher

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

the class SavingsAccountHelper method navigateToCreateSavingsAccountSearchPage.

private CreateSavingsAccountSearchPage navigateToCreateSavingsAccountSearchPage() {
    LoginPage loginPage = new AppLauncher(selenium).launchMifos().logout();
    loginPage.verifyPage();
    HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
    homePage.verifyPage();
    ClientsAndAccountsHomepage clientsAndAccountsPage = homePage.navigateToClientsAndAccountsUsingHeaderTab();
    return clientsAndAccountsPage.navigateToCreateSavingsAccountUsingLeftMenu();
}
Also used : HomePage(org.mifos.test.acceptance.framework.HomePage) ClientsAndAccountsHomepage(org.mifos.test.acceptance.framework.ClientsAndAccountsHomepage) AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) LoginPage(org.mifos.test.acceptance.framework.login.LoginPage)

Example 12 with AppLauncher

use of org.mifos.test.acceptance.framework.AppLauncher 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);
}
Also used : QuestionGroupTestHelper(org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper) GroupTestHelper(org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper) QuestionGroupTestHelper(org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper) NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) Random(java.util.Random) AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 13 with AppLauncher

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

the class CreateGroupLoanAccountTest method loginSuccessfully.

private HomePage loginSuccessfully() {
    (new MifosPage(selenium)).logout();
    LoginPage loginPage = new AppLauncher(selenium).launchMifos();
    loginPage.verifyPage();
    HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
    homePage.verifyPage();
    return homePage;
}
Also used : HomePage(org.mifos.test.acceptance.framework.HomePage) MifosPage(org.mifos.test.acceptance.framework.MifosPage) AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) LoginPage(org.mifos.test.acceptance.framework.login.LoginPage)

Example 14 with AppLauncher

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

the class HolidayTest method setUp.

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

Example 15 with AppLauncher

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

the class ViewProductCategoriesTest 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)

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