edu.samplu.admin.test
Class ComponentSTJUnitNavGen

java.lang.Object
  extended by edu.samplu.common.WebDriverLegacyITBase
      extended by edu.samplu.admin.test.ComponentAbstractSmokeTestBase
          extended by edu.samplu.admin.test.ComponentSTJUnitBase
              extended by edu.samplu.admin.test.ComponentSTJUnitNavGen
All Implemented Interfaces:
Failable

public class ComponentSTJUnitNavGen
extends ComponentSTJUnitBase

JUnit implementation of ComponentSTJUnitBase that navigates through the UI to the page under test. In the future the idea is to generate this class using the test methods from ComponentAbstractSmokeTestBase and following the simple pattern of

super.testNavTestMethod(this);

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
ComponentSTJUnitBase, ComponentSTJUnitBkMrkGen

Field Summary
 
Fields inherited from class edu.samplu.admin.test.ComponentAbstractSmokeTestBase
BOOKMARK_URL, FOR_TEST_MESSAGE
 
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_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, IFRAMEPORTLET_NAME, JGROWL_ERROR_FAILURE, jGrowlHeader, KITCHEN_SINK_XPATH, KRAD_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, user, VALIDATION_FRAMEWORK_DEMO_XPATH, waitSeconds, XML_INGESTER_LINK_TEXT
 
Constructor Summary
ComponentSTJUnitNavGen()
           
 
Method Summary
 String getTestUrl()
          Navigation tests should return ITUtil.PORTAL.
 void gotoTest()
          Bookmark tests should call bookmark(), navigation tests should call navigation()
 void testComponentCreateNewCancelNav()
          ComponentAbstractSmokeTestBase.testComponentCreateNewCancelNav(edu.samplu.common.Failable)
 void testComponentParameterNav()
          ComponentAbstractSmokeTestBase.testComponentParameterNav(edu.samplu.common.Failable)
 
Methods inherited from class edu.samplu.admin.test.ComponentSTJUnitBase
fail
 
Methods inherited from class edu.samplu.admin.test.ComponentAbstractSmokeTestBase
bookmark, navigtaion, testComponentCreateNewCancelBookmark, testComponentCreateNewCancelNav, testComponentParameter, testComponentParameterBookmark, testComponentParameterNav
 
