edu.samplu.admin.test
Class AdminTmplMthdSTNavBase

java.lang.Object
  extended by edu.samplu.common.WebDriverLegacyITBase
      extended by edu.samplu.common.SmokeTestBase
          extended by edu.samplu.common.NavTemplateMethodSTBase
              extended by edu.samplu.admin.test.AdminTmplMthdSTNavBase
All Implemented Interfaces:
Failable
Direct Known Subclasses:
AddingNameSpacesAbstractSmokeTestBase, ClearAllCashesAbstractSmokeTestBase, ClearIndividualCashesAbstractSmokeTestBase, ConfigComponentCreateNewAbstractSmokeTestBase, ConfigComponentLookUpAndCopyAbstractSmokeTestBase, ConfigComponentLookUpAndEditAbstractSmokeTestBase, ConfigComponentLookUpAndInquireAbstractSmokeTestBase, ConfigNameSpaceBlanketAppAbstractSmokeTestBase, ConfigNamespaceCreateNewAbstractSmokeTestBase, ConfigNamespaceLookUpAndCopyAbstractSmokeTestBase, ConfigNamespaceLookUpAndEditAbstractSmokeTestBase, ConfigNamespaceLookUpAndInquireAbstractSmokeTestBase, ConfigParameterAbstractSmokeTestBase, ConfigParameterBlanketAppAbstractSmokeTestBase, ConfigParameterCreateNewAbstractSmokeTestBase, ConfigParameterLookUpAndCopyAbstractSmokeTestBase, ConfigParameterLookUpAndEditAbstractSmokeTestBase, ConfigParameterLookUpAndInquireAbstractSmokeTestBase, ConfigParameterNavIT, ConfigParameterTypeAbstractSmokeTestBase, ConfigParameterTypeCreateNewAbstractSmokeTestBase, ConfigParameterTypeLookUpAndCopyAbstractSmokeTestBase, ConfigParameterTypeLookUpAndEditAbstractSmokeTestBase, ConfigParameterTypeLookUpAndInquireAbstractSmokeTestBase, ConfigViewConfiguredPropertiesAbstractSmokeTestBase, CreateDocTypeAbstractSmokeTestBase, EdocLiteXmlIngesterBase, GroupAbstractSmokeTestBase, IdentityGroupAbstractSmokeTestBase, IdentityGroupBlanketAppAbstractSmokeTestBase, IdentityPermissionAbstractSmokeTestBase, IdentityPermissionBlanketAppAbstractSmokeTestBase, IdentityPersonAbstractSmokeTestBase, IdentityPersonBlanketAppAbstractSmokeTestBase, IdentityPersonCreateNewAbstractSmokeTestBase, IdentityPersonLookUpEditAbstractSmokeTestBase, IdentityResponsibilityAbstractSmokeTestBase, IdentityResponsibilityBlanketAppAbstractSmokeTestBase, IdentityRoleAbstractSmokeTestBase, IdentityRoleBlanketAppAbstractSmokeTestBase, LocationCampusAbstractSmokeTestBase, LocationCampusBlanketAppAbstractSmokeTestBase, LocationCountryAbstractSmokeTestBase, LocationCountryBlanketAppAbstractSmokeTestBase, LocationCountyAbstractSmokeTestBase, LocationCountyBlanketAppAbstractSmokeTestBase, LocationPostCodeAbstractSmokeTestBase, LocationPostCodeBlanketAppAbstractSmokeTestBase, LocationStateAbstractSmokeTestBase, LocationStateBlanketAppAbstractSmokeTestBase, ParameterAbstractSmokeTestBase, ParameterTypeAbstractSmokeTestBase, PendingBase, PermissionAbstractSmokeTestBase, PersonAbstractSmokeTestBase, ReferenceCampusTypeAbstractSmokeTestBase, ReferenceCampusTypeBlanketAppAbstractSmokeTestBase, ReviewAllServicesAndWSDLAbstractSmokeTestBase, WorkFlowDocTypeAbstractSmokeTestBase, WorkFlowDocTypeBlanketAppAbstractSmokeTestBase, WorkFlowDocTypeLookUpAbstractSmokeTestBase, XMLIngester

public abstract class AdminTmplMthdSTNavBase
extends NavTemplateMethodSTBase

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

Field Summary
static String ADMIN_LOCATOR
           
static String CREATE_NEW_LOCATOR
           
static String LABEL_KUALI_DEFAULT
           
static String LABEL_KUALI_KUALI_SYSTEMS
           
static String SPAN_CLASS_PAGEBANNER
           
 
Fields inherited from class edu.samplu.common.SmokeTestBase
shouldNavigate, testUrl
 
Fields inherited from class edu.samplu.common.WebDriverLegacyITBase
ADMINISTRATION_LINK_TEXT, AGENDA_LOOKUP_LINK_TEXT, ARIA_INVALID_XPATH, BLANKET_APPROVE_NAME, CANCEL_NAME, CANCEL2_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, DEFAULT_WAIT_SEC, 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, DONT_TEAR_DOWN_ON_FAILURE_PROPERTY, 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, LOGOUT_XPATH, MAIN_MENU_LINK_TEXT, passed, REGEX_ERROR, REGEX_VALID, REMOTE_PUBLIC_USER_PROPERTY, REMOTE_PUBLIC_USERPOOL_PROPERTY, REMOTE_PUBLIC_WAIT_SECONDS_PROPERTY, RETURN_VALUE_LINK_TEXT, RICH_MESSAGES_WINDOW_TITLE, SAVE_SUCCESSFUL_XPATH, SAVE_XPATH, SAVE_XPATH_2, SAVE_XPATH_3, 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
 
