edu.sampleu.admin
Class ConfigComponentActionListAftBase

java.lang.Object
  extended by org.kuali.rice.testtools.selenium.AutomatedFunctionalTestBase
      extended by org.kuali.rice.testtools.selenium.JiraAwareAftBase
          extended by org.kuali.rice.testtools.selenium.WebDriverLegacyITBase
              extended by edu.sampleu.common.NavTemplateMethodAftBase
                  extended by edu.sampleu.admin.AdminTmplMthdAftNavBase
                      extended by edu.sampleu.admin.ConfigComponentAftBase
                          extended by edu.sampleu.admin.ConfigComponentActionListAftBase
All Implemented Interfaces:
JiraAwareFailable
Direct Known Subclasses:
ConfigComponentActionListBkMrkAft, ConfigComponentActionListLoadTestData, ConfigComponentActionListNavAft

public abstract class ConfigComponentActionListAftBase
extends ConfigComponentAftBase

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String BOOKMARK_URL
          ITUtil.PORTAL+"?channelTitle=Component&channelUrl="+WebDriverUtils.getBaseUrlString()+ "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.rice.coreservice.impl.component.ComponentBo&docFormKey=88888888&returnLocation="+ +ITUtil.PORTAL_URL+ ITUtil.HIDE_RETURN_LINK;
 
Fields inherited from class edu.sampleu.admin.AdminTmplMthdAftNavBase
ADMIN_LOCATOR, CREATE_NEW_LOCATOR, SPAN_CLASS_PAGEBANNER
 
Fields inherited from class org.kuali.rice.testtools.selenium.WebDriverLegacyITBase
ADMINISTRATION_LINK_TEXT, AGENDA_LOOKUP_LINK_TEXT, BACKDOOR_ID_TEXT, BACKDOOR_LOGIN_BUTTON_XPATH, BLANKET_APPROVE_NAME, CANCEL_NAME, CANCEL2_XPATH, CANCEL3_XPATH, CLOSE_WINDOW_XPATH_TITLE, COLLECTIONS_LINK_TEXT, CONFIGURATION_VIEW_WINDOW_TITLE, CONFIGURATION_VIEW_XPATH, COPY_LINK_TEXT, CREATE_NEW_DOCUMENT_NOT_SUBMITTED_SUCCESSFULLY_MESSAGE_TEXT, CREATE_NEW_XPATH, CREATE_NEW_XPATH2, DATA_TABLE_TH_CSS, DATA_TABLE_TR_CSS, DIV_LEFT_ERRMSG, DOC_CODE_XPATH, DOC_DESCRIPTION_XPATH, DOC_ID_XPATH, DOC_ID_XPATH_2, DOC_ID_XPATH_3, DOC_INITIATOR_XPATH, DOC_SEARCH_XPATH, DOC_SEARCH_XPATH_TITLE, DOC_STATUS_ENROUTE, DOC_STATUS_FINAL, DOC_STATUS_SAVED, DOC_STATUS_XPATH, DOC_STATUS_XPATH_2, DOC_SUBMIT_SUCCESS_MSG_XPATH, driver, EDIT_LINK_TEXT, FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH, IFRAMEPORTLET_NAME, jGrowlHeader, KITCHEN_SINK_XPATH, KRAD_XPATH, KUALI_COLLECTION_TOTALLING_WINDOW_XPATH, KUALI_COLLECTION_TOTALLING_XPATH, KUALI_UIF_COMPONENTS_WINDOW_XPATH, KUALI_VIEW_WINDOW_TITLE, LABEL_KUALI_DEFAULT, LABEL_KUALI_KUALI_SYSTEMS, LOGOUT_XPATH, MAIN_MENU_LINK_TEXT, namespaceCode, REGEX_ERROR, REGEX_VALID, RETURN_SELECTED_BUTTON_TEXT, RETURN_VALUE_LINK_TEXT, RICH_MESSAGES_WINDOW_TITLE, SAVE_SUCCESSFUL_XPATH, SAVE_XPATH, SAVE_XPATH_2, SAVE_XPATH_3, SEARCH, SEARCH_SECOND, SEARCH_XPATH, SEARCH_XPATH_2, SEARCH_XPATH_3, SUB_COLLECTION_UIF_DISCLOSURE_SPAN_UIF_HEADER_TEXT_SPAN_XPATH, SUBMIT_XPATH, testMethodName, testName, TIMEOUT_MESSAGE, TRAVEL_ACCOUNT_LOOKUP_LINK_TEXT, UIF_COMPONENTS_KITCHEN_SINK_LINK_TEXT, uiFramework, uniqueString, user, VALIDATION_FRAMEWORK_DEMO_XPATH, waitSeconds, XML_INGESTER_LINK_TEXT
 
