edu.samplu.krad.configview
Class HelpNavIT

java.lang.Object
  extended by edu.samplu.common.WebDriverLegacyITBase
      extended by edu.samplu.krad.configview.HelpNavIT
All Implemented Interfaces:
Failable

public class HelpNavIT
extends WebDriverLegacyITBase

Test the help widget

Selenium RC does not allow us to test the external help popup windows due to an error on JavaScrips window.close method when selenium is running. To test the external help we use the HelpWDIT2 test which utilizes WebDriver. Unfortunately due to a WebDriver bug/feature we can't test the tooltip help there.

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

Field Summary
 
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_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, 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, 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
HelpNavIT()
           
 
Method Summary
 String getTestUrl()
          Navigation tests should return ITUtil.PORTAL.
 void testDisplayOnlyTooltipHelp()
          Test the tooltip help on the sub-section and fields that are display only
 void testMissingTooltipHelp()
          Test the tooltip help on the section and fields with no content
 void testPageHelp()
          Test the tooltip and external help on the page
 void testTooltipHelp()
          Test the tooltip help on the section and fields
 void testViewHelp()
          Test the tooltip and external help on the view
 
Methods inherited from class edu.samplu.common.WebDriverLegacyITBase
agendaLookupAssertions, alertAccept, alertDismiss, assertAttributeClassRegexMatches, assertBlanketApproveButtonsPresent, assertCancelConfirmation, assertDocFinal, assertDocumentStatusSaved, assertElementPresent, assertElementPresentByLinkText, assertElementPresentByName, assertElementPresentByName, assertElementPresentByXpath, assertElementPresentByXpath, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertPopUpWindowUrl, assertTableLayout, assertTextPresent, assertTextPresent, blanketApproveTest, check, checkByName, checkByXpath, checkErrorMessageItem, checkForDocError, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, chromeDriverService, clearText, clearText, clearTextByName, clearTextByXpath, close, colapseExpandByXpath, configNameSpaceBlanketApprove, confirmAddLineControlsPresent, contextLookupAssertions, deleteSubCollectionLine, expandColapseByXpath, fail, 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, 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, testClientErrors, testCollectionTotalling, testColumnSequence, testConfigNamespaceBlanketApprove, testConfigParamaterBlanketApprove, testConfigurationTestView, testCopyComponent, testCopyParameter, testCopyParameterType, testCreateDocType, testCreateNewAgenda, testCreateNewCancel, testCreateNewComponent, testCreateNewParameter, testCreateNewParameterType, testCreateNewPermission, testCreateNewPerson, testCreateNewRRDTravelRequestDestRouting, testCreateNewSearchReturnValueCancelConfirmation, testCreateSampleEDocLite, testDefaultTestsTableLayout, testDirtyFieldsCheck, testDisplayOnlyExternalHelp2, testDocTypeLookup, testEditComponent, testEditParameter, testEditParameterType, testEditPermission, testEditRouteRulesDelegation, testExternalHelp2, testFiscalOfficerInfoMaintenanceNew, testIdentityGroupBlanketApprove, testIdentityPermissionBlanketApprove, testIdentityPersonBlanketApprove, testIdentityResponsibilityBlanketApprove, testIdentityRoleBlanketApprove, testIfRowHasBeenAdded, testInquiry, testLocationCampusBlanketApprove, testLocationCountryBlanketApprove, testLocationCountyBlanketApprove, testLocationPostBlanketApprove, testLocationStateBlanketApprove, testLookUp, testLookUpComponent, testLookUpParameter, testLookUpParameterType, testLookUpPermission, testLookUpPerson, testMissingExternalHelp2, testPeopleFlow, testReferenceCampusTypeBlanketApprove, testSearchEditCancel, testSequencerow, testServerErrorsIT, testServerInfoIT, testServerWarningsIT, testSubCollectionSize, testTermLookUp, testTermLookupAssertions, testTermSpecificationLookupAssertions, testTravelAccountLookup, testTravelAccountTypeLookup, testUifTooltip, testValidCharacterConstraint, 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, 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

HelpNavIT

public HelpNavIT()
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

testViewHelp

public void testViewHelp()
                  throws Exception
Test the tooltip and external help on the view

Overrides:
testViewHelp in class WebDriverLegacyITBase
Throws:
Exception

testPageHelp

public void testPageHelp()
                  throws Exception
Test the tooltip and external help on the page

Overrides:
testPageHelp in class WebDriverLegacyITBase
Throws:
Exception

testTooltipHelp

public void testTooltipHelp()
                     throws Exception
Test the tooltip help on the section and fields

Overrides:
testTooltipHelp in class WebDriverLegacyITBase
Throws:
Exception

testDisplayOnlyTooltipHelp

public void testDisplayOnlyTooltipHelp()
                                throws Exception
Test the tooltip help on the sub-section and fields that are display only

Overrides:
testDisplayOnlyTooltipHelp in class WebDriverLegacyITBase
Throws:
Exception

testMissingTooltipHelp

public void testMissingTooltipHelp()
                            throws Exception
Test the tooltip help on the section and fields with no content

Overrides:
testMissingTooltipHelp in class WebDriverLegacyITBase
Throws:
Exception


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