Methods inherited from class edu.samplu.common.WebDriverLegacyITBase
agendaLookupAssertions, alertAccept, alertDismiss, assertAttributeClassRegexDoesntMatch, assertAttributeClassRegexMatches, assertBlanketApproveButtonsPresent, assertCancelConfirmation, assertDocFinal, assertDocumentStatusSaved, assertElementPresent, assertElementPresentByLinkText, assertElementPresentByName, assertElementPresentByName, assertElementPresentByXpath, assertElementPresentByXpath, assertFocusTypeBlurError, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertFocusTypeBlurValid, assertFocusTypeBlurValidation, assertPopUpWindowUrl, assertTableLayout, assertTextPresent, assertTextPresent, blanketApproveTest, check, checkByName, checkByXpath, checkErrorMessageItem, checkForDocError, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, chromeDriverService, clearText, clearText, clearTextByName, clearTextByXpath, close, colapseExpandByXpath, configNameSpaceBlanketApprove, confirmAddLineControlsPresent, contextLookupAssertions, expandColapseByXpath, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getAttribute, getAttributeByName, getAttributeByXpath, getBaseUrlString, getCssCount, getCssCount, getDocStatus, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByName, getTextByXpath, getTitle, getUserName, gotoNestedFrame, isElementPresent, isElementPresent, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isTextPresent, isVisible, isVisible, isVisibleByXpath, jGrowl, jGrowlSticky, jiraAwareWaitAndClick, jiraAwareWaitAndClick, jiraAwareWaitFor, jiraAwareWaitFor, open, passed, performParameterInquiry, select, selectByName, selectByXpath, selectFrame, selectFrameIframePortlet, selectOption, selectOptionByName, selectOptionByXpath, selectTopFrame, selectWindow, setUp, switchToWindow, tearDown, testActionColumnPlacement, testAddBlankLine, testAddingBrownGroup, testAddingNamespace, testAddingNamespace, testAddLineAllDay, testAddLineWithAllDay, testAddLineWithSpecificTime, testAddViaLightbox, testAgendaEditRuleRefreshIT, testAttributeDefinitionLookUp, testCancelConfirmation, testCategoryLookUp, testCollectionTotalling, testColumnSequence, testConfigParamaterBlanketApprove, testConfigurationTestView, testCopyComponent, testCopyParameter, testCopyParameterType, testCreateDocType, testCreateNewAgenda, testCreateNewCancel, testCreateNewComponent, testCreateNewComponent, testCreateNewParameter, testCreateNewParameterType, testCreateNewPermission, testCreateNewPerson, testCreateNewRRDTravelRequestDestRouting, testCreateNewSearchReturnValueCancelConfirmation, testCreateSampleEDocLite, testDefaultTestsTableLayout, testDisplayOnlyExternalHelp2, testDisplayOnlyTooltipHelp, testDocTypeLookup, testEditComponent, testEditParameter, testEditParameterType, testEditPermission, testEditRouteRulesDelegation, testExternalHelp2, testFiscalOfficerInfoMaintenanceNew, testIdentityGroupBlanketApprove, testIdentityPermissionBlanketApprove, testIdentityPersonBlanketApprove, testIdentityResponsibilityBlanketApprove, testIdentityRoleBlanketApprove, testIfRowHasBeenAdded, testLocationCampusBlanketApprove, testLocationCountryBlanketApprove, testLocationCountyBlanketApprove, testLocationPostBlanketApprove, testLocationStateBlanketApprove, testLookUp, testLookUpComponent, testLookUpParameter, testLookUpParameterType, testLookUpPermission, testLookUpPerson, testMissingExternalHelp2, testMissingTooltipHelp, testPageHelp, testPeopleFlow, testReferenceCampusTypeBlanketApprove, testSearchEditCancel, testSequencerow, testServerErrorsIT, testServerInfoIT, testServerWarningsIT, 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, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByXpath, waitAndClickByXpath, waitAndClickByXpath, waitAndClickCancel, waitAndClickCloseWindow, waitAndClickCopy, waitAndClickCreateNew, waitAndClickDocSearch, waitAndClickDocSearchTitle, waitAndClickEdit, waitAndClickKRAD, waitAndClickLogout, waitAndClickLogout, waitAndClickMainMenu, waitAndClickReturnValue, waitAndClickSave, waitAndClickSearch2, waitAndClickSubmit, waitAndClickXMLIngester, waitAndCreateNew, waitAndType, waitAndType, waitAndType, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitFor, waitForDocId, waitForElementPresent, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementVisible, waitForPageToLoad, waitForTitleToEqualKualiPortalIndex, waitForTitleToEqualKualiPortalIndex, waitIsVisible, waitIsVisible, waitIsVisibleByXpath, waitNotVisible, waitNotVisibleByXpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentSTJUnitNavGen

public ComponentSTJUnitNavGen()
Method Detail

getTestUrl

public String getTestUrl()
Description copied from class: WebDriverLegacyITBase
Navigation tests should return ITUtil.PORTAL. Bookmark tests should return BOOKMARK_URL.

Specified by:
getTestUrl in class WebDriverLegacyITBase
Returns:
string

gotoTest

public void gotoTest()
              throws Exception
Description copied from class: ComponentAbstractSmokeTestBase
Bookmark tests should call bookmark(), navigation tests should call navigation()

Specified by:
gotoTest in class ComponentAbstractSmokeTestBase
Throws:
Exception

testComponentCreateNewCancelNav

public void testComponentCreateNewCancelNav()
                                     throws Exception
ComponentAbstractSmokeTestBase.testComponentCreateNewCancelNav(edu.samplu.common.Failable)

Throws:
Exception

testComponentParameterNav

public void testComponentParameterNav()
                               throws Exception
ComponentAbstractSmokeTestBase.testComponentParameterNav(edu.samplu.common.Failable)

Throws:
Exception


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