Fields inherited from class org.kuali.rice.testtools.selenium.AutomatedFunctionalTestBase
shouldNavigate, testUrl
 
Constructor Summary
ConfigComponentActionListAftBase()
           
 
Method Summary
 void assertComponentSubmit_WithPersonRequest(String user, String action, String state)
           
protected  String getBookmarkUrl()
           
 void testActionListAcknowledgeGroup()
           
 void testActionListAcknowledgePerson_WithPendingAcknowledge()
          tests the Acknowledge ActionRequest.
 void testActionListAcknowledgePerson_WithPendingApprove()
          tests the Acknowledge ActionRequest.
 void testActionListAcknowledgePerson()
          tests the Acknowledge ActionRequest.
 void testActionListApproveGroup()
           
 void testActionListApprovePerson_WithPendingAcknowledge()
          tests the Approve ActionRequest.
 void testActionListApprovePerson_WithPendingApprove()
          tests the Approve ActionRequest.
 void testActionListApprovePerson()
          tests the Approve ActionRequest.
 void testActionListCancelPerson()
           
 void testActionListCompleteGroup()
           
 void testActionListCompletePerson_WithPendingAcknowledge()
           
 void testActionListCompletePerson()
          tests the complete ActionRequest.
 void testActionListDisapproveGroup()
           
 void testActionListDisapprovePerson()
          tests the ActionRequest.
 void testActionListFyiGroup()
           
 void testActionListFyiPerson()
          tests the FYI ActionRequest.
 void testComponentCancel_WithPendingPersonApprove()
           
 void testComponentRecallAndCancel_WithPendingPersonApprove()
           
 void testComponentRecallToActionList_WithPendingPersonApprove()
           
 void testComponentSave_WithPendingPersonApprove()
           
 void testComponentSubmit_WithPendingPersonAcknowledge()
           
 void testComponentSubmit_WithPendingPersonApprove()
           
 void testComponentSubmit_WithPendingPersonFyi()
           
 void testComponentSubmit()
           
protected  String testCreateActionRequestGroup(String user, String namespace, String actionType)
           
protected  String testCreateActionRequestPerson(String[][] userActions)
          Creates an Action Request in a users action list.
 
Methods inherited from class edu.sampleu.admin.ConfigComponentAftBase
createNewEnterDetails, getLinkLocator, recall, saveAndClose, saveAndReload, submit, submitAndClose
 
Methods inherited from class edu.sampleu.admin.AdminTmplMthdAftNavBase
getCreateNewLinkLocator, getMenuLinkLocator, testCreateNewCancelNav, testEditCancel, testSearchEditBack, testSearchSearchBack
 
Methods inherited from class edu.sampleu.common.NavTemplateMethodAftBase
gotoCreateNew, gotoMenuLinkLocator, navigate
 
