edu.sampleu.admin
Class EdocLiteXmlIngesterBase

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.EdocLiteXmlIngesterBase
All Implemented Interfaces:
JiraAwareFailable
Direct Known Subclasses:
EdocLiteIuIngestNavAft, EdocLiteOaaIngestNavAft

public abstract class EdocLiteXmlIngesterBase
extends AdminTmplMthdAftNavBase

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

Field Summary
protected  List<File> fileUploadList
           
 
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, ARIA_INVALID_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, DIV_LEFT_ERRMSG, DOC_CODE_XPATH, DOC_DESCRIPTION_XPATH, DOC_ID_XPATH, DOC_ID_XPATH_2, DOC_ID_XPATH_3, 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, 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_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, user, VALIDATION_FRAMEWORK_DEMO_XPATH, waitSeconds, XML_INGESTER_LINK_TEXT
 
Fields inherited from class org.kuali.rice.testtools.selenium.AutomatedFunctionalTestBase
shouldNavigate, testUrl
 
Constructor Summary
EdocLiteXmlIngesterBase()
           
 
Method Summary
protected  String getBookmarkUrl()
           
protected  String getLinkLocator()
          This overridden method ...
protected  void setUpFiles(String path)
           
protected  void setUpResourceDir(String resourceDir)
           
