Search in sources :

Example 6 with HomePage

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

the class NavigationHelper method navigateToHomePage.

public HomePage navigateToHomePage() {
    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) AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) LoginPage(org.mifos.test.acceptance.framework.login.LoginPage)

Example 7 with HomePage

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

the class NavigationHelper method navigateToHomePageAsLogedUser.

public HomePage navigateToHomePageAsLogedUser(String userName, String password) {
    LoginPage loginPage = new AppLauncher(selenium).launchMifos();
    loginPage.verifyPage();
    HomePage homePage = loginPage.loginSuccessfulAs(userName, password);
    homePage.verifyPage();
    return homePage;
}
Also used : HomePage(org.mifos.test.acceptance.framework.HomePage) AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) LoginPage(org.mifos.test.acceptance.framework.login.LoginPage)

Example 8 with HomePage

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

the class NavigationHelper method navigateToAdminPage.

public AdminPage navigateToAdminPage() {
    HomePage homePage = navigateToHomePage();
    AdminPage adminPage = homePage.navigateToAdminPage();
    adminPage.verifyPage();
    return adminPage;
}
Also used : HomePage(org.mifos.test.acceptance.framework.HomePage) AdminPage(org.mifos.test.acceptance.framework.admin.AdminPage)

Example 9 with HomePage

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

the class NavigationHelper method navigateToCenterViewDetailsPage.

public CenterViewDetailsPage navigateToCenterViewDetailsPage(String centerName) {
    HomePage homePage = navigateToHomePage();
    SearchResultsPage searchResultsPage = homePage.search(centerName);
    searchResultsPage.verifyPage();
    CenterViewDetailsPage centerDetailsPage = searchResultsPage.navigateToCenterViewDetailsPage("link=" + centerName + "*");
    centerDetailsPage.verifyPage();
    return centerDetailsPage;
}
Also used : SearchResultsPage(org.mifos.test.acceptance.framework.search.SearchResultsPage) HomePage(org.mifos.test.acceptance.framework.HomePage) CenterViewDetailsPage(org.mifos.test.acceptance.framework.center.CenterViewDetailsPage)

Example 10 with HomePage

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

the class ViewClosedAccountsTest method navigateToGroupDetailsFromClosedAccounts.

@SuppressWarnings("PMD.SignatureDeclareThrowsException")
public void navigateToGroupDetailsFromClosedAccounts() throws Exception {
    LoginPage loginPage = appLauncher.launchMifos();
    HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
    homePage.verifyPage();
    SearchResultsPage searchResultsPage = homePage.search("groupWithoutLoan ");
    searchResultsPage.verifyPage();
    GroupViewDetailsPage groupViewDetailsPage = searchResultsPage.navigateToGroupViewDetailsPage("link=groupWithoutLoan*");
    ClosedAccountsPage closedAccountsPage = groupViewDetailsPage.navigateToClosedAccountsPage();
    closedAccountsPage.verifyPage();
    closedAccountsPage.returnToGroupViewDetailsPage();
}
Also used : SearchResultsPage(org.mifos.test.acceptance.framework.search.SearchResultsPage) HomePage(org.mifos.test.acceptance.framework.HomePage) GroupViewDetailsPage(org.mifos.test.acceptance.framework.group.GroupViewDetailsPage) ClosedAccountsPage(org.mifos.test.acceptance.framework.loan.ClosedAccountsPage) LoginPage(org.mifos.test.acceptance.framework.login.LoginPage)

Aggregations

HomePage (org.mifos.test.acceptance.framework.HomePage)42 LoginPage (org.mifos.test.acceptance.framework.login.LoginPage)20 SearchResultsPage (org.mifos.test.acceptance.framework.search.SearchResultsPage)14 AppLauncher (org.mifos.test.acceptance.framework.AppLauncher)10 AdminPage (org.mifos.test.acceptance.framework.admin.AdminPage)10 ClientsAndAccountsHomepage (org.mifos.test.acceptance.framework.ClientsAndAccountsHomepage)6 Test (org.testng.annotations.Test)6 MifosPage (org.mifos.test.acceptance.framework.MifosPage)4 ClientSearchResultsPage (org.mifos.test.acceptance.framework.client.ClientSearchResultsPage)4 ClientViewDetailsPage (org.mifos.test.acceptance.framework.client.ClientViewDetailsPage)3 SubmitFormParameters (org.mifos.test.acceptance.framework.collectionsheet.CollectionSheetEntrySelectPage.SubmitFormParameters)3 ClosedAccountsPage (org.mifos.test.acceptance.framework.loan.ClosedAccountsPage)3 CreateUserParameters (org.mifos.test.acceptance.framework.user.CreateUserParameters)3 DateTime (org.joda.time.DateTime)2 CenterViewDetailsPage (org.mifos.test.acceptance.framework.center.CenterViewDetailsPage)2 CreateClientEnterPersonalDataPage (org.mifos.test.acceptance.framework.client.CreateClientEnterPersonalDataPage)2 CollectionSheetEntryConfirmationPage (org.mifos.test.acceptance.framework.collectionsheet.CollectionSheetEntryConfirmationPage)2 CollectionSheetEntryEnterDataPage (org.mifos.test.acceptance.framework.collectionsheet.CollectionSheetEntryEnterDataPage)2 CollectionSheetEntrySelectPage (org.mifos.test.acceptance.framework.collectionsheet.CollectionSheetEntrySelectPage)2 CustomerChangeStatusPage (org.mifos.test.acceptance.framework.customer.CustomerChangeStatusPage)2