edu.samplu.admin.test
Class XMLIngesterSTNGBkMrkGen

java.lang.Object
  extended by edu.samplu.common.WebDriverLegacyITBase
      extended by edu.samplu.common.FreemarkerSTBase
          extended by edu.samplu.admin.test.XMLIngesterAbstractSmokeTestBase
              extended by edu.samplu.admin.test.XMLIngesterSTNGBase
                  extended by edu.samplu.admin.test.XMLIngesterSTNGBkMrkGen
All Implemented Interfaces:
Failable

public class XMLIngesterSTNGBkMrkGen
extends XMLIngesterSTNGBase

TestNG implementation of XMLIngesterSTNGBase that goes directly to the page under test by a bookmarkable url, avoiding navigation. In the future the idea is to generate this class using the test methods from XMLIngesterAbstractSmokeTestBase and following the simple pattern of

testMethodBookmark(this);
mvn -f rice-middleware/sampleapp/pom.xml -Pstests failsafe:integration-test -Dremote.public.url=env7.rice.kuali.org -Dit.test=XMLIngesterSTNGBkMrkGen -DXMLIngester.groupId=2008 -DXMLIngester.userIncludeDTSinPrefix=false -DXMLIngester.userCntBegin=0 -DXMLIngester.userCnt=600  -DXMLIngester.userPrefix=loadtester -Dremote.driver.dontTearDown=y

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

Field Summary
 
Fields inherited from class edu.samplu.admin.test.XMLIngesterAbstractSmokeTestBase
BOOKMARK_URL
 
Fields inherited from class edu.samplu.common.FreemarkerSTBase
cfg, LOG
 
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
XMLIngesterSTNGBkMrkGen()
           
 
Method Summary
 String getTestUrl()
          Nav tests start at ITUtil.PORTAL.
 void testIngestionBookmark()
          XMLIngesterAbstractSmokeTestBase.testIngestionBookmark(edu.samplu.common.Failable)
 
Methods inherited from class edu.samplu.admin.test.XMLIngesterSTNGBase
fail, newTempFile
 
Methods inherited from class edu.samplu.admin.test.XMLIngesterAbstractSmokeTestBase
buildFileUploadList, getUserName, navigate, setUp, testIngestion, testIngestionBookmark, testIngestionNav
 
Methods inherited from class edu.samplu.common.FreemarkerSTBase
ftlWrite, loadProperties, systemPropertiesOverride, writeTemplateToFile
 
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, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getAttribute, getAttributeByName, getAttributeByXpath, getBaseUrlString, getCssCount, getCssCount, getDocStatus, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByName, getTextByXpath, getTitle, 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, 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, testDisplayOnlyTooltipHelp, 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, testMissingTooltipHelp, testPageHelp, testPeopleFlow, testReferenceCampusTypeBlanketApprove, testSearchEditCancel, testSequencerow, testServerErrorsIT, testServerInfoIT, testServerWarningsIT, testSubCollectionSize, testTermLookUp, testTermLookupAssertions, testTermSpecificationLookupAssertions, testTooltipHelp, 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, 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

XMLIngesterSTNGBkMrkGen

public XMLIngesterSTNGBkMrkGen()
Method Detail

getTestUrl

public String getTestUrl()
Description copied from class: XMLIngesterAbstractSmokeTestBase
Nav tests start at ITUtil.PORTAL. Bookmark Tests should override and return XMLIngesterAbstractSmokeTestBase.BOOKMARK_URL Navigation tests should return ITUtil.PORTAL. Bookmark tests should return BOOKMARK_URL.

Overrides:
getTestUrl in class XMLIngesterAbstractSmokeTestBase
Returns:
string

testIngestionBookmark

public void testIngestionBookmark()
                           throws Exception
XMLIngesterAbstractSmokeTestBase.testIngestionBookmark(edu.samplu.common.Failable)

Throws:
Exception


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