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;
}
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;
}
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;
}
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;
}
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();
}
Aggregations