Methods inherited from class org.kuali.rice.testtools.selenium.WebDriverLegacyITBase
acceptAlertIfPresent, addAdHocRecipientsGroup, addAdHocRecipientsGroup, addAdHocRecipientsPerson, addAdHocRecipientsPerson, agendaLookupAssertions, alertAccept, alertDismiss, areAllMultiValueSelectsChecked, areNoMultiValueSelectsChecked, assertActionList, assertAttributeClassRegexDoesntMatch, assertAttributeClassRegexMatches, assertBlanketApproveButtonsPresent, assertDocFinal, assertDocSearch, assertDocSearchNoResults, assertElementPresentInResultPages, assertElementsPresentInResultPages, assertFocusTypeBlurError, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertFocusTypeBlurValid, assertFocusTypeBlurValidation, assertJgrowlText, assertLabelFor, assertLabelWithTextPresent, assertMultiValueDeselectAllThisPage, assertMultiValueSelectAllThisPage, assertNotInActionList, assertOutbox, assertPopUpWindowUrl, assertTableLayout, assertTextPresent, assertTextPresent, back, blanketApproveCheck, blanketApproveTest, check, checkById, checkByName, checkByXpath, checkErrorMessageItem, checkForDocError, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, chromeDriverService, clearText, clearText, clearTextByName, clearTextByXpath, close, colapseExpandByXpath, configNameSpaceBlanketApprove, contextLookupAssertions, expandColapseByXpath, extractErrorText, findButtonByText, findElements, findElements, findVisibleElements, finishBlanketApprovalTest, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventById, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getBaseUrlString, getCssCount, getCssCount, getDateTimeStampFormatted, getDateToday, getDateTomorrow, getDescriptionBase, getDescriptionUnique, getDocStatus, getDriver, getElementByAttribute, getElementByAttributeValue, getElementByDataAttribute, getElementByDataAttributeValue, getElementsByAttributeValue, getForLabelText, getNavigationUrl, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByClassName, getTextById, getTextByName, getTextByXpath, getTitle, getUiFramework, getUserName, gotoIframeById, gotoIframeByXpath, gotoLightBox, gotoNestedFrame, hasDocError, hasDocError, howManyAreVisible, impersonateUser, incidentReportMessage, isChecked, isCheckedById, isCheckedByName, isCheckedByXpath, isElementPresent, isElementPresent, isElementPresentByDataAttributeValue, isElementPresentById, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isEnabled, isEnabledById, isEnabledByName, isEnabledByXpath, isKrad, isNextLinkEnabled, isNotVisible, isTextPresent, isVisible, jGrowl, jGrowlSticky, login, loginKrad, loginKradOrKns, logout, multiValueResultCount, noAffilication, open, performParameterInquiry, screenshot, screenshotSteps, select, selectByName, selectByXpath, selectChildWindow, selectFrame, selectFrameIframePortlet, selectParentWindow, selectTopFrame, selectWindow, setUiFramework, startSession, switchToWindow, tearDown, testAddingBrownGroup, testAddingNamespace, testAddingNamespace, testAttributeDefinitionLookUp, testCancelConfirmation, testCategoryLookUp, testConfigParamaterBlanketApprove, testConfigurationTestView, testCopyComponent, testCopyParameter, testCopyParameterType, testCreateDocType, testCreateNew, testCreateNewAgenda, testCreateNewCancel, testCreateNewParameter, testCreateNewParameterType, testCreateNewPermission, testCreateNewPerson, testCreateNewRRDTravelRequestDestRouting, testCreateNewSearchReturnValueCancelConfirmation, testCreateSampleEDocLite, testDisplayOnlyExternalHelp2, testDocTypeLookup, testEditComponent, testEditParameter, testEditParameterType, testEditPermission, testEditRouteRulesDelegation, testExternalHelp2, testFiscalOfficerInfoMaintenanceNew, testIdentityGroupBlanketApprove, testIdentityPermissionBlanketApprove, testIdentityPersonBlanketApprove, testIdentityResponsibilityBlanketApprove, testIdentityRoleBlanketApprove, testLocationCountryBlanketApprove, testLocationCountyBlanketApprove, testLocationPostBlanketApprove, testLocationStateBlanketApprove, testLookUp, testLookUpComponent, testLookUpParameter, testLookUpParameterType, testLookUpPermission, testLookUpPerson, testMissingExternalHelp2, testMultiValueSelectAllPages, testMultiValueSelectAllThisPage, testReferenceCampusTypeBlanketApprove, testSearchEditCancel, testServerErrorsIT, testServerInfoIT, testServerWarningsIT, testSetUp, testTermLookUp, testTermLookupAssertions, testTermSpecificationLookupAssertions, testValidCharsConstraintIT, testVerifyAddDeleteFiscalOfficerLegacy, testVerifyAddDeleteNoteLegacy, testVerifyAdHocRecipientsLegacy, testVerifyButtonsLegacy, testVerifyConstraintText, testVerifyCopyComponent, testVerifyCopyParameterType, testVerifyDisclosures, testVerifyDocumentOverviewLegacy, testVerifyEditedComponent, testVerifyExpandCollapse, testVerifyFieldsLegacy, testVerifyHeaderFieldsLegacy, testVerifyLookupAddMultipleLinesLegacy, testVerifyModifiedParameter, testVerifyNotesAndAttachments, testVerifyPermission, testVerifyPerson, testVerifyQuickfinderIconsLegacy, testVerifyRouteLog, testVerifySave, testVerifySubsidizedPercentWatermarkLegacy, testViewHelp2, testWorkFlowDocTypeBlanketApprove, testWorkFlowRouteRulesCreateNew, testWorkFlowRouteRulesEditRouteRules, uncheck, uncheckByName, uncheckByXpath, verifyRichMessagesValidationAdvancedFunctionality, verifyRichMessagesValidationBasicFunctionality, verifyRichMessagesValidationLettersNumbersValidation, verifyRichMessagesValidationLinkDeclarationsFunctionality, verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality, waitAndCancelConfirmation, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickActionList, waitAndClickAdministration, waitAndClickAllByName, waitAndClickButtonByExactText, waitAndClickButtonByExactText, waitAndClickButtonByText, waitAndClickButtonByText, waitAndClickById, waitAndClickById, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByValue, waitAndClickByXpath, waitAndClickByXpath, waitAndClickByXpath, waitAndClickCancel, waitAndClickCloseWindow, waitAndClickCopy, waitAndClickCreateNew, waitAndClickCreateNew, waitAndClickDocSearch, waitAndClickDocSearchTitle, waitAndClickDropDown, waitAndClickEdit, waitAndClickKRAD, waitAndClickLinkContainingText, waitAndClickLinkContainingText, waitAndClickLogout, waitAndClickLogout, waitAndClickMainMenu, waitAndClickReturnValue, waitAndClickReturnValue, waitAndClickSave, waitAndClickSearch, waitAndClickSearch2, waitAndClickSearch3, waitAndClickSearchSecond, waitAndClickSubmit, waitAndClickXMLIngester, waitAndCreateNew, waitAndCreateNew, waitAndGetAttribute, waitAndGetAttributeByName, waitAndGetAttributeByXpath, waitAndGetElementByAttributeValue, waitAndGetElementsByAttributeValue, waitAndGetText, waitAndSelectByName, waitAndType, waitAndType, waitAndTypeById, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitAreAnyVisible, waitFor, waitFor, waitForDocId, waitForDocInitiator, waitForDocStatus, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForElementPresent, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentById, waitForElementPresentById, waitForElementPresentById, waitForElementPresentByName, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementPresentByXpath, waitForElementsPresentByClassName, waitForElementsPresentById, waitForElementsPresentByXpath, waitForElementVisible, waitForElementVisibleBy, waitForElementVisibleById, waitForIsTextPresent, waitForPageToLoad, waitForTextNotPresent, waitForTextPresent, waitForTextPresent, waitForTitleToEqualKualiPortalIndex, waitForTitleToEqualKualiPortalIndex, waitIsVisible, waitIsVisible, waitIsVisible, waitIsVisibleByXpath, waitIsVisibleByXpath, waitNotVisible, waitNotVisibleByXpath
 
