Search in sources :

Example 26 with CreateQuestionParameters

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

the class QuestionTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    appLauncher = new AppLauncher(selenium);
    title = "Title " + System.currentTimeMillis();
    types = Arrays.asList(FREE_TEXT, DATE, NUMBER, SINGLE_SELECT, MULTI_SELECT, "Smart Select");
    createQuestionParameters = new CreateQuestionParameters();
    adminPage = getAdminPage();
}
Also used : CreateQuestionParameters(org.mifos.test.acceptance.framework.questionnaire.CreateQuestionParameters) AppLauncher(org.mifos.test.acceptance.framework.AppLauncher) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

CreateQuestionParameters (org.mifos.test.acceptance.framework.questionnaire.CreateQuestionParameters)26 ArrayList (java.util.ArrayList)13 QuestionResponseParameters (org.mifos.test.acceptance.framework.loan.QuestionResponseParameters)7 Test (org.testng.annotations.Test)7 QuestionResponsePage (org.mifos.test.acceptance.framework.questionnaire.QuestionResponsePage)6 HashMap (java.util.HashMap)5 CreateQuestionGroupParameters (org.mifos.test.acceptance.framework.questionnaire.CreateQuestionGroupParameters)4 CreateQuestionPage (org.mifos.test.acceptance.framework.questionnaire.CreateQuestionPage)4 AdminPage (org.mifos.test.acceptance.framework.admin.AdminPage)3 CreateLoanAccountSearchParameters (org.mifos.test.acceptance.framework.loan.CreateLoanAccountSearchParameters)3 LoanAccountPage (org.mifos.test.acceptance.framework.loan.LoanAccountPage)3 QuestionnairePage (org.mifos.test.acceptance.framework.questionnaire.QuestionnairePage)3 ViewQuestionResponseDetailPage (org.mifos.test.acceptance.framework.questionnaire.ViewQuestionResponseDetailPage)3 Choice (org.mifos.test.acceptance.framework.questionnaire.Choice)2 QuestionGroupTestHelper (org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper)2 DateTime (org.joda.time.DateTime)1 AppLauncher (org.mifos.test.acceptance.framework.AppLauncher)1 EditAccountStatusParameters (org.mifos.test.acceptance.framework.account.EditAccountStatusParameters)1 CenterViewDetailsPage (org.mifos.test.acceptance.framework.center.CenterViewDetailsPage)1 CreateCenterEnterDataPage (org.mifos.test.acceptance.framework.center.CreateCenterEnterDataPage)1