Constructor Summary
AdminTmplMthdSTNavBase()
           
 
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(Failable failable)
           
 void testSearchSearchBack(Failable failable, String fieldName, String searchText)
           
 
Methods inherited from class edu.samplu.common.NavTemplateMethodSTBase
getBookmarkUrl, getLinkLocator, getTestUrl, gotoCreateNew, gotoMenuLinkLocator, navigate
 
Methods inherited from class edu.samplu.common.SmokeTestBase
enableBookmarkMode, enableNavigationMode, fail, navigateInternal
 
Methods inherited from class edu.samplu.common.WebDriverLegacyITBase
agendaLookupAssertions, alertAccept, alertDismiss, assertAttributeClassRegexDoesntMatch, assertAttributeClassRegexMatches, assertBlanketApproveButtonsPresent, assertButtonDisabledByText, assertButtonEnabledByText, assertCancelConfirmation, assertDocFinal, assertDocumentStatusSaved, assertElementPresent, assertElementPresentByLinkText, assertElementPresentByName, assertElementPresentByName, assertElementPresentByXpath, assertElementPresentByXpath, assertFocusTypeBlurError, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertFocusTypeBlurValid, assertFocusTypeBlurValidation, assertIsNotVisible, assertIsNotVisibleByXpath, assertIsNotVisibleByXpath, assertIsVisible, assertIsVisibleById, assertIsVisibleByXpath, assertLabelFor, assertPopUpWindowUrl, assertTableLayout, assertTextNotPresent, assertTextNotPresent, assertTextPresent, 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, expandColapseByXpath, extractErrorText, failableFail, findButtonByText, findElement, findElement, findElements, findVisibleElements, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventById, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getBaseUrlString, getCssCount, getCssCount, getDocStatus, getElementByAttribute, getElementByAttributeValue, getElementByDataAttribute, getElementByDataAttributeValue, getForLabelText, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByClassName, getTextById, getTextByName, getTextByXpath, getTitle, getUiFramework, getUserName, gotoNestedFrame, hasDocError, hasDocError, howManyAreVisible, isChecked, isCheckedById, isCheckedByName, isCheckedByXpath, isElementPresent, isElementPresent, isElementPresentByDataAttributeValue, isElementPresentById, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isEnabled, isEnabledById, isEnabledByName, isEnabledByXpath, isKrad, isNotVisible, isTextPresent, isVisible, isVisible, isVisible, isVisibleById, isVisibleByXpath, jGrowl, jGrowlSticky, jiraAwareWaitAndClick, jiraAwareWaitAndClick, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFors, open, passed, performParameterInquiry, select, selectByName, selectByXpath, selectFrame, selectFrameIframePortlet, selectOption, selectOptionByName, selectOptionByXpath, selectTopFrame, selectWindow, setUiFramework, startSession, switchToWindow, tearDown, testAddingBrownGroup, testAddingNamespace, testAddingNamespace, testAddLineAllDay, testAddLineWithAllDay, testAddLineWithSpecificTime, testAttributeDefinitionLookUp, testCancelConfirmation, testCategoryLookUp, testConfigParamaterBlanketApprove, testConfigurationTestView, testCopyComponent, testCopyParameter, testCopyParameterType, testCreateDocType, testCreateNewAgenda, testCreateNewCancel, testCreateNewComponent, testCreateNewComponent, 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, 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, waitAndClickAdministration, waitAndClickButtonByText, waitAndClickButtonByText, waitAndClickById, waitAndClickById, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByXpath, waitAndClickByXpath, waitAndClickByXpath, waitAndClickCancel, waitAndClickCloseWindow, waitAndClickCopy, waitAndClickCreateNew, waitAndClickDocSearch, waitAndClickDocSearchTitle, waitAndClickEdit, waitAndClickKRAD, waitAndClickLogout, waitAndClickLogout, waitAndClickMainMenu, waitAndClickReturnValue, waitAndClickSave, waitAndClickSearch2, waitAndClickSearch3, waitAndClickSubmit, waitAndClickXMLIngester, waitAndCreateNew, waitAndGetAttribute, waitAndGetAttributeByName, waitAndGetAttributeByXpath, waitAndGetText, waitAndSelectByName, waitAndType, waitAndType, waitAndType, waitAndTypeById, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitAreAnyVisible, waitFor, waitFor, waitForDocId, waitForElementPresent, waitForElementPresent, waitForElementPresent, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentById, waitForElementPresentById, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementPresentByXpath, waitForElementsPresentByClassName, waitForElementsPresentById, waitForElementsPresentByXpath, waitForElementVisible, waitForElementVisibleBy, waitForElementVisibleById, waitForPageToLoad, waitForTitleToEqualKualiPortalIndex, waitForTitleToEqualKualiPortalIndex, waitIsVisible, waitIsVisible, waitIsVisible, waitIsVisibleByXpath, waitIsVisibleByXpath, waitNotVisible, waitNotVisibleByXpath
 
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

LABEL_KUALI_KUALI_SYSTEMS

public static final String LABEL_KUALI_KUALI_SYSTEMS
See Also:
Constant Field Values

LABEL_KUALI_DEFAULT

public static final String LABEL_KUALI_DEFAULT
See Also:
Constant Field Values

SPAN_CLASS_PAGEBANNER

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

AdminTmplMthdSTNavBase

public AdminTmplMthdSTNavBase()
Method Detail

getCreateNewLinkLocator

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

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

getMenuLinkLocator

protected String getMenuLinkLocator()
Description copied from class: NavTemplateMethodSTBase
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 NavTemplateMethodSTBase
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(Failable failable)
                        throws Exception
Throws:
Exception

testSearchSearchBack

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


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