public abstract class WebDriverLegacyITBase extends WebDriverAftBase
Old rice sampleapp AFT code. New KRAD sampleapp AFT code should go in WebDriverAftBase (or maybe KradAftBase in the future).
Originally used to upgrade UpgradedSeleniumITBase (Selenium 1.0) tests to WebDriver (Selenium 2.0). Now there is refactoring to be done:
#CONSTANT
.
Calls to passed() probably don't belong in the methods reused here.
Modifier and Type | Field and Description |
---|---|
static String |
ADMINISTRATION_LINK_TEXT
Deprecated.
Administration
|
static String |
AGENDA_LOOKUP_LINK_TEXT
Deprecated.
Agenda Lookup
|
static String |
BACKDOOR_ID_TEXT
Deprecated.
backdoorId
|
static String |
BACKDOOR_LOGIN_BUTTON_XPATH
Deprecated.
"//input[@title='Click to login.']"
|
static String |
BLANKET_APPROVE_NAME
Deprecated.
methodToCall.blanketApprove
|
static String |
CANCEL_NAME
Deprecated.
methodToCall.cancel
different cancel than CANCEL2_XPATH
|
static String |
CANCEL2_XPATH
Deprecated.
//a[contains(text(), 'ancel')]
Different cancel than CANCEL_NAME
|
static String |
CANCEL3_XPATH
Deprecated.
"//a[@title='cancel']"
|
static String |
CLOSE_WINDOW_XPATH_TITLE
Deprecated.
//*[@title='close this window']
|
static String |
COLLECTIONS_LINK_TEXT
Deprecated.
Collections
|
static String |
CONFIGURATION_VIEW_WINDOW_TITLE
Deprecated.
"Kuali :: Configuration Test View"
|
static String |
CONFIGURATION_VIEW_XPATH
Deprecated.
(//a[contains(text(),'Configuration Test View')])[3]
|
static String |
COPY_LINK_TEXT
Deprecated.
copy
|
static String |
CREATE_NEW_DOCUMENT_NOT_SUBMITTED_SUCCESSFULLY_MESSAGE_TEXT
Deprecated.
New Document not submitted successfully
|
static String |
CREATE_NEW_XPATH
Deprecated.
//img[@alt='create new']
|
static String |
CREATE_NEW_XPATH2
Deprecated.
//a[@title='Create a new record']
|
static String |
DATA_TABLE_TR_CSS
Deprecated.
div.dataTables_wrapper thead th
|
static String |
DIV_LEFT_ERRMSG
Deprecated.
//div[@class='left-errmsg-tab']/div/div
|
static String |
DOC_CODE_XPATH
Deprecated.
//input[@id='document.newMaintainableObject.code']
|
static String |
DOC_DESCRIPTION_XPATH
Deprecated.
//input[@id='document.documentHeader.documentDescription']
|
static String |
DOC_ID_KRAD_XPATH
Deprecated.
//div[@id='headerarea']/div/table/tbody/tr[1]/td[1]
|
static String |
DOC_ID_XPATH
Deprecated.
//div[@id='headerarea']/div/table/tbody/tr[1]/td[1]
|
static String |
DOC_ID_XPATH_2
Deprecated.
//table[@id='row']/tbody/tr[1]/td[1
|
static String |
DOC_ID_XPATH_3
Deprecated.
//table[@id='row']/tbody/tr[1]/td[1]/a
|
static String |
DOC_INITIATOR_XPATH
Deprecated.
//div[@id='headerarea']/div/table/tbody/tr[1]/td[1]
|
static String |
DOC_SEARCH_XPATH
Deprecated.
"//img[@alt='doc search']
|
static String |
DOC_SEARCH_XPATH_TITLE
Deprecated.
//a[@title='Document Search']
|
static String |
DOC_STATUS_ENROUTE
Deprecated.
ENROUTE
|
static String |
DOC_STATUS_FINAL
Deprecated.
FINAL
|
static String |
DOC_STATUS_SAVED
Deprecated.
SAVED
|
static String |
DOC_STATUS_XPATH
Deprecated.
//table[@class='headerinfo']//tr[1]/td[2]
|
static String |
DOC_STATUS_XPATH_2
Deprecated.
//table[@id='row']/tbody/tr[1]/td[4]
|
static String |
DOC_SUBMIT_SUCCESS_MSG_XPATH
Deprecated.
//div[contains(div,'Document was successfully submitted.')]
|
static String |
EDIT_LINK_TEXT
Deprecated.
edit
|
static String |
FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH
Deprecated.
//a[@title='FiscalOfficerInfo Maintenance (New)']
|
static String |
IFRAMEPORTLET_NAME
Deprecated.
iframeportlet
|
static String |
KITCHEN_SINK_XPATH
Deprecated.
(//a[contains(text(),'Uif Components (Kitchen Sink)')])[2]
|
static String |
KRAD_XPATH
Deprecated.
KRAD
|
static String |
KUALI_COLLECTION_TOTALLING_WINDOW_XPATH
Deprecated.
Kuali :: Collection Totaling
|
static String |
KUALI_COLLECTION_TOTALLING_XPATH
Deprecated.
//a[text()='Collection Totaling']
|
static String |
KUALI_UIF_COMPONENTS_WINDOW_XPATH
Deprecated.
Kuali :: Uif Components
|
static String |
KUALI_VIEW_WINDOW_TITLE
Deprecated.
"Kuali :: View Title"
|
static String |
LABEL_KUALI_DEFAULT
Deprecated.
KUALI : Default
|
static String |
LABEL_KUALI_KUALI_SYSTEMS
Deprecated.
KUALI - Kuali Systems
|
static String |
LOGOUT_XPATH
Deprecated.
//input[@name='imageField' and @value='Logout']
|
static String |
MAIN_MENU_LINK_TEXT
Deprecated.
Main Menu
|
protected String |
namespaceCode
Deprecated.
|
static String |
RICH_MESSAGES_WINDOW_TITLE
Deprecated.
Kuali :: Rich Messages
|
static String |
SAVE_SUCCESSFUL_XPATH
Deprecated.
//div[contains(div,'Document was successfully saved.')]
|
static String |
SAVE_XPATH
Deprecated.
//input[@name='methodToCall.save' and @alt='save']
|
static String |
SAVE_XPATH_2
Deprecated.
KIM Screens
//*[@name='methodToCall.save' and @alt='save']
|
static String |
SAVE_XPATH_3
Deprecated.
//input[@title='search' and @name='methodToCall.search']
|
static String |
SEARCH
Deprecated.
Search
|
static String |
SEARCH_SECOND
Deprecated.
(//input[@name='methodToCall.search'])[2]
|
static String |
SEARCH_XPATH
Deprecated.
//input[@name='methodToCall.search' and @value='search']
|
static String |
SEARCH_XPATH_2
Deprecated.
//input[@value='search']
|
static String |
SUBMIT_XPATH
Deprecated.
//input[@name='methodToCall.route' and @alt='submit']
|
static String |
TRAVEL_ACCOUNT_LOOKUP_LINK_TEXT
Deprecated.
Travel Account Lookup
|
static String |
UIF_COMPONENTS_KITCHEN_SINK_LINK_TEXT
Deprecated.
Uif Components (Kitchen Sink)
|
protected String |
uiFramework
Deprecated.
|
protected String |
uniqueString
Deprecated.
|
static String |
VALIDATION_FRAMEWORK_DEMO_XPATH
Deprecated.
(//a[contains(text(),'Validation Framework Demo')])[2]
|
static String |
XML_INGESTER_LINK_TEXT
Deprecated.
XML Ingester
|
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, user, waitSeconds, webDriverScreenshotHelper
shouldNavigate, testUrl
Constructor and Description |
---|
WebDriverLegacyITBase()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
acceptAlert()
Deprecated.
|
protected void |
addAdHocRecipientsGroup(String[] adHocRecipients)
Deprecated.
|
protected void |
addAdHocRecipientsGroup(String[][] adHocRecipients)
Deprecated.
|
protected void |
addAdHocRecipientsPerson(String[] adHocRecipients)
Deprecated.
|
protected void |
addAdHocRecipientsPerson(String[][] adHocRecipients)
Deprecated.
|
protected void |
agendaLookupAssertions()
Deprecated.
|
protected void |
assertActionList(String docId,
String actionListOptionValue,
String state)
Deprecated.
|
protected void |
assertBlanketApproveButtonsPresent()
Deprecated.
|
protected void |
assertDocFinal(String docId)
Deprecated.
|
protected void |
assertDocSearch(String docId,
String docStatus)
Deprecated.
|
protected void |
assertDocSearchNoResults(String docId)
Deprecated.
|
protected void |
assertNotInActionList(String docId)
Deprecated.
|
protected void |
assertOutbox(String docId,
String state)
Deprecated.
|
protected void |
assertTableLayout()
Deprecated.
|
protected void |
blanketApproveCheck()
Deprecated.
|
protected void |
blanketApproveTest(String docId)
Deprecated.
Tests blanket approve action.
|
void |
checkForDocError()
Deprecated.
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected String |
configNameSpaceBlanketApprove()
Deprecated.
|
protected void |
contextLookupAssertions()
Deprecated.
|
protected void |
createNewEnterDetails()
Deprecated.
|
protected void |
expandColapseByXpath(String clickLocator,
String visibleLocator)
Deprecated.
|
protected String |
extractErrorText()
Deprecated.
|
protected void |
failOnErrorMessageItem()
Deprecated.
|
protected void |
failOnErrorMessageItem(String message)
Deprecated.
|
protected void |
finishBlanketApprovalTest(String docId)
Deprecated.
|
protected String |
getDescriptionBase()
Deprecated.
|
protected String |
getDescriptionUnique()
Deprecated.
|
protected String |
getDocStatus()
Deprecated.
|
protected String |
getTestUrl()
Deprecated.
// https://jira.kuali.org/browse/KULRICE-9804 KNS Create new link absent when Bookmark URL requires Login
|
String |
getUiFramework()
Deprecated.
Determines whether KRAD or KNS UIF is used for this test.
|
protected void |
gotoNestedFrame()
Deprecated.
Handles simple nested frame content; validates that a frame and nested frame exists before
switching to it.
|
boolean |
hasDocError()
Deprecated.
Uses Selenium's findElements method which does not throw a test exception if not found.
|
boolean |
hasDocError(String errorTextToMatch)
Deprecated.
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected void |
impersonateUser(String user)
Deprecated.
|
protected boolean |
isKrad()
Deprecated.
Does the test page use KRAD UIF?
Useful if trying to re-use a test for both a KNS and KRAD screens that have different paths to the elements.
|
protected void |
logout()
Deprecated.
|
protected boolean |
noAffilication()
Deprecated.
|
protected void |
performParameterInquiry(String parameterField)
Deprecated.
|
void |
pressEnter(org.openqa.selenium.By by)
Deprecated.
presses Enter Key
|
void |
pressEnterByName(String locator)
Deprecated.
presses Enter Key by Name
|
void |
pressEnterByXpath(String locator)
Deprecated.
presses Enter Key by Xpath
|
protected void |
selectFrame(String locator)
Deprecated.
|
protected void |
selectFrameIframePortlet()
Deprecated.
|
void |
setUiFramework(String uiFramework)
Deprecated.
Sets which UIF is used by this test
|
protected void |
testAddingBrownGroup()
Deprecated.
|
protected void |
testAddingNamespace()
Deprecated.
|
protected void |
testAddingNamespace(JiraAwareFailable failable)
Deprecated.
|
protected void |
testAttributeDefinitionLookUp()
Deprecated.
|
protected void |
testCancelConfirmation()
Deprecated.
|
protected void |
testCategoryLookUp()
Deprecated.
|
protected void |
testConfigParamaterBlanketApprove()
Deprecated.
|
protected void |
testConfigurationTestView(String idPrefix)
Deprecated.
|
protected void |
testCopyComponent(String docId,
String componentName,
String componentCode)
Deprecated.
|
protected List<String> |
testCopyParameter(String docId,
String parameterName)
Deprecated.
|
protected List<String> |
testCopyParameterType(String docId,
String parameterType,
String parameterCode)
Deprecated.
|
protected void |
testCreateDocType()
Deprecated.
|
protected String |
testCreateNew()
Deprecated.
|
protected void |
testCreateNewAgenda()
Deprecated.
|
protected void |
testCreateNewCancel()
Deprecated.
|
protected List<String> |
testCreateNewParameter(String docId,
String parameterName)
Deprecated.
|
protected List<String> |
testCreateNewParameterType(String docId,
String parameterType,
String parameterCode)
Deprecated.
|
protected List<String> |
testCreateNewPermission(String docId,
String permissionName)
Deprecated.
|
protected List<String> |
testCreateNewPerson(String docId,
String personName)
Deprecated.
|
protected void |
testCreateNewRRDTravelRequestDestRouting()
Deprecated.
|
protected void |
testCreateNewSearchReturnValueCancelConfirmation()
Deprecated.
|
protected void |
testCreateSampleEDocLite()
Deprecated.
|
protected void |
testDisplayOnlyExternalHelp2()
Deprecated.
Test the external help on the sub-section and display only fields
|
protected void |
testDocTypeLookup()
Deprecated.
|
protected void |
testEditComponent(String docId,
String componentName,
String componentCode)
Deprecated.
|
protected List<String> |
testEditParameter(String docId,
String parameterName)
Deprecated.
|
protected List<String> |
testEditParameterType(String docId,
String parameterType,
String parameterCode)
Deprecated.
|
protected List<String> |
testEditPermission(String docId,
String permissionName)
Deprecated.
|
protected void |
testEditRouteRulesDelegation()
Deprecated.
|
protected void |
testExternalHelp2()
Deprecated.
Test the external help on the section and fields
|
protected void |
testFiscalOfficerInfoMaintenanceNew()
Deprecated.
|
protected void |
testIdentityGroupBlanketApprove()
Deprecated.
|
protected void |
testIdentityPermissionBlanketApprove()
Deprecated.
|
protected void |
testIdentityPersonBlanketApprove()
Deprecated.
|
protected void |
testIdentityResponsibilityBlanketApprove()
Deprecated.
|
protected void |
testIdentityRoleBlanketApprove()
Deprecated.
|
protected void |
testLocationCountryBlanketApprove()
Deprecated.
|
protected void |
testLocationCountyBlanketApprove()
Deprecated.
|
protected void |
testLocationPostBlanketApprove()
Deprecated.
|
protected void |
testLocationStateBlanketApprove()
Deprecated.
|
protected void |
testLookUp()
Deprecated.
|
protected void |
testLookUpComponent(String docId,
String componentName,
String componentCode)
Deprecated.
|
protected List<String> |
testLookUpParameter(String docId,
String parameterName)
Deprecated.
|
protected List<String> |
testLookUpParameterType(String docId,
String parameterType,
String parameterCode)
Deprecated.
|
protected List<String> |
testLookUpPermission(String docId,
String permissionName)
Deprecated.
|
protected List<String> |
testLookUpPerson(String docId,
String personName)
Deprecated.
|
protected void |
testMissingExternalHelp2()
Deprecated.
Test the external help on the section and fields with missing help URL
|
protected void |
testMultiValueSelectAllPages()
Deprecated.
|
protected void |
testMultiValueSelectAllThisPage()
Deprecated.
|
protected void |
testReferenceCampusTypeBlanketApprove()
Deprecated.
|
protected void |
testSearchEditCancel()
Deprecated.
|
protected void |
testServerErrorsIT()
Deprecated.
|
protected void |
testServerInfoIT()
Deprecated.
|
protected void |
testServerWarningsIT()
Deprecated.
|
void |
testSetUp()
Deprecated.
Failures in testSetup cause the test to not be recorded.
|
protected void |
testTermLookUp()
Deprecated.
|
protected void |
testTermLookupAssertions()
Deprecated.
|
protected void |
testTermSpecificationLookupAssertions()
Deprecated.
|
protected void |
testVerifyAddDeleteFiscalOfficerLegacy()
Deprecated.
|
protected void |
testVerifyAddDeleteNoteLegacy()
Deprecated.
|
protected void |
testVerifyAdHocRecipientsLegacy()
Deprecated.
|
protected void |
testVerifyButtonsLegacy()
Deprecated.
|
protected void |
testVerifyConstraintText()
Deprecated.
|
protected void |
testVerifyCopyComponent(String docId,
String componentName,
String componentCode)
Deprecated.
|
protected List<String> |
testVerifyCopyParameterType(String docId,
String parameterType,
String parameterCode)
Deprecated.
|
protected void |
testVerifyDisclosures()
Deprecated.
|
protected void |
testVerifyDocumentOverviewLegacy()
Deprecated.
|
protected void |
testVerifyEditedComponent(String docId,
String componentName,
String componentCode)
Deprecated.
|
protected void |
testVerifyExpandCollapse()
Deprecated.
|
protected void |
testVerifyFieldsLegacy()
Deprecated.
|
protected void |
testVerifyHeaderFieldsLegacy()
Deprecated.
|
protected void |
testVerifyLookupAddMultipleLinesLegacy()
Deprecated.
|
protected List<String> |
testVerifyModifiedParameter(String docId,
String parameterName)
Deprecated.
|
protected void |
testVerifyNotesAndAttachments()
Deprecated.
|
protected List<String> |
testVerifyPermission(String docId,
String permissionName)
Deprecated.
|
protected List<String> |
testVerifyPerson(String docId,
String personName)
Deprecated.
|
protected void |
testVerifyQuickfinderIconsLegacy()
Deprecated.
|
protected void |
testVerifyRouteLog()
Deprecated.
|
protected void |
testVerifySave()
Deprecated.
|
protected void |
testVerifySubsidizedPercentWatermarkLegacy()
Deprecated.
|
protected void |
testViewHelp2()
Deprecated.
Test the tooltip and external help on the view
|
protected void |
testWorkFlowDocTypeBlanketApprove()
Deprecated.
|
protected void |
testWorkFlowRouteRulesCreateNew()
Deprecated.
|
protected void |
testWorkFlowRouteRulesEditRouteRules()
Deprecated.
tests that a Routing Rule maintenance document is created for an edit operation originating
from a lookup screen
|
protected void |
typeEnter()
Deprecated.
|
protected void |
typeTab()
Deprecated.
|
protected void |
uncheck(org.openqa.selenium.By by)
Deprecated.
|
protected void |
uncheckByName(String name)
Deprecated.
|
protected void |
uncheckByXpath(String locator)
Deprecated.
|
protected void |
verifyRichMessagesValidationAdvancedFunctionality()
Deprecated.
|
protected void |
verifyRichMessagesValidationBasicFunctionality()
Deprecated.
|
protected void |
verifyRichMessagesValidationLettersNumbersValidation()
Deprecated.
|
protected void |
verifyRichMessagesValidationLinkDeclarationsFunctionality()
Deprecated.
|
protected void |
verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality()
Deprecated.
|
protected void |
waitAndCancelConfirmation()
Deprecated.
|
protected void |
waitAndClickActionList()
Deprecated.
|
protected void |
waitAndClickAdHocGroupAdd()
Deprecated.
|
protected void |
waitAndClickAdHocPersonAdd()
Deprecated.
|
protected void |
waitAndClickAdministration()
Deprecated.
|
protected void |
waitAndClickBlanketApprove()
Deprecated.
|
protected void |
waitAndClickCancel()
Deprecated.
|
protected void |
waitAndClickCancelByText()
Deprecated.
|
protected void |
waitAndClickCloseWindow()
Deprecated.
|
protected void |
waitAndClickConfirmationOk()
Deprecated.
|
protected void |
waitAndClickConfirmBlanketApproveOk()
Deprecated.
|
protected void |
waitAndClickCopy()
Deprecated.
|
protected void |
waitAndClickCreateNew()
Deprecated.
|
protected void |
waitAndClickCreateNew(String message)
Deprecated.
|
protected void |
waitAndClickDocSearch()
Deprecated.
{}@link #DOC_SEARCH_XPATH}
|
protected void |
waitAndClickDocSearchTitle()
Deprecated.
|
protected void |
waitAndClickEdit()
Deprecated.
|
protected void |
waitAndClickKRAD()
Deprecated.
|
protected void |
waitAndClickLogout()
Deprecated.
|
protected void |
waitAndClickLogout(JiraAwareFailable failable)
Deprecated.
|
protected void |
waitAndClickMainMenu()
Deprecated.
|
protected void |
waitAndClickSave()
Deprecated.
|
protected void |
waitAndClickSaveByText()
Deprecated.
|
protected void |
waitAndClickSearch()
Deprecated.
|
protected void |
waitAndClickSearch2()
Deprecated.
|
protected void |
waitAndClickSearchByText()
Deprecated.
|
protected void |
waitAndClickSearchSecond()
Deprecated.
|
protected void |
waitAndClickSubmit()
Deprecated.
|
protected void |
waitAndClickSubmitByText()
Deprecated.
|
protected void |
waitAndClickXMLIngester(JiraAwareFailable failable)
Deprecated.
|
protected void |
waitAndCreateNew()
Deprecated.
|
protected void |
waitAndCreateNew(String message)
Deprecated.
|
protected String |
waitForAgendaDocId()
Deprecated.
|
protected String |
waitForDocId()
Deprecated.
|
protected String |
waitForDocIdKrad()
Deprecated.
|
protected String |
waitForDocInitiator()
Deprecated.
|
protected String |
waitForDocStatus()
Deprecated.
|
protected void |
waitForTitleToEqualKualiPortalIndex()
Deprecated.
|
protected void |
waitForTitleToEqualKualiPortalIndex(String message)
Deprecated.
|
protected org.openqa.selenium.WebElement |
waitForToolTipPresent()
Deprecated.
|
protected void |
waitForToolTipTextPresent(String tooltipText)
Deprecated.
|
acceptAlertIfPresent, alertAccept, alertDismiss, areAllMultiValueSelectsChecked, areNoMultiValueSelectsChecked, assertAttributeClassRegexDoesntMatch, assertAttributeClassRegexMatches, assertElementPresentInResultPages, assertElementsPresentInResultPages, assertEmptyInputByName, assertFocusTypeBlurError, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertFocusTypeBlurValid, assertFocusTypeBlurValidation, assertFocusTypeTabError, assertJgrowlText, assertLabelFor, assertLabelWithTextPresent, assertMultiValueDeselectAllThisPage, assertMultiValueSelectAllThisPage, assertPopUpWindowUrl, assertTextPresent, assertTextPresent, back, check, checkById, checkByName, checkByXpath, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, chromeDriverService, clearText, clearText, clearTextByName, clearTextByXpath, close, closeAndQuitWebDriver, colapseExpandByXpath, determineImplicitWait, determineJgrowlHeader, determineTestMethodName, determineUser, findButtonByText, findElements, findElements, findVisibleElements, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventById, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getBaseUrlString, getCssCount, getCssCount, getDateTimeStampFormatted, getDateToday, getDateTomorrow, getDriver, getElementByAttribute, getElementByAttributeValue, getElementByDataAttribute, getElementByDataAttributeValue, getElementsByAttributeValue, getForLabelText, getNavigationUrl, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByClassName, getTextById, getTextByName, getTextByXpath, getTitle, getUserName, gotoIframeById, gotoIframeByXpath, gotoLightBox, howManyAreVisible, incidentReportMessage, isChecked, isCheckedById, isCheckedByName, isCheckedByXpath, isElementPresent, isElementPresent, isElementPresentByDataAttributeValue, isElementPresentById, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isEnabled, isEnabledById, isEnabledByName, isEnabledByXpath, isNextLinkEnabled, isNotVisible, isTextPresent, isVisible, jGrowl, jGrowlSticky, login, multiValueResultCount, navigate, open, screenshot, select, selectByName, selectByXpath, selectChildWindow, selectParentWindow, selectTopFrame, selectWindow, startSession, switchToWindow, tearDown, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickAllByName, waitAndClickButtonByExactText, waitAndClickButtonByExactText, waitAndClickButtonByText, waitAndClickButtonByText, waitAndClickById, waitAndClickById, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByValue, waitAndClickByXpath, waitAndClickByXpath, waitAndClickByXpath, waitAndClickDropDown, waitAndClickLabeledLink, waitAndClickLinkContainingText, waitAndClickLinkContainingText, waitAndClickReturnValue, waitAndClickReturnValue, waitAndClickSearch3, waitAndGetAttribute, waitAndGetAttributeByName, waitAndGetAttributeByXpath, waitAndGetElementByAttributeValue, waitAndGetElementsByAttributeValue, waitAndGetText, waitAndSelectByName, waitAndType, waitAndType, waitAndTypeById, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitAreAnyVisible, waitFor, waitFor, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForElementPresent, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentById, waitForElementPresentById, waitForElementPresentById, waitForElementPresentByName, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementPresentByXpath, waitForElementsPresentByClassName, waitForElementsPresentById, waitForElementsPresentByXpath, waitForElementVisible, waitForElementVisibleBy, waitForElementVisibleById, waitForIsTextPresent, waitForPageToLoad, waitForTextNotPresent, 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, assertLabeledTextNotPresent, assertLabeledTextPresent, assertLabeledTextPresent, assertResultCount, assertTextNotPresent, assertTextNotPresent, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTextPresent, assertTrue, assertTrue, fail, findDataTableRow, findDataTableRow, findElement, findElement, isLabeledTextPresent, isPassed, isVisible, isVisible, isVisibleById, isVisibleByXpath, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareType, jiraAwareType, jiraAwareTypeByName, jiraAwareTypeByName, jiraAwareWaitAndClick, jiraAwareWaitAndClick, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFors, passed, selectOption, selectOptionByName, selectOptionByXpath, waitAndType
enableBookmarkMode, enableNavigationMode, getBookmarkUrl, navigateInternal
public static final String ADMINISTRATION_LINK_TEXT
public static final String AGENDA_LOOKUP_LINK_TEXT
public static final String BACKDOOR_ID_TEXT
public static final String BACKDOOR_LOGIN_BUTTON_XPATH
public static final String BLANKET_APPROVE_NAME
public static final String CANCEL_NAME
public static final String CANCEL2_XPATH
public static final String CANCEL3_XPATH
public static final String CLOSE_WINDOW_XPATH_TITLE
public static final String COLLECTIONS_LINK_TEXT
public static final String CONFIGURATION_VIEW_WINDOW_TITLE
public static final String CONFIGURATION_VIEW_XPATH
public static final String COPY_LINK_TEXT
public static final String CREATE_NEW_DOCUMENT_NOT_SUBMITTED_SUCCESSFULLY_MESSAGE_TEXT
public static final String CREATE_NEW_XPATH
public static final String CREATE_NEW_XPATH2
public static final String DATA_TABLE_TR_CSS
public static final String DIV_LEFT_ERRMSG
public static final String DOC_CODE_XPATH
public static final String DOC_ID_XPATH
public static final String DOC_ID_KRAD_XPATH
public static final String DOC_ID_XPATH_2
public static final String DOC_ID_XPATH_3
public static final String DOC_DESCRIPTION_XPATH
public static final String DOC_INITIATOR_XPATH
public static final String DOC_SEARCH_XPATH
public static final String DOC_SEARCH_XPATH_TITLE
public static final String DOC_STATUS_ENROUTE
public static final String DOC_STATUS_FINAL
public static final String DOC_STATUS_SAVED
public static final String DOC_STATUS_XPATH
public static final String DOC_STATUS_XPATH_2
public static final String DOC_SUBMIT_SUCCESS_MSG_XPATH
public static final String EDIT_LINK_TEXT
public static final String IFRAMEPORTLET_NAME
public static final String KITCHEN_SINK_XPATH
public static final String KRAD_XPATH
public static final String KUALI_COLLECTION_TOTALLING_WINDOW_XPATH
public static final String KUALI_COLLECTION_TOTALLING_XPATH
public static final String KUALI_UIF_COMPONENTS_WINDOW_XPATH
public static final String KUALI_VIEW_WINDOW_TITLE
public static final String LABEL_KUALI_KUALI_SYSTEMS
public static final String LABEL_KUALI_DEFAULT
public static final String LOGOUT_XPATH
public static final String MAIN_MENU_LINK_TEXT
public static final String RICH_MESSAGES_WINDOW_TITLE
public static final String SAVE_SUCCESSFUL_XPATH
public static final String SAVE_XPATH
public static final String SAVE_XPATH_2
public static final String SAVE_XPATH_3
public static final String SEARCH
public static final String SEARCH_XPATH
public static final String SEARCH_XPATH_2
public static final String SEARCH_SECOND
public static final String SUBMIT_XPATH
public static final String TRAVEL_ACCOUNT_LOOKUP_LINK_TEXT
public static final String UIF_COMPONENTS_KITCHEN_SINK_LINK_TEXT
public static final String VALIDATION_FRAMEWORK_DEMO_XPATH
public static final String XML_INGESTER_LINK_TEXT
public static final String FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH
protected String namespaceCode
protected String uiFramework
protected String uniqueString
public WebDriverLegacyITBase()
public void testSetUp()
WebDriverUtils.determineUser(String)
WebDriverUtils.setUp(String, String, String, String)
testSetUp
in class WebDriverAftBase
protected String getTestUrl()
getTestUrl
in class AutomatedFunctionalTestBase
protected void impersonateUser(String user) throws InterruptedException
InterruptedException
protected void addAdHocRecipientsGroup(String[] adHocRecipients) throws InterruptedException
InterruptedException
protected void addAdHocRecipientsGroup(String[][] adHocRecipients) throws InterruptedException
InterruptedException
protected void addAdHocRecipientsPerson(String[] adHocRecipients) throws InterruptedException
adHocRecipients
- user, action option valueInterruptedException
protected void addAdHocRecipientsPerson(String[][] adHocRecipients) throws InterruptedException
adHocRecipients
- user, action option valueInterruptedException
protected void agendaLookupAssertions() throws Exception
Exception
protected void assertActionList(String docId, String actionListOptionValue, String state) throws InterruptedException
InterruptedException
protected void assertNotInActionList(String docId) throws InterruptedException
InterruptedException
protected void assertOutbox(String docId, String state) throws InterruptedException
InterruptedException
protected void assertBlanketApproveButtonsPresent()
protected void assertDocFinal(String docId) throws InterruptedException
InterruptedException
protected void assertDocSearch(String docId, String docStatus) throws InterruptedException
InterruptedException
protected void assertDocSearchNoResults(String docId) throws InterruptedException
InterruptedException
protected void assertTableLayout() throws Exception
Exception
protected void blanketApproveCheck() throws InterruptedException
InterruptedException
protected void blanketApproveTest(String docId) throws InterruptedException
InterruptedException
protected void failOnErrorMessageItem()
protected void failOnErrorMessageItem(String message)
public void checkForDocError()
protected String extractErrorText()
public boolean hasDocError()
public boolean hasDocError(String errorTextToMatch)
errorTextToMatch
- protected String configNameSpaceBlanketApprove() throws Exception
Exception
protected void contextLookupAssertions() throws Exception
Exception
protected void expandColapseByXpath(String clickLocator, String visibleLocator) throws InterruptedException
InterruptedException
protected String getDescriptionBase()
protected String getDescriptionUnique()
protected String getDocStatus()
protected void gotoNestedFrame()
Handles simple nested frame content; validates that a frame and nested frame exists before switching to it.
Uses Selenium's findElements method which does not throw a test exception if not found.
protected void logout() throws InterruptedException
logout
in class WebDriverAftBase
InterruptedException
protected boolean noAffilication()
protected void selectFrameIframePortlet()
protected void selectFrame(String locator)
protected void testAddingNamespace() throws Exception
Exception
protected void testAddingNamespace(JiraAwareFailable failable) throws Exception
Exception
protected void testAddingBrownGroup() throws Exception
Exception
protected void testAttributeDefinitionLookUp() throws Exception
Exception
protected void testCancelConfirmation() throws InterruptedException
InterruptedException
protected void testConfigParamaterBlanketApprove() throws Exception
Exception
protected void testCreateNewAgenda() throws Exception
Exception
protected void testCreateDocType() throws Exception
Exception
protected String testCreateNew() throws InterruptedException
InterruptedException
protected void testCreateNewCancel() throws Exception
Exception
protected List<String> testCreateNewParameter(String docId, String parameterName) throws Exception
Exception
protected List<String> testCreateNewParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected void testCreateNewSearchReturnValueCancelConfirmation() throws InterruptedException, Exception
InterruptedException
Exception
protected List<String> testCopyParameter(String docId, String parameterName) throws Exception
Exception
protected List<String> testCopyParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected void testDocTypeLookup() throws Exception
Exception
protected List<String> testEditParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected List<String> testEditParameter(String docId, String parameterName) throws Exception
Exception
protected void testEditRouteRulesDelegation() throws Exception
Exception
protected void testFiscalOfficerInfoMaintenanceNew() throws Exception
Exception
protected void testIdentityGroupBlanketApprove() throws Exception
Exception
protected void testIdentityPermissionBlanketApprove() throws Exception
Exception
protected void testIdentityPersonBlanketApprove() throws Exception
Exception
protected void testIdentityResponsibilityBlanketApprove() throws Exception
Exception
protected void testIdentityRoleBlanketApprove() throws Exception
Exception
protected void testLocationCountryBlanketApprove() throws InterruptedException
InterruptedException
protected void finishBlanketApprovalTest(String docId) throws InterruptedException
InterruptedException
protected void testLocationCountyBlanketApprove() throws Exception
Exception
protected void testLocationPostBlanketApprove() throws Exception
Exception
protected void testLocationStateBlanketApprove() throws Exception
Exception
protected void testLookUp() throws Exception
Exception
protected void testReferenceCampusTypeBlanketApprove() throws Exception
Exception
protected void performParameterInquiry(String parameterField) throws Exception
Exception
protected List<String> testLookUpParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected List<String> testLookUpParameter(String docId, String parameterName) throws Exception
Exception
protected void testTermLookupAssertions() throws Exception
Exception
protected void testTermSpecificationLookupAssertions() throws Exception
Exception
protected List<String> testVerifyModifiedParameter(String docId, String parameterName) throws Exception
Exception
protected List<String> testVerifyCopyParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected List<String> testCreateNewPermission(String docId, String permissionName) throws Exception
Exception
protected List<String> testLookUpPermission(String docId, String permissionName) throws Exception
Exception
protected List<String> testEditPermission(String docId, String permissionName) throws Exception
Exception
protected List<String> testVerifyPermission(String docId, String permissionName) throws Exception
Exception
protected List<String> testCreateNewPerson(String docId, String personName) throws Exception
Exception
protected List<String> testLookUpPerson(String docId, String personName) throws Exception
Exception
protected List<String> testVerifyPerson(String docId, String personName) throws Exception
Exception
protected void testConfigurationTestView(String idPrefix) throws Exception
Exception
protected void testCategoryLookUp() throws Exception
Exception
protected void testCreateSampleEDocLite() throws Exception
Exception
protected void testTermLookUp() throws Exception
Exception
protected void testCreateNewRRDTravelRequestDestRouting() throws Exception
Exception
protected void testWorkFlowRouteRulesCreateNew() throws Exception
Exception
protected void testWorkFlowRouteRulesEditRouteRules() throws Exception
Exception
protected void createNewEnterDetails() throws InterruptedException
InterruptedException
protected void waitAndClickActionList() throws InterruptedException
InterruptedException
protected void testLookUpComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testEditComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testCopyComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testVerifyCopyComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testMultiValueSelectAllPages() throws InterruptedException
InterruptedException
protected void acceptAlert()
protected void testMultiValueSelectAllThisPage() throws InterruptedException
InterruptedException
protected void testExternalHelp2() throws Exception
Exception
protected void testDisplayOnlyExternalHelp2() throws Exception
Exception
protected void testMissingExternalHelp2() throws Exception
Exception
protected void testSearchEditCancel() throws InterruptedException
InterruptedException
protected void testServerErrorsIT() throws Exception
Exception
protected void testServerInfoIT() throws Exception
Exception
protected void testServerWarningsIT() throws Exception
Exception
protected void testViewHelp2() throws Exception
Exception
protected void testVerifyAddDeleteFiscalOfficerLegacy() throws Exception
Exception
protected void testVerifyAddDeleteNoteLegacy() throws Exception
Exception
protected void testVerifyAdHocRecipientsLegacy() throws Exception
Exception
protected void testVerifyButtonsLegacy() throws Exception
Exception
protected void testVerifyConstraintText() throws Exception
Exception
protected void testVerifyEditedComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testVerifyDisclosures() throws Exception
Exception
protected void testVerifyDocumentOverviewLegacy() throws Exception
Exception
protected void testVerifyExpandCollapse() throws Exception
Exception
protected void testVerifyFieldsLegacy() throws Exception
Exception
protected void testVerifyHeaderFieldsLegacy() throws Exception
Exception
protected void testVerifyLookupAddMultipleLinesLegacy() throws Exception
Exception
protected void testVerifyNotesAndAttachments() throws Exception
Exception
protected void testVerifyQuickfinderIconsLegacy() throws Exception
Exception
protected void testVerifyRouteLog() throws Exception
Exception
protected void testVerifySave() throws Exception
Exception
protected void testVerifySubsidizedPercentWatermarkLegacy() throws Exception
Exception
protected void testWorkFlowDocTypeBlanketApprove() throws Exception
Exception
protected void typeEnter()
protected void typeTab()
protected void uncheck(org.openqa.selenium.By by) throws InterruptedException
uncheck
in class WebDriverAftBase
InterruptedException
protected void uncheckByName(String name) throws InterruptedException
uncheckByName
in class WebDriverAftBase
InterruptedException
protected void uncheckByXpath(String locator) throws InterruptedException
uncheckByXpath
in class WebDriverAftBase
InterruptedException
protected void verifyRichMessagesValidationBasicFunctionality() throws Exception
Exception
protected void verifyRichMessagesValidationAdvancedFunctionality() throws Exception
Exception
protected void verifyRichMessagesValidationLettersNumbersValidation() throws Exception
Exception
protected void verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality() throws Exception
Exception
protected void verifyRichMessagesValidationLinkDeclarationsFunctionality() throws Exception
Exception
protected void waitAndClickConfirmationOk() throws InterruptedException
InterruptedException
protected void waitAndClickConfirmBlanketApproveOk() throws InterruptedException
InterruptedException
protected void waitAndClickAdministration() throws InterruptedException
InterruptedException
protected void waitAndCancelConfirmation() throws InterruptedException
InterruptedException
protected void waitAndClickAdHocPersonAdd() throws InterruptedException
InterruptedException
protected void waitAndClickAdHocGroupAdd() throws InterruptedException
InterruptedException
protected void waitAndClickBlanketApprove() throws InterruptedException
InterruptedException
protected void waitAndClickCancel() throws InterruptedException
InterruptedException
protected void waitAndClickCancelByText() throws InterruptedException
InterruptedException
protected void waitAndClickCloseWindow() throws InterruptedException
InterruptedException
protected void waitAndClickCopy() throws InterruptedException
InterruptedException
protected void waitAndClickDocSearch() throws InterruptedException
InterruptedException
protected void waitAndClickDocSearchTitle() throws InterruptedException
InterruptedException
protected void waitAndClickLogout() throws InterruptedException
InterruptedException
protected void waitAndClickLogout(JiraAwareFailable failable) throws InterruptedException
failable
- InterruptedException
protected void waitAndClickMainMenu() throws InterruptedException
InterruptedException
protected void waitAndClickSave() throws InterruptedException
InterruptedException
protected void waitAndClickSaveByText() throws InterruptedException
InterruptedException
protected void waitAndClickSubmit() throws InterruptedException
InterruptedException
protected void waitAndClickSubmitByText() throws InterruptedException
InterruptedException
protected void waitAndClickXMLIngester(JiraAwareFailable failable) throws InterruptedException
failable
- InterruptedException
protected void waitAndCreateNew() throws InterruptedException
InterruptedException
protected void waitAndCreateNew(String message) throws InterruptedException
InterruptedException
protected void waitAndClickCreateNew() throws InterruptedException
InterruptedException
protected void waitAndClickCreateNew(String message) throws InterruptedException
InterruptedException
protected void waitAndClickEdit() throws InterruptedException
InterruptedException
protected void waitAndClickSearch() throws InterruptedException
InterruptedException
protected void waitAndClickSearch2() throws InterruptedException
InterruptedException
protected void waitAndClickSearchSecond() throws InterruptedException
InterruptedException
protected void waitAndClickSearchByText() throws InterruptedException
InterruptedException
protected String waitForAgendaDocId() throws InterruptedException
InterruptedException
protected String waitForDocId() throws InterruptedException
InterruptedException
protected String waitForDocIdKrad() throws InterruptedException
InterruptedException
protected String waitForDocInitiator() throws InterruptedException
InterruptedException
protected String waitForDocStatus() throws InterruptedException
InterruptedException
protected void waitForTitleToEqualKualiPortalIndex() throws InterruptedException
InterruptedException
protected void waitForToolTipTextPresent(String tooltipText) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForToolTipPresent() throws InterruptedException
InterruptedException
protected void waitForTitleToEqualKualiPortalIndex(String message) throws InterruptedException
InterruptedException
protected void waitAndClickKRAD() throws InterruptedException
InterruptedException
protected boolean isKrad()
public String getUiFramework()
public void setUiFramework(String uiFramework)
public void pressEnterByName(String locator)
public void pressEnterByXpath(String locator)
public void pressEnter(org.openqa.selenium.By by)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.