public class DocumentOperationAft extends WebDriverLegacyITBase
Modifier and Type | Field and Description |
---|---|
static String |
BOOKMARK_URL
AutomatedFunctionalTestUtils.PORTAL+"?channelTitle=Document%20Operation&channelUrl="+ WebDriverUtils
.getBaseUrlString()+"/kew/DocumentOperation.do";
|
ACKNOWLEDGE_XPATH, ADMINISTRATION_LINK_TEXT, AGENDA_LOOKUP_LINK_TEXT, APPROVE_XPATH, BACKDOOR_ID_TEXT, BACKDOOR_LOGIN_BUTTON_XPATH, BLANKET_APPROVE_NAME, CANCEL_NAME, CANCEL2_XPATH, CANCEL3_XPATH, CLOSE_WINDOW_XPATH_TITLE, CLOSE_XPATH, 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, DISAPPROVE_XPATH, DIV_ERROR_LOCATOR, DIV_ERROR_LOCATOR_KRAD, DIV_EXCOL_LOCATOR, DIV_LEFT_ERRMSG, DOC_CODE_XPATH, DOC_DESCRIPTION_XPATH, DOC_ID_KRAD_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, VALIDATION_FRAMEWORK_DEMO_XPATH, XML_INGESTER_LINK_TEXT
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, uniqueString, user, waitSeconds, webDriverScreenshotHelper
shouldNavigate, testUrl
Constructor and Description |
---|
DocumentOperationAft() |
Modifier and Type | Method and Description |
---|---|
protected String |
getBookmarkUrl() |
protected void |
navigate() |
protected void |
testCreateDocument() |
protected void |
testDocumentOperation() |
void |
testDocumentOperationBookmark() |
protected void |
testDocumentOperationDisapprove()
Tests the document disapprove operation on the document operation screen
|
void |
testDocumentOperationDisapproveBookmark()
Test the document disapproval process from the bookmark link
|
void |
testDocumentOperationDisapproveNav()
Thest the document disapproval process by navigating to it.
|
void |
testDocumentOperationNav() |
acceptAlert, addAdHocRecipientsGroup, addAdHocRecipientsGroup, addAdHocRecipientsPerson, addAdHocRecipientsPerson, agendaLookupAssertions, assertActionList, assertBlanketApproveButtonsPresent, assertDocFinal, assertDocSearch, assertDocSearchNoResults, assertNotInActionList, assertOutbox, assertRouteStatus, assertTableLayout, assertTravelAccountTypeCodeRequired, blanketApprovalCleanUpErrorText, blanketApproveAssert, blanketApproveCheck, blanketApproveSuccessfully, blanketApproveTest, checkForDocError, checkForDocErrorKrad, configNameSpaceBlanketApprove, contextLookupAssertions, createNewEnterDetails, createNewLookupDetails, docSearch, expandColapseByXpath, extractErrorText, extractErrorTextKrad, failOnErrorMessageItem, failOnErrorMessageItem, finishBlanketApprovalTest, getDocStatus, getTestUrl, getUiFramework, gotoNestedFrame, hasDocError, hasDocError, hasDocErrorKrad, impersonateUser, isKrad, logout, lookupDocByWildcardedUniqueStringName, noAffilication, performParameterInquiry, pressEnter, pressEnterByName, pressEnterByXpath, saveSuccessfully, saveSuccessfully, selectFrame, selectFrameIframePortlet, setUiFramework, submitSuccessfully, submitSuccessfully, testAddingBrownGroup, testAddingBrownGroupSaveSubmit, testAddingBrownGroupSubmit, testAttributeDefinitionLookUp, testBlanketApprove, testCancelConfirmation, testCategoryLookUp, testConfigurationTestView, testCopyComponent, testCopyParameter, testCopyParameterType, testCreateDocType, testCreateNew, testCreateNewCancel, testCreateNewParameter, testCreateNewParameterType, testCreateNewPermission, testCreateNewPerson, testCreateNewRequired, testCreateNewRRDTravelRequestDestRouting, testCreateNewSave, testCreateNewSaveSubmit, testCreateNewSearchReturnValueCancelConfirmation, testCreateNewSubmit, testCreateSampleEDocLite, testDemoCustomRuleEventAndDocumentEventMethodInvocationAccountTypeChec, testDisplayOnlyExternalHelp2, testDocTypeLookup, testEditComponent, testEditCopy, testEditParameter, testEditParameterType, testEditPermission, testEditRouteRulesDelegation, testExternalHelp2, testFiscalOfficerInfoMaintenanceNew, testIdentityPersonBlanketApprove, testIdentityRoleBlanketApprove, 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, testWorkFlowRouteRulesCreateNew, testWorkFlowRouteRulesEditRouteRules, typeEnter, typeTab, uncheck, uncheckByName, uncheckByXpath, verifyDocInitiated, verifyRichMessagesValidationAdvancedFunctionality, verifyRichMessagesValidationBasicFunctionality, verifyRichMessagesValidationLettersNumbersValidation, verifyRichMessagesValidationLinkDeclarationsFunctionality, verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality, waitAndCancelConfirmation, waitAndClickAcknowledge, waitAndClickAcknowledgeByText, waitAndClickActionList, waitAndClickAdHocGroupAddQuickFinder, waitAndClickAdHocPersonAdd, waitAndClickAdHocPersonAddQuickFinder, waitAndClickAdministration, waitAndClickApprove, waitAndClickApproveByText, waitAndClickBlanketApprove, waitAndClickBlanketApproveKns, waitAndClickCancel, waitAndClickCancelByText, waitAndClickClearValues, waitAndClickClose, waitAndClickCloseByText, waitAndClickCloseWindow, waitAndClickCopy, waitAndClickCreateNew, waitAndClickCreateNew, waitAndClickDemoLink, waitAndClickDisapprove, waitAndClickDisapproveByText, waitAndClickDocSearch, waitAndClickDocSearchTitle, waitAndClickEdit, waitAndClickKRAD, waitAndClickLibraryLink, waitAndClickLogout, waitAndClickLogout, waitAndClickMainMenu, waitAndClickRouteLogIcon, waitAndClickSave, waitAndClickSaveByText, waitAndClickSearch, waitAndClickSearch2, waitAndClickSearchByText, waitAndClickSearchSecond, waitAndClickSubmit, waitAndClickSubmitByText, waitAndClickXMLIngester, waitAndCreateNew, waitAndCreateNew, waitForAgendaDocId, waitForDocId, waitForDocIdKrad, waitForDocInitiator, waitForDocStatus, waitForSuccessfulSaveMessage, waitForSuccessfulSubmitMessage, waitForTitleToEqualKualiPortalIndex, waitForTitleToEqualKualiPortalIndex, waitForToolTipPresent, waitForToolTipTextPresent
acceptAlertIfPresent, afterClass, alertAccept, alertDismiss, areAllMultiValueSelectsChecked, areNoMultiValueSelectsChecked, assertAttributeClassRegexDoesntMatch, assertAttributeClassRegexMatches, assertElementPresentInResultPages, assertElementsPresentInResultPages, assertEmptyInputByName, assertFocusTypeBlurError, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertFocusTypeBlurValid, assertFocusTypeBlurValidation, assertFocusTypeTabError, assertJgrowlText, assertLabelFor, assertLabelWithTextPresent, assertMultiValueDeselectAllThisPage, assertMultiValueSelectAllThisPage, assertPopUpWindowUrl, assertTextPresent, assertTextPresent, assertTextPresent, assertTextPresentInResultPages, back, check, checkById, checkByName, checkByXpath, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, chromeDriverService, clearText, clearText, clearTextByName, clearTextByXpath, close, closeAllOtherWindows, closeAndQuitWebDriver, colapseExpandByXpath, determineImplicitWait, determineJgrowlHeader, determinePage, determineTestMethodName, determineUser, findButtonByText, findElements, findElements, findVisibleElements, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventById, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getBaseUrlString, getCssCount, getCssCount, getDateTimeStampFormatted, getDateToday, getDateTomorrow, getDescriptionBase, getDescriptionUnique, getDriver, getElementByAttribute, getElementByAttributeValue, getElementByDataAttribute, getElementByDataAttributeValue, getElementsByAttributeValue, getForLabelText, getNavigationUrl, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByClassName, getTextById, getTextByName, getTextByXpath, getTitle, getUserName, gotoIframeById, gotoIframeByXpath, gotoLightBox, gotoLightBoxIframe, howManyAreVisible, incidentReportMessage, isChecked, isCheckedById, isCheckedByName, isCheckedByXpath, isElementPresent, isElementPresent, isElementPresentByDataAttributeValue, isElementPresentById, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isEnabled, isEnabledById, isEnabledByName, isEnabledByXpath, isNextLinkEnabled, isNotVisible, isTextPresent, isTextPresent, isVisible, jGrowl, jGrowlSticky, login, multiValueResultCount, open, screenshot, select, selectByName, selectByXpath, selectChildWindow, selectParentWindow, selectTopFrame, selectWindow, setDriver, setTestMethodName, setUpSetUp, startSession, switchToWindow, tearDown, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickAllByName, waitAndClickButtonByExactText, waitAndClickButtonByExactText, waitAndClickButtonByText, waitAndClickButtonByText, waitAndClickButtonByText, waitAndClickButtonByText, waitAndClickById, waitAndClickById, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByValue, waitAndClickByXpath, waitAndClickByXpath, waitAndClickByXpath, waitAndClickByXpath, waitAndClickCancelSaveOnClose, waitAndClickConfirmBlanketApproveOk, waitAndClickConfirmCancelOk, waitAndClickConfirmSaveOnClose, waitAndClickConfirmSubmitOk, waitAndClickDropDown, waitAndClickLabeledLink, waitAndClickLabeledQuickFinder, waitAndClickLightBoxClose, waitAndClickLinkContainingText, waitAndClickLinkContainingText, waitAndClickReturnValue, waitAndClickReturnValue, waitAndClickSearch3, waitAndGetAttribute, waitAndGetAttributeByName, waitAndGetAttributeByXpath, waitAndGetElementByAttributeValue, waitAndGetElementsByAttributeValue, waitAndGetElementsFor, waitAndGetLabeledText, waitAndGetText, waitAndSelectBy, waitAndSelectByName, waitAndSelectLabeled, waitAndType, waitAndType, waitAndTypeById, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitAndTypeLabeledInput, waitAreAnyVisible, waitFor, waitFor, waitForElementNotPresent, waitForElementNotPresent, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForElementPresent, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentById, waitForElementPresentById, waitForElementPresentById, waitForElementPresentByName, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementPresentByXpath, waitForElementsPresentByClassName, waitForElementsPresentById, waitForElementsPresentByXpath, waitForElementVisible, waitForElementVisibleBy, waitForElementVisibleBy, waitForElementVisibleById, waitForIsTextPresent, waitForLabeledText, waitForPageToLoad, waitForProgress, waitForProgress, waitForProgressAddingLine, waitForProgressAddingLine, waitForProgressLoading, waitForProgressLoading, waitForProgressSaving, waitForProgressSaving, waitForTextNotPresent, waitForTextPresent, waitForTextPresent, waitForTextPresent, waitForTextPresent, waitIsVisible, waitIsVisible, waitIsVisible, waitIsVisibleByXpath, waitIsVisibleByXpath, waitNotVisible, waitNotVisible, waitNotVisibleByXpath, waitNotVisibleByXpath
assertButtonDisabledByText, assertButtonEnabledByText, assertDataTableContains, assertDataTableContains, assertElementPresent, assertElementPresent, assertElementPresent, assertElementPresentByLinkText, assertElementPresentByName, assertElementPresentByName, assertElementPresentByXpath, assertElementPresentByXpath, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertIsNotVisible, assertIsNotVisible, assertIsNotVisible, assertIsNotVisibleByXpath, assertIsNotVisibleByXpath, assertIsVisible, assertIsVisible, assertIsVisibleById, assertIsVisibleByXpath, assertLabeledInputTextPresent, assertLabeledTextNotPresent, assertLabeledTextPresent, assertLabeledTextPresent, assertResultCount, assertTextNotPresent, assertTextNotPresent, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTextPresent, assertTrue, assertTrue, fail, findDataTableRow, findDataTableRow, findElement, findElement, isLabeledInputTextPresent, isLabeledTextPresent, isPassed, isVisible, isVisible, isVisibleById, isVisibleByXpath, jiraAwareClearAndType, jiraAwareClearAndTypeByName, jiraAwareClearAndTypeByName, jiraAwareClearType, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareType, jiraAwareType, jiraAwareTypeByName, jiraAwareTypeByName, jiraAwareWaitAndClick, jiraAwareWaitAndClick, jiraAwareWaitAndClick, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFors, passed, selectOption, selectOptionByName, selectOptionByXpath, selectOptionText, waitAndType
enableBookmarkMode, enableNavigationMode, navigateInternal
public static final String BOOKMARK_URL
public DocumentOperationAft()
protected String getBookmarkUrl()
getBookmarkUrl
in class AutomatedFunctionalTestBase
protected void navigate() throws InterruptedException
navigate
in class WebDriverAftBase
InterruptedException
protected void testCreateDocument() throws Exception
Exception
protected void testDocumentOperation() throws Exception
Exception
protected void testDocumentOperationDisapprove() throws Exception
Exception
- if errors while disapproving a document on the document operation screenpublic void testDocumentOperationBookmark() throws Exception
Exception
public void testDocumentOperationNav() throws Exception
Exception
public void testDocumentOperationDisapproveBookmark() throws Exception
Exception
- if errors while disapproving a document in the document operation.public void testDocumentOperationDisapproveNav() throws Exception
Exception
- if errors while disapproving a document in the document operation.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.