Methods inherited from class org.kuali.rice.testtools.selenium.JiraAwareAftBase
assertButtonDisabledByText, assertButtonEnabledByText, assertDataTableContains, assertDataTableContains, assertElementPresent, assertElementPresent, assertElementPresent, assertElementPresentByLinkText, assertElementPresentByName, assertElementPresentByName, assertElementPresentByXpath, assertElementPresentByXpath, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertIsNotVisible, assertIsNotVisible, assertIsNotVisible, assertIsNotVisibleByXpath, assertIsNotVisibleByXpath, assertIsVisible, assertIsVisible, assertIsVisibleById, assertIsVisibleByXpath, assertLabeledTextNotPresent, assertLabeledTextPresent, assertLabeledTextPresent, assertResultCount, assertTextNotPresent, assertTextNotPresent, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTextPresent, assertTrue, assertTrue, fail, findDataTableRow, findDataTableRow, findElement, findElement, isLabeledTextPresent, isPassed, isVisible, isVisible, isVisibleById, isVisibleByXpath, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareType, jiraAwareType, jiraAwareTypeByName, jiraAwareTypeByName, jiraAwareWaitAndClick, jiraAwareWaitAndClick, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFors, passed, selectOption, selectOptionByName, selectOptionByXpath, waitAndType
 
Methods inherited from class org.kuali.rice.testtools.selenium.AutomatedFunctionalTestBase
enableBookmarkMode, enableNavigationMode, getTestUrl, navigateInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOKMARK_URL

public static final String BOOKMARK_URL
ITUtil.PORTAL+"?channelTitle=Component&channelUrl="+WebDriverUtils.getBaseUrlString()+ "/kr/lookup.do?methodToCall=start&businessObjectClassName=org.kuali.rice.coreservice.impl.component.ComponentBo&docFormKey=88888888&returnLocation="+ +ITUtil.PORTAL_URL+ ITUtil.HIDE_RETURN_LINK;

Constructor Detail

ConfigComponentActionListAftBase

public ConfigComponentActionListAftBase()
Method Detail

getBookmarkUrl

protected String getBookmarkUrl()
Specified by:
getBookmarkUrl in class AutomatedFunctionalTestBase

testCreateActionRequestGroup

protected String testCreateActionRequestGroup(String user,
                                              String namespace,
                                              String actionType)
                                       throws InterruptedException
Throws:
InterruptedException

testCreateActionRequestPerson

protected String testCreateActionRequestPerson(String[][] userActions)
                                        throws InterruptedException
Creates an Action Request in a users action list. Initiates a new maintenance document (Component BO) with added adHoc request to create an action request in a users action list for the document