protected  void testEdocLiteIngestion()
           
 void testXMLIngesterSuccessfulFileUpload()
          Uploads file available from fileUploadList through XML Ingester.
 
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, addAdHocRecipients, addAdHocRecipients, agendaLookupAssertions, alertAccept, alertDismiss, areAllMultiValueSelectsChecked, areNoMultiValueSelectsChecked, assertActionList, assertAttributeClassRegexDoesntMatch, assertAttributeClassRegexMatches, assertBlanketApproveButtonsPresent, assertCancelConfirmation, assertDocFinal, assertDocSearch, assertFocusTypeBlurError, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertFocusTypeBlurValid, assertFocusTypeBlurValidation, assertLabelFor, assertLabelWithTextPresent, assertMultiValueDeselectAllThisPage, assertMultiValueSelectAllThisPage, 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, confirmAddLineControlsPresent, contextLookupAssertions, createNewEnterDetails, createNewTemplateMethod, expandColapseByXpath, extractErrorText, findButtonByText, findElements, findElements, findVisibleElements, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventById, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getBaseUrlString, getCssCount, getCssCount, getDocStatus, getDriver, getElementByAttribute, getElementByAttributeValue, getElementByDataAttribute, getElementByDataAttributeValue, getElementsByAttributeValue, getForLabelText, getNavigationUrl, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByClassName, getTextById, getTextByName, getTextByXpath, getTitle, getTodaysDate, getUiFramework, getUserName, gotoIframeByXpath, gotoLightBox, gotoNestedFrame, hasDocError, hasDocError, howManyAreVisible, isChecked, isCheckedById, isCheckedByName, isCheckedByXpath, isElementPresent, isElementPresent, isElementPresentByDataAttributeValue, isElementPresentById, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isEnabled, isEnabledById, isEnabledByName, isEnabledByXpath, isKrad, isNotVisible, isTextPresent, isVisible, jGrowl, jGrowlSticky, login, loginKrad, loginKradOrKns, multiValueResultCount, open, performParameterInquiry, select, selectByName, selectByXpath, selectFrame, selectFrameIframePortlet, selectTopFrame, selectWindow, setUiFramework, startSession, switchToWindow, tearDown, testAddingBrownGroup, testAddingNamespace, testAddingNamespace, testAddLineAllDay, testAddLineWithAllDay, testAddLineWithSpecificTime, testAttributeDefinitionLookUp, testCancelConfirmation, testCategoryLookUp, testConfigParamaterBlanketApprove, testConfigurationTestView, testCopyComponent, testCopyParameter, testCopyParameterType, testCreateDocType, testCreateNewAgenda, testCreateNewCancel, testCreateNewParameter, testCreateNewParameterType, testCreateNewPermission, testCreateNewPerson, testCreateNewRRDTravelRequestDestRouting, testCreateNewSearchReturnValueCancelConfirmation, testCreateSampleEDocLite, testDisplayOnlyExternalHelp2, testDisplayOnlyTooltipHelp, testDocTypeLookup, testEditComponent, testEditParameter, testEditParameterType, testEditPermission, testEditRouteRulesDelegation, testExternalHelp2, testFiscalOfficerInfoMaintenanceNew, testIdentityGroupBlanketApprove, testIdentityPermissionBlanketApprove, testIdentityPersonBlanketApprove, testIdentityResponsibilityBlanketApprove, testIdentityRoleBlanketApprove, testLocationCampusBlanketApprove, testLocationCountryBlanketApprove, testLocationCountyBlanketApprove, testLocationPostBlanketApprove, testLocationStateBlanketApprove, testLookUp, testLookUpComponent, testLookUpParameter, testLookUpParameterType, testLookUpPermission, testLookUpPerson, testMissingExternalHelp2, testMissingTooltipHelp, testMultiValueSelectAllPages, testMultiValueSelectAllThisPage, testPageHelp, testPeopleFlow, testReferenceCampusTypeBlanketApprove, testSearchEditCancel, testServerErrorsIT, testServerInfoIT, testServerWarningsIT, testSetUp, testSubCollectionSize, testTermLookUp, testTermLookupAssertions, testTermSpecificationLookupAssertions, testTooltipHelp, testUifTooltip, testValidCharsConstraintIT, testVerifyAddDeleteFiscalOfficerLegacy, testVerifyAddDeleteNoteLegacy, testVerifyAdHocRecipientsLegacy, testVerifyButtonsLegacy, testVerifyConstraintText, testVerifyCopyComponent, testVerifyCopyParameterType, testVerifyDisclosures, testVerifyDocumentOverviewLegacy, testVerifyEditedComponent, testVerifyExpandCollapse, testVerifyFieldsLegacy, testVerifyHeaderFieldsLegacy, testVerifyLookupAddMultipleLinesLegacy, testVerifyModifiedParameter, testVerifyNotesAndAttachments, testVerifyPermission, testVerifyPerson, testVerifyQuickfinderIconsLegacy, testVerifyRouteLog, testVerifySave, testVerifySubsidizedPercentWatermarkLegacy, testViewHelp, testViewHelp2, testWorkFlowDocTypeBlanketApprove, testWorkFlowRouteRulesBlanketApp, testWorkFlowRouteRulesCreateNew, testWorkFlowRouteRulesEditRouteRules, uncheck, uncheckByName, uncheckByXpath, validateErrorImage, verifyRichMessagesValidationAdvancedFunctionality, verifyRichMessagesValidationBasicFunctionality, verifyRichMessagesValidationLettersNumbersValidation, verifyRichMessagesValidationLinkDeclarationsFunctionality, verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality, waitAndCancelConfirmation, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickActionList, waitAndClickAdministration, 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, waitAndClickLogoutIfPresent, waitAndClickMainMenu, waitAndClickReturnValue, waitAndClickReturnValue, waitAndClickSave, waitAndClickSearch, waitAndClickSearch2, waitAndClickSearch3, waitAndClickSubmit, waitAndClickXMLIngester, waitAndCreateNew, waitAndCreateNew, waitAndGetAttribute, waitAndGetAttributeByName, waitAndGetAttributeByXpath, waitAndGetElementByAttributeValue, waitAndGetElementsByAttributeValue, waitAndGetText, waitAndSelectByName, waitAndType, waitAndType, waitAndTypeById, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitAreAnyVisible, waitFor, waitFor, waitForDocId, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForElementPresent, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentById, waitForElementPresentById, waitForElementPresentById, waitForElementPresentByName, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementPresentByXpath, waitForElementsPresentByClassName, waitForElementsPresentById, waitForElementsPresentByXpath, waitForElementVisible, waitForElementVisibleBy, waitForElementVisibleById, waitForIsTextPresent, waitForPageToLoad, waitForTextNotPresent, 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, 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, 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

fileUploadList

protected List<File> fileUploadList
Constructor Detail

EdocLiteXmlIngesterBase

public EdocLiteXmlIngesterBase()
Method Detail

getBookmarkUrl

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

getLinkLocator

protected String getLinkLocator()
This overridden method ...

Specified by:
getLinkLocator in class NavTemplateMethodAftBase
Returns:
selenium locator to click on
See Also:
NavTemplateMethodAftBase.getLinkLocator()

setUpResourceDir

protected void setUpResourceDir(String resourceDir)

setUpFiles

protected void setUpFiles(String path)
                   throws Exception
Throws:
Exception

testEdocLiteIngestion

protected void testEdocLiteIngestion()
                              throws Exception
Throws:
Exception

testXMLIngesterSuccessfulFileUpload

public void testXMLIngesterSuccessfulFileUpload()
                                         throws Exception
Uploads file available from fileUploadList through XML Ingester. Uploads each sublist from main fileUploadList if size greater than 10.

Throws:
Exception


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.