edu.sampleu.admin
Class AdminTmplMthdAftNavBase

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.WebDriverAftBase
              extended by org.kuali.rice.testtools.selenium.WebDriverLegacyITBase
                  extended by edu.sampleu.common.NavTemplateMethodAftBase
                      extended by edu.sampleu.admin.AdminTmplMthdAftNavBase
All Implemented Interfaces:
JiraAwareFailable
Direct Known Subclasses:
AddingNameSpacesAftBase, ClearAllCashesAftBase, ClearIndividualCashesAftBase, ConfigComponentAftBase, ConfigComponentLookUpAndCopyAftBase, ConfigComponentLookUpAndEditAftBase, ConfigComponentLookUpAndInquireAftBase, ConfigNameSpaceBlanketAppAftBase, ConfigNamespaceCreateNewAftBase, ConfigNamespaceLookUpAndCopyAftBase, ConfigNamespaceLookUpAndEditAftBase, ConfigNamespaceLookUpAndInquireAftBase, ConfigParameterAftBase, ConfigParameterBlanketAppAftBase, ConfigParameterCreateNewAftBase, ConfigParameterLookUpAndCopyAftBase, ConfigParameterLookUpAndEditAftBase, ConfigParameterLookUpAndInquireAftBase, ConfigParameterNavIT, ConfigParameterTypeAftBase, ConfigParameterTypeCreateNewAftBase, ConfigParameterTypeLookUpAndCopyAftBase, ConfigParameterTypeLookUpAndEditAftBase, ConfigParameterTypeLookUpAndInquireAftBase, ConfigViewConfiguredPropertiesAftBase, CreateDocTypeAftBase, EdocLiteXmlIngesterBase, GroupAftBase, IdentityGroupAftBase, IdentityGroupBlanketAppAftBase, IdentityPermissionAftBase, IdentityPermissionBlanketAppAftBase, IdentityPersonAftBase, IdentityPersonBlanketAppAftBase, IdentityPersonCreateNewAftBase, IdentityPersonLookUpEditAftBase, IdentityResponsibilityAftBase, IdentityResponsibilityBlanketAppAftBase, IdentityRoleAftBase, IdentityRoleBlanketAppAftBase, LocationCampusAftBase, LocationCampusBlanketAppAftBase, LocationCountryAftBase, LocationCountryBlanketAppAftBase, LocationCountyAftBase, LocationCountyBlanketAppAftBase, LocationPostCodeAftBase, LocationPostCodeBlanketAppAftBase, LocationStateAftBase, LocationStateBlanketAppAftBase, ParameterAftBase, ParameterTypeAftBase, PendingBase, PermissionAftBase, PersonAftBase, ReferenceCampusTypeAftBase, ReferenceCampusTypeBlanketAppAftBase, ReviewAllServicesAndWsdlAft, WorkFlowDocTypeAftBase, WorkFlowDocTypeBlanketAppAftBase, WorkFlowDocTypeLookUpAftBase, XmlIngester

public abstract class AdminTmplMthdAftNavBase
extends NavTemplateMethodAftBase

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

Field Summary
static String ADMIN_LOCATOR
           
static String CREATE_NEW_LOCATOR
           
static String 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_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, EDIT_LINK_TEXT, FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH, IFRAMEPORTLET_NAME, 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, RICH_MESSAGES_WINDOW_TITLE, SAVE_SUCCESSFUL_XPATH, SAVE_XPATH, SAVE_XPATH_2, SAVE_XPATH_3, SEARCH, SEARCH_SECOND, SEARCH_XPATH, SEARCH_XPATH_2, SUBMIT_XPATH, TRAVEL_ACCOUNT_LOOKUP_LINK_TEXT, UIF_COMPONENTS_KITCHEN_SINK_LINK_TEXT, uiFramework, uniqueString, VALIDATION_FRAMEWORK_DEMO_XPATH, XML_INGESTER_LINK_TEXT
 
Fields inherited from class org.kuali.rice.testtools.selenium.WebDriverAftBase
chromeDriverService, DATA_TABLE_TH_CSS, driver, jGrowlHeader, LOOKUP_CRITERIA_NUMBER_NAME, REGEX_ERROR, REGEX_VALID, RETURN_SELECTED_BUTTON_TEXT, RETURN_VALUE_LINK_TEXT, SEARCH_XPATH_3, sessionId, SHOW_INACTIVE, SUB_COLLECTION_UIF_DISCLOSURE_SPAN_UIF_HEADER_TEXT_SPAN_XPATH, testMethodName, testName, TIMEOUT_MESSAGE, user, waitSeconds, webDriverScreenshotHelper
 