Parameters:
userActions - 2d array containing username, action pairs. (ex: "fred","A")
Returns:
documentID of the newly initiated document to which the created action request applies.
Throws:
InterruptedException

testActionListAcknowledgeGroup

public void testActionListAcknowledgeGroup()
                                    throws Exception
Throws:
Exception

testActionListAcknowledgePerson

public void testActionListAcknowledgePerson()
                                     throws Exception
tests the Acknowledge ActionRequest. Creates an Acknowledge request for a user. Then performs the Acknowledge action.

Throws:
Exception

testActionListAcknowledgePerson_WithPendingApprove

public void testActionListAcknowledgePerson_WithPendingApprove()
                                                        throws Exception
tests the Acknowledge ActionRequest. Creates an Acknowledge request for a user and an approve request for a different user. Then performs the Acknowledge action.

Throws:
Exception

testActionListAcknowledgePerson_WithPendingAcknowledge

public void testActionListAcknowledgePerson_WithPendingAcknowledge()
                                                            throws Exception
tests the Acknowledge ActionRequest. Creates an Acknowledge request for a user and an approve request for a different user. Then performs the Acknowledge action.

Throws:
Exception

testActionListApprovePerson

public void testActionListApprovePerson()
                                 throws Exception
tests the Approve ActionRequest. Creates an approve request for a user. Then performs the Approve action.

Throws:
Exception

testActionListApprovePerson_WithPendingApprove

public void testActionListApprovePerson_WithPendingApprove()
                                                    throws Exception
tests the Approve ActionRequest. Creates an Approve request for a user and a separate approve request for a different user. Then performs the first users Approve action.

Throws:
Exception

testActionListApprovePerson_WithPendingAcknowledge

public void testActionListApprovePerson_WithPendingAcknowledge()
                                                        throws Exception
tests the Approve ActionRequest. Creates an Approve request for a user and a separate approve request for a different user. Then performs the first users Approve action.

Throws:
Exception

testActionListApproveGroup

public void testActionListApproveGroup()
                                throws Exception
Throws:
Exception

testActionListCompleteGroup

public void testActionListCompleteGroup()
                                 throws Exception
Throws:
Exception

testActionListCompletePerson

public void testActionListCompletePerson()
                                  throws Exception
tests the complete ActionRequest. Creates an complete request for a user. Then performs the Complete action.

Throws:
Exception

testActionListCompletePerson_WithPendingAcknowledge

public void testActionListCompletePerson_WithPendingAcknowledge()
                                                         throws Exception
Throws:
Exception

testActionListDisapproveGroup

public void testActionListDisapproveGroup()
                                   throws Exception
Throws:
Exception

testActionListDisapprovePerson

public void testActionListDisapprovePerson()
                                    throws Exception
tests the ActionRequest. Creates an approve request for a user. Then performs the Disapprove action.

Throws:
Exception

testActionListFyiGroup

public void testActionListFyiGroup()
                            throws Exception
Throws:
Exception

testActionListFyiPerson

public void testActionListFyiPerson()
                             throws Exception
tests the FYI ActionRequest. Creates an FYI request for a user. Then performs the FYI action.

Throws:
Exception

testActionListCancelPerson

public void testActionListCancelPerson()
                                throws Exception
Throws:
Exception

testComponentRecallAndCancel_WithPendingPersonApprove

public void testComponentRecallAndCancel_WithPendingPersonApprove()
                                                           throws Exception
Throws:
Exception

testComponentRecallToActionList_WithPendingPersonApprove

public void testComponentRecallToActionList_WithPendingPersonApprove()
                                                              throws Exception
Throws:
Exception

testComponentCancel_WithPendingPersonApprove

public void testComponentCancel_WithPendingPersonApprove()
                                                  throws Exception
Throws:
Exception

testComponentSave_WithPendingPersonApprove

public void testComponentSave_WithPendingPersonApprove()
                                                throws Exception
Throws:
Exception

assertComponentSubmit_WithPersonRequest

public void assertComponentSubmit_WithPersonRequest(String user,
                                                    String action,
                                                    String state)
                                             throws Exception
Throws:
Exception

testComponentSubmit

public void testComponentSubmit()
                         throws Exception
Throws:
Exception

testComponentSubmit_WithPendingPersonApprove

public void testComponentSubmit_WithPendingPersonApprove()
                                                  throws Exception
Throws:
Exception

testComponentSubmit_WithPendingPersonAcknowledge

public void testComponentSubmit_WithPendingPersonAcknowledge()
                                                      throws Exception
Throws:
Exception

testComponentSubmit_WithPendingPersonFyi

public void testComponentSubmit_WithPendingPersonFyi()
                                              throws Exception
Throws:
Exception


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.