Fields inherited from class org.kuali.rice.testtools.selenium.AutomatedFunctionalTestBase
shouldNavigate, testUrl
 
Constructor Summary
AdminTmplMthdAftNavBase()
           
 
Method Summary
protected  String getCreateNewLinkLocator()
          Override to return main menu click selector (e.g.
protected  String getMenuLinkLocator()
          TODO when the UpgradedSelenium tests have been converted over, rename this to getMenuLinkText Override to return menu click selector (e.g.
 void testCreateNewCancelNav()
          tests that a getLinkLocator maintenance document can be cancelled
 void testEditCancel()
          tests that a getLinkLocator maintenance document is created for an edit operation originating from a lookup screen
 void testSearchEditBack(JiraAwareFailable failable)
           
 void testSearchSearchBack(JiraAwareFailable failable, String fieldName, String searchText)
           
 
Methods inherited from class edu.sampleu.common.NavTemplateMethodAftBase
getLinkLocator, gotoCreateNew, gotoMenuLinkLocator, navigate
 
Methods inherited from class org.kuali.rice.testtools.selenium.WebDriverLegacyITBase
addAdHocRecipientsGroup, addAdHocRecipientsGroup, addAdHocRecipientsPerson, addAdHocRecipientsPerson, agendaLookupAssertions, assertActionList, assertBlanketApproveButtonsPresent, assertDocFinal, assertDocSearch, assertDocSearchNoResults, assertNotInActionList, assertOutbox, assertTableLayout, blanketApproveCheck, blanketApproveTest, checkErrorMessageItem, checkForDocError, configNameSpaceBlanketApprove, contextLookupAssertions, createNewEnterDetails, expandColapseByXpath, extractErrorText, finishBlanketApprovalTest, getDescriptionBase, getDescriptionUnique, getDocStatus, getTestUrl, getUiFramework, gotoNestedFrame, hasDocError, hasDocError, impersonateUser, isKrad, logout, noAffilication, performParameterInquiry, selectFrame, selectFrameIframePortlet, setUiFramework, 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, 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, verifyRichMessagesValidationAdvancedFunctionality, verifyRichMessagesValidationBasicFunctionality, verifyRichMessagesValidationLettersNumbersValidation, verifyRichMessagesValidationLinkDeclarationsFunctionality, verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality, waitAndCancelConfirmation, waitAndClickActionList, waitAndClickAdministration, waitAndClickCancel, waitAndClickCloseWindow, waitAndClickCopy, waitAndClickCreateNew, waitAndClickCreateNew, waitAndClickDocSearch, waitAndClickDocSearchTitle, waitAndClickEdit, waitAndClickKRAD, waitAndClickLogout, waitAndClickLogout, waitAndClickMainMenu, waitAndClickSave, waitAndClickSearch, waitAndClickSearch2, waitAndClickSearchSecond, waitAndClickSubmit, waitAndClickXMLIngester, waitAndCreateNew, waitAndCreateNew, waitForDocId, waitForDocInitiator, waitForDocStatus, waitForTitleToEqualKualiPortalIndex, waitForTitleToEqualKualiPortalIndex
 
Methods inherited from class org.kuali.rice.testtools.selenium.WebDriverAftBase
acceptAlertIfPresent, alertAccept, alertDismiss, areAllMultiValueSelectsChecked, areNoMultiValueSelectsChecked, assertAttributeClassRegexDoesntMatch, assertAttributeClassRegexMatches, assertElementPresentInResultPages, assertElementsPresentInResultPages, assertEmptyInputByName, assertFocusTypeBlurError, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertFocusTypeBlurValid, assertFocusTypeBlurValidation, assertFocusTypeTabError, assertJgrowlText, assertLabelFor, assertLabelWithTextPresent, assertMultiValueDeselectAllThisPage, assertMultiValueSelectAllThisPage, assertPopUpWindowUrl, assertTextPresent, assertTextPresent, back, check, checkById, checkByName, checkByXpath, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, chromeDriverService, clearText, clearText, clearTextByName, clearTextByXpath, close, closeAndQuitWebDriver, colapseExpandByXpath, determineImplicitWait, determineJgrowlHeader, determineTestMethodName, determineUser, findButtonByText, findElements, findElements, findVisibleElements, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventById, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getBaseUrlString, getCssCount, getCssCount, getDateTimeStampFormatted, getDateToday, getDateTomorrow, getDriver, getElementByAttribute, getElementByAttributeValue, getElementByDataAttribute, getElementByDataAttributeValue, getElementsByAttributeValue, getForLabelText, getNavigationUrl, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByClassName, getTextById, getTextByName, getTextByXpath, getTitle, getUserName, gotoIframeById, gotoIframeByXpath, gotoLightBox, howManyAreVisible, incidentReportMessage, isChecked, isCheckedById, isCheckedByName, isCheckedByXpath, isElementPresent, isElementPresent, isElementPresentByDataAttributeValue, isElementPresentById, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isEnabled, isEnabledById, isEnabledByName, isEnabledByXpath, isNextLinkEnabled, isNotVisible, isTextPresent, isVisible, jGrowl, jGrowlSticky, login, multiValueResultCount, open, screenshot, select, selectByName, selectByXpath, selectChildWindow, selectParentWindow, selectTopFrame, selectWindow, startSession, switchToWindow, tearDown, uncheck, uncheckByName, uncheckByXpath, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickAllByName, waitAndClickButtonByExactText, waitAndClickButtonByExactText, waitAndClickButtonByText, waitAndClickButtonByText, waitAndClickById, waitAndClickById, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByValue, waitAndClickByXpath, waitAndClickByXpath, waitAndClickByXpath, waitAndClickDropDown, waitAndClickLabeledLink, waitAndClickLinkContainingText, waitAndClickLinkContainingText, waitAndClickReturnValue, waitAndClickReturnValue, waitAndClickSearch3, waitAndGetAttribute, waitAndGetAttributeByName, waitAndGetAttributeByXpath, waitAndGetElementByAttributeValue, waitAndGetElementsByAttributeValue, waitAndGetText, waitAndSelectByName, waitAndType, waitAndType, waitAndTypeById, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitAreAnyVisible, waitFor, waitFor, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForElementPresent, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentById, waitForElementPresentById, waitForElementPresentById, waitForElementPresentByName, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementPresentByXpath, waitForElementsPresentByClassName, waitForElementsPresentById, waitForElementsPresentByXpath, waitForElementVisible, waitForElementVisibleBy, waitForElementVisibleById, waitForIsTextPresent, waitForLoadingProgress, waitForPageToLoad, waitForTextNotPresent, waitForTextPresent, waitForTextPresent, waitIsVisible, waitIsVisible, waitIsVisible, waitIsVisibleByXpath, waitIsVisibleByXpath, waitNotVisible, waitNotVisible, waitNotVisibleByXpath, 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, getBookmarkUrl, navigateInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_NEW_LOCATOR

public static final String CREATE_NEW_LOCATOR
See Also:
Constant Field Values

ADMIN_LOCATOR

public static final String ADMIN_LOCATOR
See Also:
Constant Field Values

SPAN_CLASS_PAGEBANNER

public static final String SPAN_CLASS_PAGEBANNER
See Also:
Constant Field Values
Constructor Detail

AdminTmplMthdAftNavBase

public AdminTmplMthdAftNavBase()
Method Detail

getCreateNewLinkLocator

protected String getCreateNewLinkLocator()
Description copied from class: NavTemplateMethodAftBase
Override to return main menu click selector (e.g. "//img[@alt='create new']")

Specified by:
getCreateNewLinkLocator in class NavTemplateMethodAftBase
Returns:
selenium locator to click on

getMenuLinkLocator

protected String getMenuLinkLocator()
Description copied from class: NavTemplateMethodAftBase
TODO when the UpgradedSelenium tests have been converted over, rename this to getMenuLinkText Override to return menu click selector (e.g. "Main Menu")

Specified by:
getMenuLinkLocator in class NavTemplateMethodAftBase
Returns:
selenium locator to click on

testCreateNewCancelNav

public void testCreateNewCancelNav()
                            throws Exception
tests that a getLinkLocator maintenance document can be cancelled

Throws:
Exception

testEditCancel

public void testEditCancel()
                    throws Exception
tests that a getLinkLocator maintenance document is created for an edit operation originating from a lookup screen

Throws:
Exception

testSearchEditBack

public void testSearchEditBack(JiraAwareFailable failable)
                        throws Exception
Throws:
Exception

testSearchSearchBack

public void testSearchSearchBack(JiraAwareFailable failable,
                                 String fieldName,
                                 String searchText)
                          throws Exception
Throws:
Exception


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